forked from AmirSasson/Servicebus-JobScheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aks-deployment.yml
44 lines (44 loc) · 847 Bytes
/
aks-deployment.yml
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: sbus-jobsched
spec:
replicas: 1
selector:
matchLabels:
app: sbus-jobsched
template:
metadata:
labels:
app: sbus-jobsched
spec:
nodeSelector:
"beta.kubernetes.io/os": linux
containers:
- name: sbus-jobsched
image: <<registryname>>.azurecr.io/<<my-repository-name>>:latest
env:
- name: ALLOW_EMPTY_PASSWORD
value: "yes"
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 250m
memory: 256Mi
ports:
- containerPort: 6379
name: sbus-jobsched
---
apiVersion: v1
kind: Service
metadata:
name: sbus-jobsched
spec:
ports:
- port: 6379
selector:
app: sbus-jobsched
---
sbus-jobsched