Difference between revisions of "Containers:"

From wikieduonline
Jump to navigation Jump to search
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{lc}}
 
* <code>[[kind: Pod]]</code>
 
* <code>[[kind: Pod]]</code>
 
* <code>[[kind: ReplicaSet]]</code>
 
* <code>[[kind: ReplicaSet]]</code>
 +
* <code>[[kind: Deployment]]</code>
  
 +
[[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}}
 +
 +
== See also ==
 +
* <code>[[resources:]]</code>
 +
* <code>[[command:]]</code>
 +
 +
== Activities ==
 +
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 ==
 +
* <code>[[kubectl describe pods]]</code>
 +
* [[Kubernetes, env:]]
 +
* [[env:]]
 +
* [[spec:]]
 +
* [[liveness:]]
 +
* [[readiness:]]
  
 
== See also ==
 
== See also ==
* {{ReplicaSet}}
+
* {{containers:}}
 +
* {{containers}}
 
* {{Kubernetes services}}
 
* {{Kubernetes services}}
 
* {{Kubernetes Workloads}}
 
* {{Kubernetes Workloads}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 11:02, 21 April 2024

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: