Difference between revisions of "Spec.NodeSelector"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
 +
 +
* https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/#create-a-pod-that-gets-scheduled-to-your-chosen-node
 
  [[apiVersion]]: v1
 
  [[apiVersion]]: v1
 
  [[kind: Pod]]
 
  [[kind: Pod]]

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: