Difference between revisions of "Spec.NodeSelector"

From wikieduonline
Jump to navigation Jump to search
Line 22: Line 22:
 
* <code>[[kubectl label]]</code>
 
* <code>[[kubectl label]]</code>
 
* <code>[[kubectl apply]]</code>
 
* <code>[[kubectl apply]]</code>
 +
* <code>[[nodeAffinity]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 12:11, 3 May 2021

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: