blob: afd513ea703d72ef3c0a350ddeedd017de31cc23 (
plain)
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
|
#{{ if not .Values.disableLogdemoLogdemo }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: logdemo
namespace: "{{ .Values.nsPrefix }}-logdemo"
spec:
selector:
matchLabels:
app: logdemo
template:
metadata:
labels:
app: logdemo
name: logdemo
spec:
containers:
- image: {{ .Values.image.logdemo }}
imagePullPolicy: {{ .Values.pullPolicy }}
name: logdemo
volumeMounts:
- name: localtime
mountPath: /etc/localtime
readOnly: true
- name: logdemo-eteshare
mountPath: /share
ports:
- containerPort: 8080
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
volumes:
- name: localtime
hostPath:
path: /etc/localtime
- name: logdemo-eteshare
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/logdemo/eteshare
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}
|