Difference between revisions of "Spec.NodeSelector"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
     imagePullPolicy: IfNotPresent
 
     imagePullPolicy: IfNotPresent
 
   [[nodeSelector:]]
 
   [[nodeSelector:]]
     disktype: ssd
+
     [[disktype]]: ssd
  
 
== Activities ==
 
== Activities ==

Revision as of 10:39, 15 December 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: