following examples https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/#scaling-the-application-by-increasing-the-replica-count If you update replicas from 2 to 4 using the last deployment yaml, nginx version was 1.16.1, so 2 containers were already created and 2 new ones (that's why the table referenced as "The output is similar to this" shows AGE as 25s and 2m). If this deployment has nginx version 1.14.2, all containers will be recreated instead of just adding 2, so it can be confusing for the newcomers |
||
|---|---|---|
| .. | ||
| access | ||
| admin | ||
| application | ||
| audit | ||
| concepts/policy/limit-range | ||
| configmap | ||
| controllers | ||
| debug | ||
| pods | ||
| policy | ||
| priority-and-fairness | ||
| secret/serviceaccount | ||
| security | ||
| service | ||
| tls | ||
| windows | ||
| README.md | ||
| examples.go | ||
| examples_test.go | ||
README.md
To run the tests for a localization, use the following command:
go test k8s.io/website/content/<lang>/examples
where <lang> is the two character representation of a language. For example:
go test k8s.io/website/content/en/examples