-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk8s.yaml
54 lines (54 loc) · 1.14 KB
/
k8s.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
45
46
47
48
49
50
51
52
53
54
apiVersion: v1
kind: Service
metadata:
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
labels:
io.kompose.service: admin-portal
name: admin-portal
spec:
ports:
- name: "8081"
port: 8081
type: LoadBalancer
selector:
io.kompose.service: admin-portal
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
labels:
io.kompose.service: admin-portal
name: admin-portal
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
io.kompose.service: admin-portal
template:
metadata:
labels:
io.kompose.service: admin-portal
spec:
restartPolicy: Always
containers:
- image: fintlabsacr.azurecr.io/fint-admin-portal:dummy
name: admin-portal
resources:
limits:
memory: "2Gi"
cpu: "500m"
requests:
memory: "256Mi"
cpu: "100m"
ports:
- containerPort: 8081
envFrom:
- secretRef:
name: fint-portal-user
env:
- name: TZ
value: Europe/Oslo