Add docs to illustrate how to schedule pod to specific node (#12871)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c34527a3ed
commit
268c9473a5
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: nginx
|
||||
spec:
|
||||
nodeName: foo-node # schedule pod to specific node
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx
|
||||
imagePullPolicy: IfNotPresent
|
||||
Reference in New Issue
Block a user