|
|
@ -1,6 +1,6 @@ |
|
|
|
--- |
|
|
|
# https://raw.githubusercontent.com/kubernetes/kubernetes/v1.5.2/cluster/addons/fluentd-kibana/kibana-controller.yaml |
|
|
|
apiVersion: extensions/v1beta1 |
|
|
|
# https://raw.githubusercontent.com/kubernetes/kubernetes/release-1.10/cluster/addons/fluentd-elasticsearch/kibana-deployment.yaml |
|
|
|
apiVersion: apps/v1 |
|
|
|
kind: Deployment |
|
|
|
metadata: |
|
|
|
name: kibana-logging |
|
|
@ -36,10 +36,12 @@ spec: |
|
|
|
env: |
|
|
|
- name: "ELASTICSEARCH_URL" |
|
|
|
value: "http://elasticsearch-logging:{{ elasticsearch_service_port }}" |
|
|
|
{% if kibana_base_url is defined and kibana_base_url != "" %} |
|
|
|
- name: "KIBANA_BASE_URL" |
|
|
|
value: "{{ kibana_base_url }}" |
|
|
|
{% endif %} |
|
|
|
- name: "SERVER_BASEPATH" |
|
|
|
value: "/api/v1/namespaces/kube-system/services/kibana-logging/proxy" |
|
|
|
- name: XPACK_MONITORING_ENABLED |
|
|
|
value: "false" |
|
|
|
- name: XPACK_SECURITY_ENABLED |
|
|
|
value: "false" |
|
|
|
ports: |
|
|
|
- containerPort: 5601 |
|
|
|
name: ui |
|
|
|