forked from mouaadaassou/K8s-Graylog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraylog-deploy.yaml
54 lines (54 loc) · 1.51 KB
/
graylog-deploy.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: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
service: graylog-deploy
name: graylog-deploy
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
service: graylog-deploy
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
service: graylog-deploy
spec:
containers:
- env:
- name: GRAYLOG_PASSWORD_SECRET
value: g0ABP9MJnWCjWtBX9JHFgjKAmD3wGXP3E0JQNOKlquDHnCn5689QAF8rRL66HacXLPA6fvwMY8BZoVVw0JqHnSAZorDDOdCk
- name: GRAYLOG_ROOT_PASSWORD_SHA2
value: 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
- name: GRAYLOG_HTTP_EXTERNAL_URI
value: http://your_ip_address:30003/
- name: GRAYLOG_ELASTICSEARCH_HOSTS
value: http://es6:9200
- name: GRAYLOG_MONGODB_URI
value: mongodb://mongo:27017/graylog
image: graylog/graylog:3.0
imagePullPolicy: IfNotPresent
name: graylog3
ports:
- containerPort: 9000
protocol: TCP
- containerPort: 12201
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status: {}