Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (41 sloc) 750 Bytes
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
labels:
app: dotnet35
name: dotnet35
spec:
replicas: 1
template:
metadata:
labels:
app: dotnet35
name: dotnet35
spec:
containers:
- name: windowswebserver
imagePullPolicy: Always
image: harbor.pae.ragazzilab.com/windows/aspnet-helloworld:3.5
imagePullSecrets:
- name: harbor
tolerations:
- key: "windows"
operator: "Exists"
effect: "NoSchedule"
nodeSelector:
beta.kubernetes.io/os: windows
---
apiVersion: v1
kind: Service
metadata:
name: dotnet35
labels:
app: dotnet35
spec:
ports:
- port: 80
targetPort: 80
selector:
app: dotnet35
type: NodePort
You can’t perform that action at this time.