Nginx example

From wikieduonline
Revision as of 10:37, 22 October 2024 by Welcome (talk | contribs) (→‎Example)
Jump to navigation Jump to search

Example

 apiVersion: v1
kind: Pod
metadata:
  name: nginx
  labels:
    env: test
spec:
  containers:
  - name: nginx
    image: nginx
    imagePullPolicy: IfNotPresent
  nodeSelector:
    disktype: ssd

Example

apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - name: nginx
    image: nginx

Related

See also

kind: Pod: spec.containers, spec.initContainers, spec.volumes, spec.securityContext

Advertising: