helm-controller icon indicating copy to clipboard operation
helm-controller copied to clipboard

Kubernetes job not being deployed

Open LukeRH opened this issue 2 years ago • 1 comments

Hi I am installing and subsequently upgrading a helm chart but a job is not being deployed to the cluster. If i run helm get all i can see the job yaml but it is not being applied. If i install and upgrade the helm release manually everything works as expected it seems to be specific to Flux helm deployments.

For example this works: helm install redis-cluster bitnami/redis-cluster --set "usePassword=false,cluster.nodes=9" $ helm upgrade --timeout 600s redis-cluster --set "usePassword=false,cluster.nodes=10,cluster.update.currentNumberOfNodes=9,cluster.update.addNodes=true,cluster.init=false" bitnami/redis-cluster

but this does not when applied via flux cd

release.yaml apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: redis spec: timeout: 20m0s chart: spec: version: "8.3.8"

values.yaml usePassword: false cluster: nodes: 10

Then to upgrade usePassword: false cluster: init: false nodes: 12 replicas: 1 update: addNodes: true currentNumberOfNodes: 10

Please could you help?

LukeRH avatar Aug 04 '23 14:08 LukeRH

@LukeRH Hi! Thanks for your issue. First of all - I am not a member of FluxCD team, just curious to assist. Probably I had the same issue but have no clues. Could you please describe issue prettier and give more precise instructions to reproduce it? Also I'd like ask you to use github markdown formatting for the text - for bash and code lines as it is very difficult to read many lines of text. Thanks in advance

gaalw avatar Dec 08 '23 07:12 gaalw