Files
virtual-kubelet/examples/nginx-pod.yaml
Ria Bhatia 4b61932ac1 Node label change (#200)
* adding provider info

* adding readme edits

* test change

* added node selector

* node selector changes

* Update README.md

changed a typo

* Update README.md

spacing issue
2018-05-15 08:45:45 -07:00

22 lines
413 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- image: nginx
imagePullPolicy: Always
name: nginx
ports:
- containerPort: 80
name: http
protocol: TCP
- containerPort: 443
name: https
dnsPolicy: ClusterFirst
nodeSelector:
kubernetes.io/hostname: virtual-kubelet-myaciconnector-linux
tolerations:
- key: azure.com/aci
effect: NoSchedule