-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMunichSlim.yaml
More file actions
64 lines (60 loc) · 1.18 KB
/
MunichSlim.yaml
File metadata and controls
64 lines (60 loc) · 1.18 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
62
---
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/v1beta1
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:
- host:
http:
paths:
- path: /slim
backend:
serviceName: slim-service
servicePort: 80
---
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: {{ .Values.global.registry_url }}/slim:0.4.2
imagePullPolicy: always
ports:
- containerPort: 80
imagePullSecrets:
- name: registry-secret
---