website/content/bn/examples/pods/pod-nginx-specific-node.yaml

11 lines
189 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
nodeName: foo-node # schedule pod to specific node
containers:
- name: nginx
image: nginx
imagePullPolicy: IfNotPresent