Difference between revisions of "Template:Kind pod resources"

From wikieduonline
Jump to navigation Jump to search
(Created page with " --- apiVersion: v1 kind: Pod metadata: name: frontend spec: containers: - name: app image: images.my-company.example/app:v4 resources: reque...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
  ---
 
  ---
 
  apiVersion: v1
 
  apiVersion: v1
  kind: Pod
+
  [[kind: Pod]]
 
  metadata:
 
  metadata:
 
   name: frontend
 
   name: frontend
Line 9: Line 9:
 
     image: images.my-company.example/app:v4
 
     image: images.my-company.example/app:v4
 
     resources:
 
     resources:
       requests:
+
       [[requests]]:
 
         memory: "64Mi"
 
         memory: "64Mi"
 
         [[cpu:]] "250m"
 
         [[cpu:]] "250m"
       limits:
+
       [[limits]]:
 
         memory: "128Mi"
 
         memory: "128Mi"
 
         cpu: "500m"
 
         cpu: "500m"

Latest revision as of 07:25, 30 May 2024

---
apiVersion: v1
kind: Pod
metadata:
  name: frontend
spec:
  containers:
  - name: app
    image: images.my-company.example/app:v4
    resources:
      requests:
        memory: "64Mi"
        cpu: "250m"
      limits:
        memory: "128Mi"
        cpu: "500m"
  - name: log-aggregator
    image: images.my-company.example/log-aggregator:v6
    resources:
      requests:
        memory: "64Mi"
        cpu: "250m"
      limits:
        memory: "128Mi"
        cpu: "500m"

Advertising: