Add an example for Windows pod

Add iis-pod.yaml to start a Windows pod in ACI
This commit is contained in:
Robbie Zhang
2017-12-27 15:32:05 -08:00
committed by GitHub
parent 04e49c5162
commit 2b68da36ea

25
examples/iis-pod.yaml Normal file
View File

@@ -0,0 +1,25 @@
apiVersion: v1
kind: Pod
metadata:
name: iis
spec:
containers:
- image: microsoft/iis
imagePullPolicy: Always
name: iis
resources:
requests:
memory: 4G
cpu: 2
ports:
- containerPort: 80
name: http
protocol: TCP
- containerPort: 443
name: https
dnsPolicy: Default
nodeName: virtual-kubelet-aciconnector-win
automountServiceAccountToken: false
tolerations:
- key: azure.com/aci
effect: NoSchedule