Difference between revisions of "Resources.requests.cpu"

From wikieduonline
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{Draft}}{{lc}}
 
{{Draft}}{{lc}}
 
* https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container
 
* https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container
 +
 +
apiVersion: v1
 +
kind: Pod
 +
metadata:
 +
  name: mypod
 +
spec:
 +
  containers:
 +
  - name: mycontainer
 +
    image: nginx
 +
    resources:
 +
      requests:
 +
        cpu: "0.5"
 +
  
 
== See also ==
 
== See also ==
 
* {{K8s}}
 
* {{K8s}}

Latest revision as of 08:52, 5 April 2024

Advertising: