enhancement request: allow the option to specify kubectl to replace instead of apply #1382
-
Issue: (Same as this issue reported: #1301) Findings: Proposal: Additional Info: |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
Are the answers in #1301 (comment) and #1301 (comment) helpful? As it see seems to be a |
Beta Was this translation helpful? Give feedback.
-
The same issue when applying CRDs to cluster.
I believe the same issue will arise with ArgoCD |
Beta Was this translation helpful? Give feedback.
-
We're having the same Problem with this CRD. ArgoCD supports |
Beta Was this translation helpful? Give feedback.
-
Starting with Flux 0.18 we've switch to Kubernetes server-side apply. This means Flux no longer uses kubectl, so the annotations limit is no longer an issue. |
Beta Was this translation helpful? Give feedback.
-
Hi @stefanprodan and @m1pl , I'm using Flux 0.25.3 , and face with the same problem about annotations limit. Flux seems to not perform apply --server-side but only a classic apply. Any suggestion ? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello, I think I need this for gitops with crossplane. Crossplane is designed so that an external resource it manages does not get recreated when a change requires the external resource to be recreated. It will only allow for a delete of the resource if it is removed from kubernetes. When using Flux with Crossplane, if I change, for example, the vmSize parameter of a kubernetes cluster node pool, my only option right now for recreation is to comment out the manifest from If I could specify recreate, then all resources would be sent to the api server as a replacement for the deployed resources, and the old resources would be deleted from the api server, which would allow crossplane to delete and recreate those managed resources. This is a supported feature in ArgoCD, apparently, so I'm basing the above on theory as I'm not an ArgoCD user. |
Beta Was this translation helpful? Give feedback.
Starting with Flux 0.18 we've switch to Kubernetes server-side apply. This means Flux no longer uses kubectl, so the annotations limit is no longer an issue.