Difference between revisions of "Spec.NodeSelector"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
     image: nginx
 
     image: nginx
 
     imagePullPolicy: IfNotPresent
 
     imagePullPolicy: IfNotPresent
   nodeSelector:
+
   [[nodeSelector:]]
 
     disktype: ssd
 
     disktype: ssd
  

Revision as of 08:37, 13 October 2022

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

Activities

Related terms

See also

Advertising: