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
Copy file name to clipboardExpand all lines: content/en/docs/concepts/workloads/controllers/deployment.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,10 @@ In this example:
55
55
as long as the Pod template itself satisfies the rule.
56
56
57
57
{{< note >}}
58
-
The `.spec.selector.matchLabels` field is a map of {key,value} pairs. A single {key,value} in the `matchLabels` map is equivalent to an element of `matchExpressions`, whose key field is "key" the operator is "In", and the values array contains only "value". All of the requirements, from both `matchLabels` and `matchExpressions`, must be satisfied in order to match.
58
+
The `.spec.selector.matchLabels` field is a map of {key,value} pairs.
59
+
A single {key,value} in the `matchLabels` map is equivalent to an element of `matchExpressions`,
60
+
whose key field is "key" the operator is "In", and the values array contains only "value".
61
+
All of the requirements, from both `matchLabels` and `matchExpressions`, must be satisfied in order to match.
59
62
{{< /note >}}
60
63
61
64
* The `template` field contains the following sub-fields:
@@ -75,9 +78,10 @@ Follow the steps given below to create the above Deployment:
You can specify the `--record` flag to write the command executed in the resource annotation `kubernetes.io/change-cause`. The recorded change is useful for future introspection. For example, to see the commands executed in each Deployment revision.
80
-
{{< /note >}}
81
+
{{< note >}}
82
+
You can specify the `--record` flag to write the command executed in the resource annotation `kubernetes.io/change-cause`.
83
+
The recorded change is useful for future introspection. For example, to see the commands executed in each Deployment revision.
84
+
{{< /note >}}
81
85
82
86
83
87
2. Run `kubectl get deployments` to check if the Deployment was created.
@@ -904,9 +908,9 @@ example, rollback the Deployment to its previous version.
904
908
{{< /note >}}
905
909
906
910
{{< note >}}
907
-
If you pause a Deployment, Kubernetes does not check progress against your specified deadline. You can
908
-
safely pause a Deployment in the middle of a rollout and resume without triggering the condition for exceeding the
909
-
deadline.
911
+
If you pause a Deployment, Kubernetes does not check progress against your specified deadline.
912
+
You can safely pause a Deployment in the middle of a rollout and resume without triggering
913
+
the condition for exceeding the deadline.
910
914
{{< /note >}}
911
915
912
916
You may experience transient errors with your Deployments, either due to a low timeout that you have set or
0 commit comments