Fix the examples (#117)
This commit is contained in:
25
examples/iis-pod.yaml
Normal file
25
examples/iis-pod.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: iis
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: microsoft/iis:nanoserver
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: iis
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 3.5G
|
||||||
|
cpu: 2
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
name: http
|
||||||
|
protocol: TCP
|
||||||
|
- containerPort: 443
|
||||||
|
name: https
|
||||||
|
dnsPolicy: Default
|
||||||
|
nodeName: virtual-kubelet-myaciconnector-win
|
||||||
|
automountServiceAccountToken: false
|
||||||
|
tolerations:
|
||||||
|
- key: azure.com/aci
|
||||||
|
effect: NoSchedule
|
||||||
@@ -4,24 +4,17 @@ metadata:
|
|||||||
name: nano
|
name: nano
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: microsoft/nanoserver
|
- image: microsoft/nanoserver:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
command: ["powershell.exe", "-Command", "while ($true) { Sleep 5; Write-Host 'helloworld' }"]
|
||||||
name: nanoserver
|
name: nanoserver
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 4G
|
memory: 1.5G
|
||||||
cpu: 2
|
cpu: 1
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
name: http
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 443
|
|
||||||
name: https
|
|
||||||
dnsPolicy: Default
|
dnsPolicy: Default
|
||||||
<<<<<<< HEAD:examples/iis-pod.yaml
|
restartPolicy: OnFailure
|
||||||
=======
|
nodeName: virtual-kubelet-myaciconnector-win
|
||||||
nodeName: virtual-kubelet-connector-win
|
|
||||||
>>>>>>> azureReadMe:examples/nanoserver.yaml
|
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: azure.com/aci
|
- key: azure.com/aci
|
||||||
|
|||||||
Reference in New Issue
Block a user