Closed Neumann-Nils closed 4 years ago
When scaling the Karydia deployment (i.e. while hibernating) and re-scaling the deployment, the init container may fail starting. This is due to the following command:
kubectl label namespace kube-system karydia.gardener.cloud/name=kube-system
As the label already exists, the command fails and the pod cannot start. To fix this issue, one needs to add the overwrite flag to the command.
overwrite
Before submitting this PR, please make sure:
make
make test
Description
When scaling the Karydia deployment (i.e. while hibernating) and re-scaling the deployment, the init container may fail starting. This is due to the following command:
As the label already exists, the command fails and the pod cannot start. To fix this issue, one needs to add the
overwrite
flag to the command.Checklist
Before submitting this PR, please make sure:
make
make test