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
@@ -285,22 +309,22 @@ Sets a user entry in kubeconfig
285
309
286
310
287
311
== oc adm config unset
288
-
Unsets an individual value in a kubeconfig file
312
+
Unset an individual value in a kubeconfig file
289
313
290
314
.Example usage
291
315
[source,bash,options="nowrap"]
292
316
----
293
-
# Unset the current-context.
317
+
# Unset the current-context
294
318
oc config unset current-context
295
319
296
-
# Unset namespace in foo context.
320
+
# Unset namespace in foo context
297
321
oc config unset contexts.foo.namespace
298
322
----
299
323
300
324
301
325
302
326
== oc adm config use-context
303
-
Sets the current-context in a kubeconfig file
327
+
Set the current-context in a kubeconfig file
304
328
305
329
.Example usage
306
330
[source,bash,options="nowrap"]
@@ -317,10 +341,10 @@ Display merged kubeconfig settings or a specified kubeconfig file
317
341
.Example usage
318
342
[source,bash,options="nowrap"]
319
343
----
320
-
# Show merged kubeconfig settings.
344
+
# Show merged kubeconfig settings
321
345
oc config view
322
346
323
-
# Show merged kubeconfig settings and raw certificate data.
347
+
# Show merged kubeconfig settings and raw certificate data
324
348
oc config view --raw
325
349
326
350
# Get the password for the e2e user
@@ -335,7 +359,7 @@ Mark node as unschedulable
335
359
.Example usage
336
360
[source,bash,options="nowrap"]
337
361
----
338
-
# Mark node "foo" as unschedulable.
362
+
# Mark node "foo" as unschedulable
339
363
oc adm cordon foo
340
364
----
341
365
@@ -395,11 +419,11 @@ Drain node in preparation for maintenance
395
419
.Example usage
396
420
[source,bash,options="nowrap"]
397
421
----
398
-
# Drain node "foo", even if there are pods not managed by a ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet on it.
399
-
$ oc adm drain foo --force
422
+
# Drain node "foo", even if there are pods not managed by a replication controller, replica set, job, daemon set or stateful set on it
423
+
oc adm drain foo --force
400
424
401
-
# As above, but abort if there are pods not managed by a ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet, and use a grace period of 15 minutes.
402
-
$ oc adm drain foo --grace-period=900
425
+
# As above, but abort if there are pods not managed by a replication controller, replica set, job, daemon set or stateful set, and use a grace period of 15 minutes
426
+
oc adm drain foo --grace-period=900
403
427
----
404
428
405
429
@@ -782,7 +806,7 @@ Remove unreferenced images
782
806
783
807
# To actually perform the prune operation, the confirm flag must be appended
0 commit comments