Had follwoing questions:
- how do we distingush when the question say expose a port on pod, in some cases, we just create a container port and in some cases we use --expose command?
- Is the below command is just a tag or it will upgrade the version also?
kubectl get pod mypod -o yaml | sed 's/\(image: myimage\):.*$/\1:v4/' | kubectl replace -f -
- for command, sometimes [“sleep”, “3600”] works and sometimes with ["/bin/sh", “-c”, “sleep 3600”] …?