10000 wrap by warning shortcodes (#9114) · ArduinoBot/website@bbdfeaf · GitHub
[go: up one dir, main page]

Skip to content

Commit bbdfeaf

Browse files
makocchi-gitk8s-ci-robot
authored andcommitted
wrap by warning shortcodes (kubernetes#9114)
* wrap by warning shortcodes * wrap by warning shortcodes (another)
1 parent 938116e commit bbdfeaf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

content/en/docs/concepts/overview/object-management-kubectl/imperative-config.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ for details.
3333

3434
## How to update objects
3535

36+
{{< warning >}}
3637
**Warning:** Updating objects with the `replace` command drops all
3738
parts of the spec not specified in the configuration file. This
3839
should not be used with objects whose specs are partially managed
3940
by the cluster, such as Services of type `LoadBalancer`, where
4041
the `externalIPs` field is managed independently from the configuration
4142
file. Independently managed fields must be copied to the configuration
4243
file to prevent `replace` from dropping them.
44+
{{< /warning >}}
4345

4446
You can use `kubectl replace -f` to update a live object according to a
4547
configuration file.
@@ -110,7 +112,9 @@ several manual steps.
110112

111113
## Defining controller selectors and PodTemplate labels
112114

113-
**Warning**: Updating selectors on controllers is strongly discouraged.
115+
{{< warning >}}
116+
**Warning:** Updating selectors on controllers is strongly discouraged.
117+
{{< /warning >}}
114118

115119
The recommended approach is to define a single, immutable PodTemplate label
116120
used only by the controller selector with no other semantic meaning.

0 commit comments

Comments
 (0)
0