-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMunichSlim_moreRecent.yaml
More file actions
61 lines (61 loc) · 1.23 KB
/
MunichSlim_moreRecent.yaml
File metadata and controls
61 lines (61 loc) · 1.23 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
61
---
apiVersion: v1
kind: Service
metadata:
name: slim-service
namespace: store
spec:
selector:
app-name: slim
ports:
- name: slim-http
port: 80
protocol: TCP
type: ClusterIP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: slim-ingress
namespace: store
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: kube-system-errorpages@kubernetescrd
kubernetes.io/ingress.global-static-ip-name: "kubernetes-ingress"
spec:
rules:
- http:
paths:
- path: /slim
pathType: Prefix
backend:
service:
name: slim-service
port:
name: slim-http
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: slim
namespace: store
spec:
replicas: 1
selector:
matchLabels:
app-name: slim
strategy:
type: Recreate
template:
metadata:
labels:
app-name: slim
spec:
containers:
- name: slim-container
image: registry.hzdr.de/maximilian.fischer/kaapana_branchupdate/slim:0.4.2
imagePullPolicy: Always
ports:
- containerPort: 80
imagePullSecrets:
- name: registry-secret