fix Helm-operation pod failing for helm-cmd command container with exit code 123 in terminated state in rancher

1.7k views Asked by At

POD Helm-operation status shows error with multiple pod creation. This is a multi-container deployment but fails for helm container in terminated state but proxy container is in Ready state

cattle-fleet-system         gitjob-69f7bc54b4-ktpqg                    1/1     Running     0          20h
cattle-system               helm-operation-59ldb                       1/2     Error       0          106s
cattle-system               helm-operation-dqt64                       1/2     Error       0          2m2s
cattle-system               helm-operation-dt9bh                       1/2     Error       0          7m1s
cattle-system               helm-operation-lxxrm                       1/2     Error       0          7m10s
cattle-system               helm-operation-mp4m4                       1/2     Error       0          2m10s
cattle-system               helm-operation-vbqlk                       1/2     Error       0          114s
Containers:
  helm:
    Container ID:  
    Image:         ***/rancher/shell:v0.1.14
    Image ID:      docker-pullable://*******/rancher/shell@sha256:6d3cd636eddc5342888888888888888764dfe86af868b20f6967f12
    Port:          <none>
    Host Port:     <none>
    Command:
      helm-cmd
    State:          Terminated
      Reason:       Error
      Exit Code:    123
      Started:      Fri, 18 Mar 2022 12:28:37 +0100
      Finished:     Fri, 18 Mar 2022 12:28:39 +0100
    Ready:          False
    Restart Count:  0
    Environment:
      KUBECONFIG:  /home/shell/.kube/config
    Mounts:
      /home/shell/.kube/config from user-kubeconfig (ro,path="config")
      /home/shell/helm from data (ro)
  proxy:
    Container ID:  docker://f77ed026fdf9d88c106a45628a58888888888f2b2fcfd9a53
    Image:         **************/rancher/shell:v0.1.14
    Image ID:      docker-pullable://*********.azurecr.io/rancher/shell@sha256:6d38888888888ddc5342bcf67461d888888888889764dfe86af868b20f6967f12
    Port:          <none>
    Host Port:     <none>
    Command:
      sh
      -c
      kubectl proxy --disable-filter || true
0

There are 0 answers