Skip to content

Commit

Permalink
[test] disable elasticsearch_kerberos.elastic container (#21846)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Oct 15, 2020
1 parent 8de1a7d commit 4e06214
Showing 1 changed file with 32 additions and 30 deletions.
62 changes: 32 additions & 30 deletions libbeat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ services:
- ES_MONITORING_HOST=elasticsearch_monitoring
- ES_MONITORING_PORT=9200
- ES_HOST_SSL=elasticsearchssl
- ES_KERBEROS_HOST=elasticsearch_kerberos.elastic
# See https://github.com/elastic/beats/issues/21838
# - ES_KERBEROS_HOST=elasticsearch_kerberos.elastic
- ES_PORT_SSL=9200
- ES_SUPERUSER_USER=admin
- ES_SUPERUSER_PASS=changeme
Expand All @@ -43,7 +44,8 @@ services:
image: busybox
depends_on:
elasticsearch: { condition: service_healthy }
elasticsearch_kerberos.elastic: { condition: service_healthy }
# See https://github.com/elastic/beats/issues/21838
# elasticsearch_kerberos.elastic: { condition: service_healthy }
elasticsearch_monitoring: { condition: service_healthy }
elasticsearchssl: { condition: service_healthy }
logstash: { condition: service_healthy }
Expand Down Expand Up @@ -128,34 +130,34 @@ services:
environment:
- ADVERTISED_HOST=kafka

elasticsearch_kerberos.elastic:
build: ${ES_BEATS}/testing/environments/docker/elasticsearch_kerberos
healthcheck:
test: bash -c "/healthcheck.sh"
retries: 1200
interval: 5s
start_period: 60s
environment:
- "TERM=linux"
- "ELASTIC_PASSWORD=changeme"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m -Djava.security.krb5.conf=/etc/krb5.conf"
- "network.host="
- "transport.host=127.0.0.1"
- "http.host=0.0.0.0"
- "xpack.security.enabled=true"
- "indices.id_field_data.enabled=true"
- "xpack.license.self_generated.type=trial"
- "xpack.security.authc.realms.kerberos.ELASTIC.order=1"
- "xpack.security.authc.realms.kerberos.ELASTIC.keytab.path=/usr/share/elasticsearch/config/HTTP_elasticsearch_kerberos.elastic.keytab"
hostname: elasticsearch_kerberos.elastic
volumes:
# This is needed otherwise there won't be enough entropy to generate a new kerberos realm
- /dev/urandom:/dev/random
ports:
- 1088
- 1749
- 9200
command: bash -c "/start.sh"
# elasticsearch_kerberos.elastic:
# build: ${ES_BEATS}/testing/environments/docker/elasticsearch_kerberos
# healthcheck:
# test: bash -c "/healthcheck.sh"
# retries: 1200
# interval: 5s
# start_period: 60s
# environment:
# - "TERM=linux"
# - "ELASTIC_PASSWORD=changeme"
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Djava.security.krb5.conf=/etc/krb5.conf"
# - "network.host="
# - "transport.host=127.0.0.1"
# - "http.host=0.0.0.0"
# - "xpack.security.enabled=true"
# - "indices.id_field_data.enabled=true"
# - "xpack.license.self_generated.type=trial"
# - "xpack.security.authc.realms.kerberos.ELASTIC.order=1"
# - "xpack.security.authc.realms.kerberos.ELASTIC.keytab.path=/usr/share/elasticsearch/config/HTTP_elasticsearch_kerberos.elastic.keytab"
# hostname: elasticsearch_kerberos.elastic
# volumes:
# # This is needed otherwise there won't be enough entropy to generate a new kerberos realm
# - /dev/urandom:/dev/random
# ports:
# - 1088
# - 1749
# - 9200
# command: bash -c "/start.sh"

kibana:
extends:
Expand Down

0 comments on commit 4e06214

Please sign in to comment.