Difference between revisions of "Pause"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* <code>[[sleep]]</code> | * <code>[[sleep]]</code> | ||
* <code>[[ansible.builtin.pause]]</code> | * <code>[[ansible.builtin.pause]]</code> | ||
+ | |||
+ | <pre> | ||
+ | kind: Pod | ||
+ | apiVersion: v1 | ||
+ | metadata: | ||
+ | name: mypod | ||
+ | labels: | ||
+ | foo: bar | ||
+ | spec: | ||
+ | topologySpreadConstraints: | ||
+ | - maxSkew: 1 | ||
+ | topologyKey: zone | ||
+ | whenUnsatisfiable: DoNotSchedule | ||
+ | labelSelector: | ||
+ | matchLabels: | ||
+ | foo: bar | ||
+ | affinity: | ||
+ | nodeAffinity: | ||
+ | requiredDuringSchedulingIgnoredDuringExecution: | ||
+ | nodeSelectorTerms: | ||
+ | - matchExpressions: | ||
+ | - key: zone | ||
+ | operator: NotIn | ||
+ | values: | ||
+ | - zoneC | ||
+ | containers: | ||
+ | - name: pause | ||
+ | image: registry.k8s.io/pause:3.1 | ||
+ | </pre> | ||
== See also == | == See also == |
Revision as of 14:49, 16 December 2022
kind: Pod apiVersion: v1 metadata: name: mypod labels: foo: bar spec: topologySpreadConstraints: - maxSkew: 1 topologyKey: zone whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: foo: bar affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: zone operator: NotIn values: - zoneC containers: - name: pause image: registry.k8s.io/pause:3.1
See also
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: