mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
Make kubectl apply create resources if not found
This commit is contained in:
@@ -39,6 +39,7 @@ Apply a configuration to a resource by filename or stdin
|
||||
|
||||
|
||||
Apply a configuration to a resource by filename or stdin.
|
||||
The resource will be created if it doesn't exist yet.
|
||||
|
||||
JSON and YAML formats are accepted.
|
||||
|
||||
@@ -97,7 +98,7 @@ $ cat pod.json | kubectl apply -f -
|
||||
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-10-01 05:36:57.66914652 +0000 UTC
|
||||
###### Auto generated by spf13/cobra on 4-Nov-2015
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
|
Reference in New Issue
Block a user