From 12bcafb38edb5e1148a7bae756e7a18b71abc424 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sat, 10 Mar 2018 13:29:12 +0100 Subject: [PATCH 1/3] Burrow's master now handles api v3 --- linkedin-burrow/burrow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkedin-burrow/burrow.yml b/linkedin-burrow/burrow.yml index 2e8c6b5c..ef993573 100644 --- a/linkedin-burrow/burrow.yml +++ b/linkedin-burrow/burrow.yml @@ -34,7 +34,7 @@ spec: - name: config mountPath: /etc/burrow - name: prom - image: solsson/burrow-exporter:api-v3@sha256:dd690c04ae31c62e4d7d5398f24f368fb2c48046ec3ae68bbc7582c114819a7b + image: solsson/burrow-exporter@sha256:379199629e22a25e140a391f0a52bb5e222e6a639ce2314d8a995d0eeecb6c3f ports: - name: prometheus containerPort: 8080 From ccaa2275191275fa504c5f8f022984e4180d1f28 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Fri, 23 Mar 2018 23:16:18 +0100 Subject: [PATCH 2/3] Container fails to start, I see no logs --- ksql/ksql-service.yml | 10 ++++++++++ ksql/ksql.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 ksql/ksql-service.yml create mode 100644 ksql/ksql.yml diff --git a/ksql/ksql-service.yml b/ksql/ksql-service.yml new file mode 100644 index 00000000..227d5f7b --- /dev/null +++ b/ksql/ksql-service.yml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Service +metadata: + name: ksql + namespace: kafka +spec: + ports: + - port: 80 + selector: + app: ksql-cli diff --git a/ksql/ksql.yml b/ksql/ksql.yml new file mode 100644 index 00000000..1014cda1 --- /dev/null +++ b/ksql/ksql.yml @@ -0,0 +1,33 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: ksql + namespace: kafka + labels: + app: ksql-cli +spec: + replicas: 1 + selector: + matchLabels: + app: ksql-cli + template: + metadata: + labels: + app: ksql-cli + spec: + containers: + - name: ksql-cli + image: confluentinc/ksql-cli:0.5@sha256:e86a32edefdfc5c4aa0b0015f6a62eacc8a3ead175362450dbd4786d6ad4851f + ports: + - containerPort: 80 + env: + - name: KSQL_CONFIG_DIR + value: /etc/ksql + - name: KSQL_LOG4J_OPTS + value: -Dlog4j.configuration=file:/etc/ksql/log4j-rolling.properties + - name: STREAMS_BOOTSTRAP_SERVERS + value: bootstrap.kafka:9092 + - name: STREAMS_SCHEMA_REGISTRY_HOST + value: avro-schemas + - name: STREAMS_SCHEMA_REGISTRY_PORT + value: "80" From fdd4501eb0e3c9dc506215ef5e329dc649dd7848 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Fri, 23 Mar 2018 23:37:01 +0100 Subject: [PATCH 3/3] This log config looks better, but makes no difference regarding start --- ksql/ksql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ksql/ksql.yml b/ksql/ksql.yml index 1014cda1..b70de498 100644 --- a/ksql/ksql.yml +++ b/ksql/ksql.yml @@ -24,7 +24,7 @@ spec: - name: KSQL_CONFIG_DIR value: /etc/ksql - name: KSQL_LOG4J_OPTS - value: -Dlog4j.configuration=file:/etc/ksql/log4j-rolling.properties + value: -Dlog4j.configuration=file:/etc/ksql/log4j.properties - name: STREAMS_BOOTSTRAP_SERVERS value: bootstrap.kafka:9092 - name: STREAMS_SCHEMA_REGISTRY_HOST