I ran this command to check on the health of the deployment
kubectl get deployment argo-server -n argo -0 yaml
And, in the status response was a message with an internal error.
How do I fix the error?
lastTransitionTime: "2020-10-26T21:34:01Z"
lastUpdateTime: "2020-10-26T21:34:01Z"
message: Deployment does not have minimum availability.
reason: MinimumReplicasUnavailable
status: "False"
type: Available
lastTransitionTime: "2020-10-26T21:34:01Z"
lastUpdateTime: "2020-10-26T21:34:01Z"
message: 'Internal error occurred: failed calling webhook "mutating.pod-env-webhook.svc":
an error on the server ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n500
Internal Server Error\n
Internal Server Error
\n
The server
encountered an internal error and was unable to complete your request. Either
the server is overloaded or there is an error in the application.") has
prevented the request from succeeding'
reason: FailedCreate
status: "True"
type: ReplicaFailure
lastTransitionTime: "2020-10-26T21:57:16Z"
lastUpdateTime: "2020-10-26T21:57:16Z"
message: Created new replica set "argo-server-55c988b69d"
reason: NewReplicaSetCreated
status: "True"
type: Progressing
observedGeneration: 2
unavailableReplicas: 2
After running command below to install argo-workflows kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo/stable/manifests/install.yaml
I ran this command to check on the health of the deployment kubectl get deployment argo-server -n argo -0 yaml And, in the status response was a message with an internal error. How do I fix the error?
kubectl get deployment argo-server -n argo -o yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "2" kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"argo-server","namespace":"argo"},"spec":{"selector":{"matchLabels":{"app":"argo-server"}},"template":{"metadata":{"labels":{"app":"argo-server"}},"spec":{"containers":[{"args":["server"],"image":"argoproj/argocli:v2.11.6","name":"argo-server","ports":[{"containerPort":2746,"name":"web"}],"readinessProbe":{"httpGet":{"path":"/","port":2746,"scheme":"HTTP"},"initialDelaySeconds":10,"periodSeconds":20}}],"nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"argo-server"}}}} creationTimestamp: "2020-10-26T21:34:00Z" generation: 2 name: argo-server namespace: argo resourceVersion: "276522180" selfLink: /apis/extensions/v1beta1/namespaces/argo/deployments/argo-server uid: e6c55fe2-157e-4a53-a77a-6b070f368cd1 spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: app: argo-server strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: creationTimestamp: null labels: app: argo-server spec: containers:
Internal Server Error
\nThe server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.") has prevented the request from succeeding' reason: FailedCreate status: "True" type: ReplicaFailure