aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStaffan Olsson <staffan@repos.se>2017-11-09 15:19:52 +0100
committerStaffan Olsson <staffan@repos.se>2017-11-09 15:19:52 +0100
commitf8fc2e5b85ab5fc1eb22c406b52e4d8b3da755d1 (patch)
tree8da31a50ff67f9a7d7d14176259bdd5a2b053793
parent8757e3a41c82b0631a15c68aa29b478f19df5242 (diff)
downloadkubernetes-kafka-f8fc2e5b85ab5fc1eb22c406b52e4d8b3da755d1.tar.gz
kubernetes-kafka-f8fc2e5b85ab5fc1eb22c406b52e4d8b3da755d1.tar.bz2
kubernetes-kafka-f8fc2e5b85ab5fc1eb22c406b52e4d8b3da755d1.zip
Makes kafka a feature folder too, consistent with the rest
-rw-r--r--README.md14
-rw-r--r--kafka/00namespace.yml (renamed from 00namespace.yml)0
-rw-r--r--kafka/10broker-config.yml (renamed from 10broker-config.yml)0
-rw-r--r--kafka/20dns.yml (renamed from 20dns.yml)0
-rw-r--r--kafka/30bootstrap-service.yml (renamed from 30bootstrap-service.yml)0
-rw-r--r--kafka/50kafka.yml (renamed from 50kafka.yml)0
-rw-r--r--kafka/test/00namespace.yml (renamed from test/00namespace.yml)0
-rw-r--r--kafka/test/kafkacat.yml (renamed from test/kafkacat.yml)0
-rw-r--r--kafka/test/produce-consume.yml (renamed from test/produce-consume.yml)0
9 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 2f007cc..61920ca 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,9 @@
# Kafka on Kubernetes
+_Manifests here now require Kubernetes 1.8.
+On earlier versions use [v2.1.0](https://github.com/Yolean/kubernetes-kafka/tree/v2.1.0)._
+
Transparent Kafka setup that you can grow with.
Good for both experiments and production.
@@ -49,7 +52,7 @@ To support automatic migration in the face of availability zone unavailability w
## Start Kafka
```
-kubectl apply -f ./
+kubectl apply -f ./kafka/
```
You might want to verify in logs that Kafka found its own DNS name(s) correctly. Look for records like:
@@ -61,7 +64,6 @@ kubectl -n kafka logs kafka-0 | grep "Registered broker"
That's it. Just add business value :wink:.
For clients we tend to use [librdkafka](https://github.com/edenhill/librdkafka)-based drivers like [node-rdkafka](https://github.com/Blizzard/node-rdkafka).
To use [Kafka Connect](http://kafka.apache.org/documentation/#connect) and [Kafka Streams](http://kafka.apache.org/documentation/streams/) you may want to take a look at our [sample](https://github.com/solsson/dockerfiles/tree/master/connect-files) [Dockerfile](https://github.com/solsson/dockerfiles/tree/master/streams-logfilter)s.
-And don't forget the [addon](https://github.com/Yolean/kubernetes-kafka/labels/addon)s.
## RBAC
@@ -75,8 +77,6 @@ kubectl apply -f rbac-namespace-default/
Tests are based on the [kube-test](https://github.com/Yolean/kube-test) concept.
Like the rest of this repo they have `kubectl` as the only local dependency.
-```
-kubectl apply -f test/
-# Anything that isn't READY here is a failed test
-kubectl get pods -l test-type=readiness -w --namespace=test-kafka
-```
+Run self-tests or not. They do generate some load, but indicate if the platform is working or not.
+ * To include tests, replace `apply -f` with `apply -R -f` in your `kubectl`s above.
+ * Anything that isn't READY in `kubectl get pods -l test-type=readiness --namespace=test-kafka` is a failed test.
diff --git a/00namespace.yml b/kafka/00namespace.yml
index a6cf001..a6cf001 100644
--- a/00namespace.yml
+++ b/kafka/00namespace.yml
diff --git a/10broker-config.yml b/kafka/10broker-config.yml
index c0c4c8c..c0c4c8c 100644
--- a/10broker-config.yml
+++ b/kafka/10broker-config.yml
diff --git a/20dns.yml b/kafka/20dns.yml
index 4088c31..4088c31 100644
--- a/20dns.yml
+++ b/kafka/20dns.yml
diff --git a/30bootstrap-service.yml b/kafka/30bootstrap-service.yml
index 7c2a337..7c2a337 100644
--- a/30bootstrap-service.yml
+++ b/kafka/30bootstrap-service.yml
diff --git a/50kafka.yml b/kafka/50kafka.yml
index dff4a79..dff4a79 100644
--- a/50kafka.yml
+++ b/kafka/50kafka.yml
diff --git a/test/00namespace.yml b/kafka/test/00namespace.yml
index fbb6e0e..fbb6e0e 100644
--- a/test/00namespace.yml
+++ b/kafka/test/00namespace.yml
diff --git a/test/kafkacat.yml b/kafka/test/kafkacat.yml
index 61a265c..61a265c 100644
--- a/test/kafkacat.yml
+++ b/kafka/test/kafkacat.yml
diff --git a/test/produce-consume.yml b/kafka/test/produce-consume.yml
index a326f01..a326f01 100644
--- a/test/produce-consume.yml
+++ b/kafka/test/produce-consume.yml