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 () {
ulimit -l unlimited
exec /usr/local/bin/docker-entrypoint.sh
exec /docker-entrypoint.sh elasticsearch
}
function stop () {

View File

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

View File

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

View File

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

View File

@ -21,7 +21,7 @@ images:
apache_proxy: docker.io/httpd:2.4
memory_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
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
prometheus_elasticsearch_exporter: docker.io/justwatch/elasticsearch_exporter:1.0.1
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
@ -248,9 +248,6 @@ conf:
blacklist: ['elasticsearch', 'urllib3']
elasticsearch:
config:
xpack:
security:
enabled: false
bootstrap:
memory_lock: true
cluster:

View File

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

View File

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

View File

@ -90,8 +90,6 @@ spec:
- name: kibana
{{ 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 }}
securityContext:
runAsUser: 1000
command:
- /tmp/kibana.sh
- start

View File

@ -20,7 +20,7 @@ labels:
images:
tags:
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
image_repo_sync: docker.io/docker:17.07.0
pull_policy: IfNotPresent