Difference between revisions of "Containers:"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 41: | Line 41: | ||
* <code>[[kubectl describe pods]]</code> | * <code>[[kubectl describe pods]]</code> | ||
* [[Kubernetes, env:]] | * [[Kubernetes, env:]] | ||
+ | * [[env:]] | ||
== See also == | == See also == |
Revision as of 11:58, 25 October 2023
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
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
See also
- ReplicaSet,
kubectl get replicaset, kubectl describe replicaset, kind: ReplicaSet, ScalingReplicaSet
, replicaset-controller - 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: