Consider opening an issue in the main Kubernetes repository if your use case is not covered below. A single in the match Labels map is equivalent to an element of match Expressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The to this command to record the current command in the annotations of the created or updated resource.
This is useful for future review, such as investigating which commands were executed in each Deployment revision.
For example, if you look at the above Deployment closely, you will see that it first created a new Pod, then deleted some old Pods and created new ones.
The current replicas indicates the total replicas this Deployment manages, and the available replicas indicates the number of current replicas that are available.
We can run kubectl get pods NAME READY STATUS RESTARTS AGE nginx-deployment-1564180365-khku8 1/1 Running 0 14s nginx-deployment-1564180365-nacti 1/1 Running 0 14s nginx-deployment-1564180365-z9gth 1/1 Running 0 14s Next time we want to update these Pods, we only need to update the Deployment’s pod template again.
If you were hoping for more accurate nutrition labels on everything from ice cream to breakfast cereal, you're going to have to wait a little longer.
The Food and Drug Administration plans to delay the deadline for revamped nutrition food labels, pushing it back from July 26, 2018, though companies with annual food sales of less than million had been given an extra year to comply.