26 lines
495 B
YAML
26 lines
495 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/role: agent
|
|
beta.kubernetes.io/os: linux
|
|
type: virtual-kubelet
|
|
tolerations:
|
|
- key: virtual-kubelet.io/provider
|
|
operator: Exists
|
|
- key: azure.com/aci
|
|
effect: NoSchedule
|