193ee88ac0
smart_update() currently uses the label 'app.kubernetes.io/instance: zuul' to select the scheduler pod(s) when attempting to kick a smart update in the pod, however, the pods are created with 'app.kubernetes.io/instance: my-instance-name', which will cause us to not find any scheduler pods to update. Instead, we should use the correct label expression for the query. Once smart_update() was finding the scheduler pod correctly, pod_exec() fails on an unnecessary call to load_kube_config(). Removing this enables the pod_exec() - which is only ever used by smart_update() - to succeed. Change-Id: I57e4e3dacac1df24a941dd23da6344b4243a0bed |
||
---|---|---|
.. | ||
templates | ||
__init__.py | ||
certmanager.py | ||
cmd.py | ||
objects.py | ||
operator.py | ||
pxc.py | ||
utils.py | ||
version.py | ||
zookeeper.py | ||
zuul.py |