Merge "Revert Elasticsearch/Kibana image change"

This commit is contained in:
Zuul 2018-03-12 19:13:34 +00:00 committed by Gerrit Code Review
commit 33cb0e8433
9 changed files with 25 additions and 11 deletions

View File

@ -20,7 +20,7 @@ COMMAND="${@:-start}"
function start () { function start () {
ulimit -l unlimited ulimit -l unlimited
exec /usr/local/bin/docker-entrypoint.sh exec /docker-entrypoint.sh elasticsearch
} }
function stop () { function stop () {

View File

@ -207,6 +207,8 @@ spec:
mountPath: /tmp/elasticsearch.sh mountPath: /tmp/elasticsearch.sh
subPath: elasticsearch.sh subPath: elasticsearch.sh
readOnly: true readOnly: true
- name: elasticsearch-config
mountPath: /usr/share/elasticsearch/config
- name: elasticsearch-etc - name: elasticsearch-etc
mountPath: /usr/share/elasticsearch/config/elasticsearch.yml mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
subPath: elasticsearch.yml subPath: elasticsearch.yml
@ -225,6 +227,8 @@ spec:
volumes: volumes:
- name: pod-etc-apache - name: pod-etc-apache
emptyDir: {} emptyDir: {}
- name: elasticsearch-config
emptyDir: {}
- name: elasticsearch-logs - name: elasticsearch-logs
emptyDir: {} emptyDir: {}
- name: elasticsearch-bin - name: elasticsearch-bin

View File

@ -163,6 +163,8 @@ spec:
mountPath: /tmp/elasticsearch.sh mountPath: /tmp/elasticsearch.sh
subPath: elasticsearch.sh subPath: elasticsearch.sh
readOnly: true readOnly: true
- name: elasticsearch-config
mountPath: /usr/share/elasticsearch/config
- name: elasticsearch-etc - name: elasticsearch-etc
mountPath: /usr/share/elasticsearch/config/elasticsearch.yml mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
subPath: elasticsearch.yml subPath: elasticsearch.yml
@ -181,6 +183,8 @@ spec:
volumes: volumes:
- name: elasticsearch-logs - name: elasticsearch-logs
emptyDir: {} emptyDir: {}
- name: elasticsearch-config
emptyDir: {}
- name: elasticsearch-bin - name: elasticsearch-bin
configMap: configMap:
name: elasticsearch-bin name: elasticsearch-bin

View File

@ -160,6 +160,8 @@ spec:
mountPath: /tmp/elasticsearch.sh mountPath: /tmp/elasticsearch.sh
subPath: elasticsearch.sh subPath: elasticsearch.sh
readOnly: true readOnly: true
- name: elasticsearch-config
mountPath: /usr/share/elasticsearch/config
- name: elasticsearch-etc - name: elasticsearch-etc
mountPath: /usr/share/elasticsearch/config/elasticsearch.yml mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
subPath: elasticsearch.yml subPath: elasticsearch.yml
@ -178,6 +180,8 @@ spec:
volumes: volumes:
- name: elasticsearch-logs - name: elasticsearch-logs
emptyDir: {} emptyDir: {}
- name: elasticsearch-config
emptyDir: {}
- name: elasticsearch-bin - name: elasticsearch-bin
configMap: configMap:
name: elasticsearch-bin name: elasticsearch-bin

View File

@ -21,7 +21,7 @@ images:
apache_proxy: docker.io/httpd:2.4 apache_proxy: docker.io/httpd:2.4
memory_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3 memory_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
curator: docker.io/bobrik/curator:5.2.0 curator: docker.io/bobrik/curator:5.2.0
elasticsearch: docker.elastic.co/elasticsearch/elasticsearch:6.2.2 elasticsearch: docker.io/elasticsearch:5.6.4
helm_tests: docker.io/kolla/ubuntu-source-heat-engine:3.0.3 helm_tests: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
prometheus_elasticsearch_exporter: docker.io/justwatch/elasticsearch_exporter:1.0.1 prometheus_elasticsearch_exporter: docker.io/justwatch/elasticsearch_exporter:1.0.1
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1 dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
@ -248,9 +248,6 @@ conf:
blacklist: ['elasticsearch', 'urllib3'] blacklist: ['elasticsearch', 'urllib3']
elasticsearch: elasticsearch:
config: config:
xpack:
security:
enabled: false
bootstrap: bootstrap:
memory_lock: true memory_lock: true
cluster: cluster:

View File

@ -135,7 +135,11 @@ section):
{{- include "fluent_logging.recursive_tuple" $value | indent 2 }} {{- include "fluent_logging.recursive_tuple" $value | indent 2 }}
} }
{{- else }} {{- else }}
{{- if eq $key "index_patterns"}}
{{ $key | quote -}}: [{{ $value | quote }}]
{{- else }}
{{ $key | quote -}}:{{ $value | quote }} {{ $key | quote -}}:{{ $value | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}

View File

@ -73,6 +73,8 @@ dependencies:
- endpoint: internal - endpoint: internal
service: fluentd service: fluentd
fluentd: fluentd:
jobs:
- elasticsearch-template
services: services:
- endpoint: internal - endpoint: internal
service: elasticsearch service: elasticsearch
@ -159,17 +161,18 @@ conf:
max_retry_wait: 300 max_retry_wait: 300
disable_retry_limit: "" disable_retry_limit: ""
num_threads: 8 num_threads: 8
type_name: fluentd
fluentd_exporter: fluentd_exporter:
log: log:
format: "logger:stdout?json=true" format: "logger:stdout?json=true"
level: "info" level: "info"
template: template:
template: "logstash-*" template: "logstash-*"
index_patterns: "logstash-*"
settings: settings:
number_of_shards: 5 number_of_shards: 1
number_of_replicas: 1
mappings: mappings:
_doc: doc:
properties: properties:
kubernetes: kubernetes:
properties: properties:

View File

@ -90,8 +90,6 @@ spec:
- name: kibana - name: kibana
{{ tuple $envAll "kibana" | include "helm-toolkit.snippets.image" | indent 10 }} {{ tuple $envAll "kibana" | include "helm-toolkit.snippets.image" | indent 10 }}
{{ tuple $envAll $envAll.Values.pod.resources.kibana | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }} {{ tuple $envAll $envAll.Values.pod.resources.kibana | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
securityContext:
runAsUser: 1000
command: command:
- /tmp/kibana.sh - /tmp/kibana.sh
- start - start

View File

@ -20,7 +20,7 @@ labels:
images: images:
tags: tags:
apache_proxy: docker.io/httpd:2.4 apache_proxy: docker.io/httpd:2.4
kibana: docker.elastic.co/kibana/kibana:6.2.2 kibana: docker.io/kibana:5.6.4
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1 dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
image_repo_sync: docker.io/docker:17.07.0 image_repo_sync: docker.io/docker:17.07.0
pull_policy: IfNotPresent pull_policy: IfNotPresent