Difference between revisions of "Kubectl create"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
{{Draft}}
+
<code>[[kubectl create]]</code> Create a resource from a file or from stdin. [[JSON]] and [[YAML]] formats are accepted.
 
 
  
 
* https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#create
 
* https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#create

Revision as of 14:22, 17 July 2021

kubectl create Create a resource from a file or from stdin. JSON and YAML formats are accepted.

Examples

  • kubectl create -f deployment.yaml --record
  • kubectl create quota myrq --hard=cpu=1,memory=1G,pods=2 --dry-run -o yaml

RBAC Kubernetes

Related commands

Activities

See also

Advertising: