Graylog in kubernetes

(Akash Kumar Dutta) #1

Its very difficult to understand the environmental varibales required to be set up in kubernetes for graylog, can anyone please help me set them, currently I am using this yaml for kubernetes :
apiVersion: extensions/v1beta1 kind: Deployment metadata: name: graylog-dep spec: replicas: 1 template: metadata: labels: app: graylog spec: containers: - name: mongo-db image: ports: - containerPort: 27017 - name: graylog-search image: env: - name : GRAYLOG_PASSWORD_SECRET value: "somepasswordpepper" - name: GRAYLOG_ROOT_PASSWORD_SHA2 value: "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918" - name: GRAYLOG_WEB_ENDPOINT_URI value: "" - name: ELASTICSEARCH_DISCOVERY_ZEN_PING_MULTICAST_ENABLED value: "false" - name: ELASTICSEARCH_DISCOVERY_ZEN_PING_UNICAST_HOSTS value: "elastic-svc.default.svc.cluster.local:9300" ports: - containerPort: 9000
I have a different service for elastic search whose name is elastic-svc and port 9300 for the service. But the address doesnt shows anything. Please enlighten what are the required environmental varialbes that I would be needing !

(system) closed #2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.