Difference between revisions of "Nginx example"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
     image: nginx
 
     image: nginx
  
 
+
== Related ==
 
+
* [[Liveness]]
  
 
== See also ==
 
== See also ==
 
{{kind: Pod}}
 
{{kind: Pod}}

Revision as of 10:37, 22 October 2024

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

Advertising: