k8s-samples/CKA_Course/advanced_allocation/nodename.yaml

10 lines
126 B
YAML
Raw Normal View History

2022-08-16 21:59:58 -05:00
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx
nodeName: k8s-worker1