k8s-samples/CKA_Course/advanced_allocation/nodeselector.yaml

11 lines
139 B
YAML
Raw Permalink Normal View History

2022-08-17 02:59:58 +00:00
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx
nodeSelector:
myLabel: myvalue