Difference between revisions of "Nginx example"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
== Example ==
 
== Example ==
 
  {{kind pod nginx}}
 
  {{kind pod nginx}}
 +
 +
== Example ==
  
  

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

Example

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

Advertising: