File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ apiVersion : v2
2+ name : my-app
3+ version : 1.0.0
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : ConfigMap
3+ metadata :
4+ name : my-app
5+ data :
6+ training-application.conf : |
7+ name: {{ .Values.name }}
8+ version: {{ .Values.version }}
9+ message: {{ .Values.message }}
10+ color: {{ .Values.color }}
11+ catMode: {{ .Values.catMode }}
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : my-app
5+ labels :
6+ app : my-app
7+ spec :
8+ replicas : 3
9+ selector :
10+ matchLabels :
11+ app : my-app
12+ template :
13+ metadata :
14+ labels :
15+ app : my-app
16+ spec :
17+ terminationGracePeriodSeconds : 0
18+ containers :
19+ - name : blue
20+ image : " {{ .Values.image.name }}:{{ .Values.image.tag }}"
21+ imagePullPolicy : Always
22+ tty : true
23+ stdin : true
24+ ports :
25+ - name : http
26+ containerPort : 8080
27+ livenessProbe :
28+ httpGet :
29+ path : /liveness/
30+ port : 8080
31+ readinessProbe :
32+ httpGet :
33+ path : /readiness/
34+ port : 8080
35+ resources :
36+ requests :
37+ cpu : 100m
38+ memory : 100Mi
39+ limits :
40+ cpu : 100m
41+ memory : 100Mi
42+ volumeMounts :
43+ - name : my-volume
44+ mountPath : /app/training-application.conf
45+ subPath : training-application.conf
46+ volumes :
47+ - name : my-volume
48+ configMap :
49+ name : my-app
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : my-app
5+ spec :
6+ type : {{ .Values.service.type }}
7+ selector :
8+ app : my-app
9+ ports :
10+ - name : http
11+ port : 80
12+ targetPort : http
Original file line number Diff line number Diff line change 1+ name : my-app
2+ version : v1
3+ image :
4+ name : quay.io/kubermatic-labs/training-application
5+ tag : 4.0.0
6+ color : white
7+ message : " Hello from the app installed via helm"
8+ catMode : true
9+
10+ service :
11+ type : ClusterIP
Original file line number Diff line number Diff line change 22
33## verify leak cpu method
44
5- ## add timestamp when the process was started
6-
75## add ip info to application
86
97## make root.html configurable (parse on runtime) for CF
You can’t perform that action at this time.
0 commit comments