You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On 1 Node kubernetes cluster, if you upgrade the vault from 0.9.0 to 0.13.0, the agent injector pod is stuck in pending state
To Reproduce
Steps to reproduce the behavior:
Install vault 0.9.0 on 1 node Kubernetes cluster
Try upgrading to 0.13.0
Events:
Type Reason Age From Message
Warning FailedScheduling default-scheduler 0/1 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity.
Warning FailedScheduling default-scheduler 0/1 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity.
Other useful info to include: vault pod logs, kubectl describe statefulset vault and kubectl get statefulset vault -o yaml output
Expected behavior
Should be able to upgrade from 0.9.0 to 0.13.0
Running into the same issue with 0.28.1 trying to update a single-instance deployment. affinity was added in #436 to support multi-injector replicas deployments.
I think it should be empty by default and enabled only for multi-replicas case.
Describe the bug
On 1 Node kubernetes cluster, if you upgrade the vault from 0.9.0 to 0.13.0, the agent injector pod is stuck in pending state
To Reproduce
Steps to reproduce the behavior:
Events:
Type Reason Age From Message
Warning FailedScheduling default-scheduler 0/1 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity.
Warning FailedScheduling default-scheduler 0/1 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity.
Other useful info to include: vault pod logs,
kubectl describe statefulset vault
andkubectl get statefulset vault -o yaml
outputExpected behavior
Should be able to upgrade from 0.9.0 to 0.13.0
Additional context
Seems that because of this check in
53f31be#diff-8377b3e3740a3fcd9f682e5fb55425f2fdbece1791854b9e5013e7f1a5e60e7e
Kubernetes is looking for an node where web hook component is not present. Since this is 1 node, it's always stuck in pending state.
The text was updated successfully, but these errors were encountered: