Difference between revisions of "Nginx example"

From wikieduonline
Jump to navigation Jump to search
(Created page with " {{kind pod nginx}} {{kind: Pod}}")
 
Line 1: Line 1:
 
+
== Example ==
 
 
 
  {{kind pod nginx}}
 
  {{kind pod nginx}}
  

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



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

Advertising: