Welcome to the Linux Foundation Forum!

Wrong indentation and definition

Options

Hello,
On page : "Managing State with Deployments/Deployment Configuration Pod Template"

  1. There is an issue with the indentation of "creationTimestamp: null" (this line can be removed from my point of view, because it does not make sense to define the creation timestamp in a pod template. In other words, you can only set null here)
  2. The definition for the field "name" is wrong : the name of the pod is generated from the name of the replicaset which is generated from the name of the deployment. The "spec.template.spec.containers.name" is not used as a prefix for the pod name. This field is just the name of the container and it's used with the "-c" option when you try to run command or check logs.

Categories

Upcoming Training