kibana-deployment.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. apiVersion: apps/v1beta2
  2. kind: Deployment
  3. metadata:
  4. name: kibana-logging
  5. namespace: logging
  6. labels:
  7. k8s-app: kibana-logging
  8. kubernetes.io/cluster-service: "true"
  9. addonmanager.kubernetes.io/mode: Reconcile
  10. spec:
  11. replicas: 1
  12. selector:
  13. matchLabels:
  14. k8s-app: kibana-logging
  15. template:
  16. metadata:
  17. labels:
  18. k8s-app: kibana-logging
  19. spec:
  20. containers:
  21. - name: kibana-logging
  22. image: docker.elastic.co/kibana/kibana:5.6.4
  23. resources:
  24. # need more cpu upon initialization, therefore burstable class
  25. limits:
  26. cpu: 1000m
  27. requests:
  28. cpu: 100m
  29. env:
  30. - name: ELASTICSEARCH_URL
  31. value: http://elasticsearch-logging:9200
  32. - name: SERVER_BASEPATH
  33. #value: /api/v1/proxy/namespaces/logging/services/kibana-logging
  34. value: /api/v1/namespaces/logging/services/kibana-logging/proxy
  35. - name: XPACK_MONITORING_ENABLED
  36. value: "false"
  37. - name: XPACK_SECURITY_ENABLED
  38. value: "false"
  39. ports:
  40. - containerPort: 5601
  41. name: ui
  42. protocol: TCP