mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
update commented examples just remove $
This commit is contained in:
@@ -42,10 +42,10 @@ const (
|
||||
|
||||
JSON and YAML formats are accepted.`
|
||||
create_example = `# Create a pod using the data in pod.json.
|
||||
$ kubectl create -f ./pod.json
|
||||
kubectl create -f ./pod.json
|
||||
|
||||
# Create a pod based on the JSON passed into stdin.
|
||||
$ cat pod.json | kubectl create -f -`
|
||||
cat pod.json | kubectl create -f -`
|
||||
)
|
||||
|
||||
func NewCmdCreate(f *cmdutil.Factory, out io.Writer) *cobra.Command {
|
||||
|
||||
Reference in New Issue
Block a user