-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscaled-sample-deployment.yaml
More file actions
60 lines (60 loc) · 1.12 KB
/
Copy pathscaled-sample-deployment.yaml
File metadata and controls
60 lines (60 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: talknotesback
spec:
replicas: 1
template:
metadata:
labels:
app: talknotesback
spec:
containers:
- name: talknotesback
image: kubecontainerregistry.azurecr.io/scaled/talknotesback
ports:
- containerPort: 8082
imagePullSecrets:
- name: regsecret
nodeSelector:
beta.kubernetes.io/os: windows
---
apiVersion: v1
kind: Service
metadata:
name: talk-notes-back
spec:
ports:
- port: 8082
selector:
app: talknotesback
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: talk-notes-front
spec:
replicas: 1
template:
metadata:
labels:
app: talk-notes-front
spec:
containers:
- name: talk-notes-front
image: kubecontainerregistry.azurecr.io/scaled/talknotesfront
imagePullSecrets:
- name: regsecret
nodeSelector:
beta.kubernetes.io/os: windows
---
apiVersion: v1
kind: Service
metadata:
name: talk-notes-front
spec:
type: LoadBalancer
ports:
- port: 8081
selector:
app: talk-notes-front