FAQ and Troubleshooting
Troubleshooting
Space On-Premises pods don't use the updated configuration (Kubernetes installation)
Symptoms:
After you update the configuration of Space On-Premises pods, the pods continue using previous configuration.
Possible cause:
The environment variable files used to configure Space are enabled dynamically, which makes it difficult to calculate the checksum of the file using Helm.
Solution:
Get the names of the Space deployment objects:
kubectl -n ${KUBE_NAMESPACE} get deployments -l app.kubernetes.io/name=space --output=jsonpath={..metadata.name}Gracefully shutdown all pods related to the objects from step 1:
for deployment in $(kubectl -n ${KUBE_NAMESPACE} get deployments -l app.kubernetes.io/name=space --output=jsonpath={..metadata.name}); do kubectl -n ${KUBE_NAMESPACE} scale deploy ${deployment} --replicas=0 doneRestart the Space deployment objects:
for deployment in $(kubectl -n ${KUBE_NAMESPACE} get deployments -l app.kubernetes.io/name=space --output=jsonpath={..metadata.name}); do kubectl -n ${KUBE_NAMESPACE} scale deploy ${deployment} --replicas=1 done
Last modified: 21 February 2023