-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.yaml
More file actions
52 lines (51 loc) · 1.24 KB
/
deployment.yaml
File metadata and controls
52 lines (51 loc) · 1.24 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
# Be sure to change the environment variables below for DOCKERUSER and DOCKERPASS
apiVersion: apps/v1
kind: Deployment
metadata:
name: launch
namespace: cir-anders-namespace
spec:
replicas: 1
selector:
matchLabels:
app: launch
template:
metadata:
labels:
app: launch
spec:
containers:
- name: launch-frontend
image: stolaunch/launchfrontend:latest
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 5000
- name: launch-backend
image: stolaunch/launchbackend:latest
env:
- name: DOCKERUSER
value: "stolaunch"
- name: DOCKERPASS
value: "launchpass"
- name: NAMESPACE
value: "cir-anders-namespace"
#- name: DEPLOYED
# value: "True"
resources:
limits:
cpu: "500m"
ports:
- containerPort: 5001
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket-volume
securityContext:
privileged: true
volumes:
- name: docker-socket-volume
hostPath:
path: /var/run/docker.sock
type: File