docs | tasks | configure-pod-container | assign pods to nodes (#15096)

* assign pods to nodes

* fix translation in assign pods nodes
This commit is contained in:
icheikhrouhou
2019-08-21 11:37:18 +02:00
committed by Kubernetes Prow Robot
parent d66304c4b1
commit cd9fab1774
3 changed files with 121 additions and 0 deletions
@@ -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