Skip to content

Commit 23d2310

Browse files
committed
OSDOCS-9487: Doc ROSA CLI kubeletconfig commands
1 parent 4422bfc commit 23d2310

File tree

4 files changed

+117
-0
lines changed

4 files changed

+117
-0
lines changed

modules/rosa-create-objects.adoc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,37 @@ Add an ingress with a route selector label match.
493493
$ rosa create ingress --cluster=mycluster --label-match=foo=bar,bar=baz
494494
----
495495

496+
[id="rosa-create-kubeletconfig_{context}"]
497+
== create kubeletconfig
498+
499+
Create a custom `KubeletConfig` object for the cluster.
500+
501+
.Syntax
502+
[source,terminal]
503+
----
504+
$ rosa create kubeletconfig --cluster=<cluster_name|cluster_id> --pod-pids-limit=<number> [flags]
505+
----
506+
507+
.Flags
508+
[cols="30,70"]
509+
|===
510+
|Option |Definition
511+
512+
|--pod-pids-limit <number>
513+
|Required. The maximum number of PIDs for the cluster.
514+
515+
a|-c, --cluster <cluster_name>\|<cluster_id>
516+
|Required. The name or ID of the cluster for which the `KubeletConfig` object will be created.
517+
518+
|-i, --interactive
519+
|Enable interactive mode.
520+
521+
|-h, --help
522+
|Shows help for this command.
523+
|===
524+
525+
For more information about setting the PID limit for the cluster, see _Configuring PID limits_.
526+
496527
[id="rosa-create-machinepool_{context}"]
497528
== create machinepool
498529

modules/rosa-delete-objects.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,34 @@ Delete a secondary ingress with the subdomain name `apps2` from a cluster named
214214
$ rosa delete ingress --cluster=mycluster apps2
215215
----
216216

217+
[id="rosa-delete-kubeletconfig_{context}"]
218+
== delete kubeletconfig
219+
220+
Delete a custom `KubeletConfig` object from a cluster.
221+
222+
.Syntax
223+
[source,terminal]
224+
----
225+
$ rosa delete kubeletconfig --cluster=<cluster_name|cluster_id> [flags]
226+
----
227+
228+
.Flags
229+
[cols="30,70"]
230+
|===
231+
|Option |Definition
232+
233+
a|-c, --cluster <cluster_name>\|<cluster_id>
234+
|Required. The name or ID of the cluster for which you want to delete the `KubeletConfig` object.
235+
236+
|-h, --help
237+
|Shows help for this command.
238+
239+
|-y, --yes
240+
|Automatically answers `yes` to confirm the operation.
241+
242+
|===
243+
244+
217245
[id="rosa-delete-machinepool_{context}"]
218246
== delete machinepool
219247

modules/rosa-edit-objects.adoc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,37 @@ Update the load balancer type of the `apps2` ingress.
161161
$ rosa edit ingress --lb-type=nlb --cluster=mycluster apps2
162162
----
163163

164+
[id="rosa-edit-kubeletconfig_{context}"]
165+
== edit kubeletconfig
166+
167+
Edit a custom `KubeletConfig` object in a cluster.
168+
169+
.Syntax
170+
[source,terminal]
171+
----
172+
$ rosa edit kubeletconfig --cluster=<cluster_name|cluster_id> --pod-pids-limit=<number> [flags]
173+
----
174+
175+
.Flags
176+
[cols="30,70"]
177+
|===
178+
|Option |Definition
179+
180+
a|-c, --cluster <cluster_name>\|<cluster_id>
181+
|Required. The name or ID of the cluster for which the `KubeletConfig` object will be edited.
182+
183+
|-i, --interactive
184+
|Enable interactive mode.
185+
186+
|--pod-pids-limit <number>
187+
|Required. The maximum number of PIDs for the cluster.
188+
189+
|-h, --help
190+
|Shows help for this command.
191+
|===
192+
193+
For more information about setting the PID limit for the cluster, see _Configuring PID limits_.
194+
164195
[id="rosa-edit-machinepool_{context}"]
165196
== edit machinepool
166197

modules/rosa-list-objects.adoc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,33 @@ Describe a cluster named `mycluster`.
523523
$ rosa describe cluster --cluster=mycluster
524524
----
525525

526+
[id="rosa-describe-kubeletconfig_{context}"]
527+
== describe kubeletconfig
528+
529+
Show the details of a custom `KubeletConfig` object.
530+
531+
.Syntax
532+
[source,terminal]
533+
----
534+
$ rosa describe kubeletconfig --cluster=<cluster_name|cluster_id> [flags]
535+
----
536+
537+
.Flags
538+
[cols="30,70"]
539+
|===
540+
|Option |Definition
541+
542+
a|-c, --cluster <cluster_name>\|<cluster_id>
543+
|Required. The name or ID of the cluster for which you want to view the `KubeletConfig` object.
544+
545+
|-h, --help
546+
|Shows help for this command.
547+
548+
|-o, --output string
549+
|The output format. You can specify either `json` or `yaml`.
550+
551+
|===
552+
526553
[id="rosa-describe-machinepool_{context}"]
527554
== describe machinepool
528555

0 commit comments

Comments
 (0)