Difference between revisions of "Resources.requests.cpu"
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
This article is a Draft. Help us to complete it.
apiVersion: v1 kind: Pod metadata: name: mypod spec: containers: - name: mycontainer image: nginx resources: requests: cpu: "0.5"
See also[edit]
- Kubernetes: distributions, tools, CKA, CKS, Kubernetes interfaces: CSI, CNI, installation, workloads, networking,
kubeadm
,Kubernetes API
, Kubernetes API Server,kubectl, kubeadm, kubelet, kube-proxy
, Cloud services: EKS, GKE, TKE, DKS, Helm, Kubernetes RBAC, Kubernetes deployments, Minikube, Rancher, OpenShift, Charmed Kubernetes, Ingress, Kubernetes scheduler, Kubernetes Finalizers, logging, Kubernetes operator, Orka,kind:
, Kubernetes namespaces, Kubernetes dashboard, Kubernetes Metrics Server, Field Selectors, CoreDNS, CRI, Kubernetes Topology Manager, Kubernetes governance: (SIG, KEP), Kustomize, controllers,ReadinessProbe, LivenessProbe
, KOPS, K9s, Kui, k3s, ImagePullBackOff, PDB, EndPoints, Kots, metadata, Karpenter, Replicated.com, Kubernetes Authenticating, Kubernetes timeline, Changelog/Versions, service accounts, Kubernetes Pod Lifecycle, Kubernetes Conformance Certified, Kubernetes backup, Kubernetes Pod Security Admission, tEKS, Kubernetes events, Kubernetes ports, Kubernetes policies, Connect, addons, DoKC, Kubernetes control plane, Kubernetes Federation, Kubernetes info, Kubetest2, Sidecar (Kubernetes)
Advertising: