Difference between revisions of "Resources.requests.cpu"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == See also == * {{K8s}}")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
{{Draft}}{{lc}}
 +
* 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: