containers:

From wikieduonline
Jump to navigation Jump to search

env:
volumeMounts:
image:
resources:
containers:
- command:
  - redis-server
  - --dir /data
  - --dbfilename dump.rdb
  image: redis:latest
  imagePullPolicy: IfNotPresent
  name: redis-your-name
  ports:
  - containerPort: 6379
    name: http
    protocol: TCP
  resources: {}
  terminationMessagePath: /dev/termination-log
  terminationMessagePolicy: File
  volumeMounts:
  - mountPath: /data
    name: persistent-storage
  - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
    name: kube-api-access-jhnds
    readOnly: true


spec.containers[].image
spec.containers[].command  
spec.containers[].tty  
spec.containers[].stdy  
spec.containers[].resources.limits.cpu
spec.containers[].resources.limits.memory
spec.containers[].resources.limits.hugepages-<size>
spec.containers[].resources.requests.cpu
spec.containers[].resources.requests.memory
spec.containers[].resources.requests.hugepages-<size>
spec.containers[*].volumeMounts

See also[edit]

Activities[edit]

https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed
qosClass: Guaranteed

Related[edit]

See also[edit]

Advertising: