Files
virtual-kubelet/examples/iis-pod.yaml
Robbie Zhang d7f97b9bfc If --taint is specified, set the taint value to empty (#322)
Add the old tolerations the examples to make it backward compatible during the switch
2018-08-15 17:44:51 -07:00

34 lines
662 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: iis
spec:
containers:
- image: microsoft/iis:nanoserver
imagePullPolicy: Always
name: iis
resources:
requests:
memory: 3.5G
cpu: 2
limits:
memory: 3.5G
cpu: 2
ports:
- containerPort: 80
name: http
protocol: TCP
- containerPort: 443
name: https
dnsPolicy: Default
nodeSelector:
kubernetes.io/role: agent
beta.kubernetes.io/os: windows
type: virtual-kubelet
automountServiceAccountToken: false
tolerations:
- key: virtual-kubelet.io/provider
operator: Exists
- key: azure.com/aci
effect: NoSchedule