-
Notifications
You must be signed in to change notification settings - Fork 5
/
deployment.yaml
44 lines (44 loc) · 1008 Bytes
/
deployment.yaml
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: jobscheduler-web
spec:
replicas: 1
selector:
matchLabels:
app: jobscheduler
template:
metadata:
labels:
app: jobscheduler
tier: web
spec:
containers:
- name: jobscheduler-web
image: fbeltrao/aksjobscheduler-server:1.1
imagePullPolicy: Always
ports:
- containerPort: 8000
env:
- name: STORAGEKEY
value: "<storage key>"
- name: STORAGEACCOUNT
value: "<storage account name>"
- name: EVENTGRIDSASKEY
value: "<optional event grid sas key to notify when job is done>"
- name: EVENTGRIDENDPOINT
value: "<optional event grid endpoint to notify when job is done>"
---
kind: Service
apiVersion: v1
metadata:
name: jobscheduler-web-svc
spec:
selector:
app: jobscheduler
tier: web
ports:
- protocol: TCP
port: 80
targetPort: 8000
type: LoadBalancer