i'm working with Kubernetes and Jenkins-x, i need to create a devpod with customized property. In particular i need a timeoutSeconds for the livenessProbe differebt from the default one. I dont know how to customize this attribute before the pod is created so i'm trying to update it once it's running. I tried with
kubectl edit pod/<pod_name>
but it told me i cant update that property.
Do you have suggestions on how i can do this?
Thank you.
Although this may not be something you really want to do in production but you can follow these steps.
Get the yaml from the cluster
kubectl get pod podname -o yaml --export > pod.yamlDelete the running pod
kubectl deplete pod podnameEdit the
pod.yamland apply it to the cluster.