Merge pull request #20946 from irvifa/fix-templating-to-hugo-0.70
Change notes templating to be able to comply with Hugo 0.70.
This commit is contained in:
@@ -55,7 +55,10 @@ In this example:
|
|||||||
as long as the Pod template itself satisfies the rule.
|
as long as the Pod template itself satisfies the rule.
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
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.
|
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.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
* The `template` field contains the following sub-fields:
|
* The `template` field contains the following sub-fields:
|
||||||
@@ -75,9 +78,10 @@ Follow the steps given below to create the above Deployment:
|
|||||||
kubectl apply -f https://k8s.io/examples/controllers/nginx-deployment.yaml
|
kubectl apply -f https://k8s.io/examples/controllers/nginx-deployment.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
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.
|
You can specify the `--record` flag to write the command executed in the resource annotation `kubernetes.io/change-cause`.
|
||||||
{{< /note >}}
|
The recorded change is useful for future introspection. For example, to see the commands executed in each Deployment revision.
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
|
|
||||||
2. Run `kubectl get deployments` to check if the Deployment was created.
|
2. Run `kubectl get deployments` to check if the Deployment was created.
|
||||||
@@ -904,9 +908,9 @@ example, rollback the Deployment to its previous version.
|
|||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
If you pause a Deployment, Kubernetes does not check progress against your specified deadline. You can
|
If you pause a Deployment, Kubernetes does not check progress against your specified deadline.
|
||||||
safely pause a Deployment in the middle of a rollout and resume without triggering the condition for exceeding the
|
You can safely pause a Deployment in the middle of a rollout and resume without triggering
|
||||||
deadline.
|
the condition for exceeding the deadline.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
You may experience transient errors with your Deployments, either due to a low timeout that you have set or
|
You may experience transient errors with your Deployments, either due to a low timeout that you have set or
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<blockquote class="note">
|
<blockquote class="note">
|
||||||
<div><strong>{{ T "note" }}</strong> {{ trim .Inner " \n" | markdownify }}</div>
|
<div><strong>{{ T "note" }}</strong> {{ replaceRE "\\s+|\n" " " .Inner | markdownify }}</div>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
Reference in New Issue
Block a user