Oc edit: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
In-line metadata editing with vi. Exposes the metadata in YAML format for editing. | In-line metadata editing with vi. Exposes the metadata in YAML format for editing. | ||
=Generic Syntax= | |||
oc edit supports the following generic syntax: | |||
oc edit ''<componentType>''/''<componentName>'' | |||
oc edit daemonset/logging-fluentd | |||
oc edit node/node1 | |||
oc edit pod/logging-fluentd-3kz30 | |||
The same pattern applies for [[oc describe#Generic_Syntax|oc describe]]. | |||
=Sub-Commands= | =Sub-Commands= | ||
oc edit project ''<project-name>'' | oc edit project ''<project-name>'' |
Revision as of 23:28, 30 July 2017
Internal
Overview
In-line metadata editing with vi. Exposes the metadata in YAML format for editing.
Generic Syntax
oc edit supports the following generic syntax:
oc edit <componentType>/<componentName>
oc edit daemonset/logging-fluentd oc edit node/node1 oc edit pod/logging-fluentd-3kz30
The same pattern applies for oc describe.
Sub-Commands
oc edit project <project-name>