Difference between revisions of "Nginx example"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
  
 
== See also ==
 
== See also ==
{{kind: Pod}}
+
* {{kind: Pod}}
 +
 
 +
[[Category:Pod]]

Revision as of 10:38, 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

Advertising: