Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (46 sloc) 859 Bytes
apiVersion: apps/v1
kind: Deployment
metadata:
name: helloworld
labels:
app: helloworld
spec:
replicas: 1
template:
metadata:
name: helloworld
labels:
app: helloworld
spec:
tolerations:
- key: kubernetes.io/os
operator: Equal
value: windows
effect: NoSchedule
nodeSelector:
"kubernetes.io/os": windows
containers:
- name: helloworld
image: mcr.microsoft.com/dotnet/framework/samples:aspnetapp
resources:
limits:
cpu: 1
memory: 1Gi
ports:
- containerPort: 80
selector:
matchLabels:
app: helloworld
---
apiVersion: v1
kind: Service
metadata:
name: helloworld
labels:
app: helloworld
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: helloworld
You can’t perform that action at this time.