You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This section begins by creating a pod with restart=Never flag $ kubectl run hello-kiamol --image=kiamol/ch02-hello-kiamol --restart=Never
Then we are instructed to manually delete the container in the pod $ docker container rm -f $(docker container ls -q --filter label=io.kubernetes.container.name=hello-kiamol)
Then the chapter indicates that the pod should automatically re-scale the pod after it is deleted. However, this does not happen
$ kubectl get pod hello-kiamol
NAME READY STATUS RESTARTS AGE
hello-kiamol 0/1 ContainerStatusUnknown 1 7m18s
The subsequent exercises in this chapter can't be run because the container is not running. While I'm not certain, I imagine that run the pod with the restart=Never option prevents the container from restarting after deletion, although I'm not 100% certain on this.
Is this an error or due to a change in k8s version? Frankly an issue this early on makes me want to consider using another resource to learn k8s
The text was updated successfully, but these errors were encountered:
This section begins by creating a pod with restart=Never flag
$ kubectl run hello-kiamol --image=kiamol/ch02-hello-kiamol --restart=Never
Then we are instructed to manually delete the container in the pod
$ docker container rm -f $(docker container ls -q --filter label=io.kubernetes.container.name=hello-kiamol)
Then the chapter indicates that the pod should automatically re-scale the pod after it is deleted. However, this does not happen
The subsequent exercises in this chapter can't be run because the container is not running. While I'm not certain, I imagine that run the pod with the
restart=Never
option prevents the container from restarting after deletion, although I'm not 100% certain on this.Is this an error or due to a change in k8s version? Frankly an issue this early on makes me want to consider using another resource to learn k8s
The text was updated successfully, but these errors were encountered: