mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
update commented examples just remove $
This commit is contained in:
@@ -64,13 +64,13 @@ to apply your changes to the newer version of the resource, or update your tempo
|
||||
saved copy to include the latest resource version.`
|
||||
|
||||
editExample = ` # Edit the service named 'docker-registry':
|
||||
$ kubectl edit svc/docker-registry
|
||||
kubectl edit svc/docker-registry
|
||||
|
||||
# Use an alternative editor
|
||||
$ KUBE_EDITOR="nano" kubectl edit svc/docker-registry
|
||||
KUBE_EDITOR="nano" kubectl edit svc/docker-registry
|
||||
|
||||
# Edit the service 'docker-registry' in JSON using the v1 API format:
|
||||
$ kubectl edit svc/docker-registry --output-version=v1 -o json`
|
||||
kubectl edit svc/docker-registry --output-version=v1 -o json`
|
||||
)
|
||||
|
||||
var errExit = fmt.Errorf("exit directly")
|
||||
|
||||
Reference in New Issue
Block a user