Difference between revisions of "Containers:"
Jump to navigation
Jump to search
(18 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> | ||
+ | [[spec.containers]] | ||
+ | |||
+ | [[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}} | {{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 | https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed | ||
[[qosClass:]] [[Guaranteed]] | [[qosClass:]] [[Guaranteed]] | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectl describe pods]]</code> | ||
+ | * [[Kubernetes, env:]] | ||
+ | * [[env:]] | ||
+ | * [[spec:]] | ||
+ | * [[liveness:]] | ||
+ | * [[readiness:]] | ||
== See also == | == See also == | ||
− | * {{ | + | * {{containers:}} |
+ | * {{containers}} | ||
* {{Kubernetes services}} | * {{Kubernetes services}} | ||
* {{Kubernetes Workloads}} | * {{Kubernetes Workloads}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 07:52, 24 July 2024
spec.containers
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
Contents
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]
containers:
:spec.containers, env:, volumeMounts:, image:, resources:
- Containers, OCI: Docker (
dockerd
),containerd
,runc
, Podman, buildah, skopeo, lxd, Container Registry, Service mesh, Windows Server containers, Containerpilot, CoreOS, CAdvisor, Containers networking, Container scanning, cosign, CRI, CRI-O,initContainers
, Sidecar container, Container images, latest - Kubernetes services,
kubectl get services, kubectl describe service
,kubectl create service
[loadbalancer
|nodeport
|clusterip
|externalname ], kubectl expose
,headless service, service.beta.kubernetes.io
- Kubernetes Workloads:
Deployment
,ReplicaSet, StatefulSet, DaemonSets, Job, CronJob
,.apps/
Advertising: