-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to perform K8s v1.16 server-side apply #2267
Comments
Hey there, |
I'd love to see Argo CD support server-side apply. We have a use case I don't see discussed much. We leverage mutating webhooks to provide lots of valuable default configuration for our Kubernetes users. An issue with this is that when running Our users primarily interact with Kubernetes through ArgoCD. Without Argo CD supporting server-side apply, there is no way apply these mutations unless the resource actually has some new desired state. |
@jessesuen this has recently become very relevant due to kube prometheus stack having too large CRDs for the last-applied-configuration field. We can currently not update kube prometheus stack with argocd because of this. This would be fixed with server-side apply iirc. See: prometheus-community/helm-charts#1500 |
server-side apply hit GA with 1.22, it would be neat that Argo CD embraces it like Flux did. Having to add manually an annotation on one of the helm chart's CRD is really painful |
Circling back on this as this has come up again from our end users. Any update? |
See argoproj/argo-cd#2267 Signed-off-by: Mathieu Parent <[email protected]>
Proposal: argoproj/gitops-engine#363 ArgoCD PR: #8123 (CI broken until gitops-engine PR is merged). |
Fixes: argoproj#2267 Requires: argoproj/gitops-engine#363 Signed-off-by: Mathieu Parent <[email protected]>
See argoproj/argo-cd#2267 Signed-off-by: Mathieu Parent <[email protected]>
For reference, this is the proposal for implementing SSA in ArgoCD: |
See argoproj/argo-cd#2267 Signed-off-by: Mathieu Parent <[email protected]>
See argoproj/argo-cd#2267 Signed-off-by: Mathieu Parent <[email protected]>
Kubernetes v1.16 supports the ability server-side apply. A huge benefit of server-side apply is that it which will support strategic merge patching of CRDs. I imagine that many users will want to do server side applies for this reason alone.
We need a way to configure Argo CD to support server-side applies. This option probably needs to be configured globally -- I don't see a reason to have this granular to an application. It also needs to decide to do this based on the version of the cluster. In other words, we cannot attempt server-side applies for kubernetes clusters < 1.16.
Related to this is the ability to do server-side dry runs:
#804
The text was updated successfully, but these errors were encountered: