mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	Clarify limit/requests flags in kubectl run
This commit is contained in:
		@@ -94,7 +94,7 @@ kubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -wle 'print
 | 
			
		||||
      --include-extended-apis[=true]: If true, include definitions of new APIs via calls to the API server. [default true]
 | 
			
		||||
  -l, --labels="": Labels to apply to the pod(s).
 | 
			
		||||
      --leave-stdin-open[=false]: If the pod is started in interactive mode or with stdin, leave stdin open after the first attach completes. By default, stdin will be closed after the first attach completes.
 | 
			
		||||
      --limits="": The resource requirement limits for this container.  For example, 'cpu=200m,memory=512Mi'
 | 
			
		||||
      --limits="": The resource requirement limits for this container.  For example, 'cpu=200m,memory=512Mi'.  Note that server side components may assign limits depending on the server configuration, such as limit ranges.
 | 
			
		||||
      --no-headers[=false]: When using the default output, don't print headers.
 | 
			
		||||
  -o, --output="": Output format. One of: json|yaml|wide|name|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://releases.k8s.io/HEAD/docs/user-guide/jsonpath.md].
 | 
			
		||||
      --output-version="": Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
 | 
			
		||||
@@ -102,7 +102,7 @@ kubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -wle 'print
 | 
			
		||||
      --port=-1: The port that this container exposes.  If --expose is true, this is also the port used by the service that is created.
 | 
			
		||||
      --record[=false]: Record current kubectl command in the resource annotation.
 | 
			
		||||
  -r, --replicas=1: Number of replicas to create for this container. Default is 1.
 | 
			
		||||
      --requests="": The resource requirement requests for this container.  For example, 'cpu=100m,memory=256Mi'
 | 
			
		||||
      --requests="": The resource requirement requests for this container.  For example, 'cpu=100m,memory=256Mi'.  Note that server side components may assign requests depending on the server configuration, such as limit ranges.
 | 
			
		||||
      --restart="Always": The restart policy for this Pod.  Legal values [Always, OnFailure, Never].  If set to 'Always' a deployment is created for this pod, if set to OnFailure or Never, a job is created for this pod and --replicas must be 1.  Default 'Always'
 | 
			
		||||
      --rm[=false]: If true, delete resources created in this command for attached containers.
 | 
			
		||||
      --save-config[=false]: If true, the configuration of current object will be saved in its annotation. This is useful when you want to perform kubectl apply on this object in the future.
 | 
			
		||||
@@ -148,7 +148,7 @@ kubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -wle 'print
 | 
			
		||||
 | 
			
		||||
* [kubectl](kubectl.md)	 - kubectl controls the Kubernetes cluster manager
 | 
			
		||||
 | 
			
		||||
###### Auto generated by spf13/cobra on 15-Apr-2016
 | 
			
		||||
###### Auto generated by spf13/cobra on 22-Apr-2016
 | 
			
		||||
 | 
			
		||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
			
		||||
[]()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user