Skip to content

Commit f8fc2e5

Browse files
committed
Makes kafka a feature folder too, consistent with the rest
1 parent 8757e3a commit f8fc2e5

File tree

9 files changed

+7
-7
lines changed

9 files changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
# Kafka on Kubernetes
44

5+
_Manifests here now require Kubernetes 1.8.
6+
On earlier versions use [v2.1.0](https://github.com/Yolean/kubernetes-kafka/tree/v2.1.0)._
7+
58
Transparent Kafka setup that you can grow with.
69
Good for both experiments and production.
710

@@ -49,7 +52,7 @@ To support automatic migration in the face of availability zone unavailability w
4952
## Start Kafka
5053

5154
```
52-
kubectl apply -f ./
55+
kubectl apply -f ./kafka/
5356
```
5457

5558
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"
6164
That's it. Just add business value :wink:.
6265
For clients we tend to use [librdkafka](https://github.com/edenhill/librdkafka)-based drivers like [node-rdkafka](https://github.com/Blizzard/node-rdkafka).
6366
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.
64-
And don't forget the [addon](https://github.com/Yolean/kubernetes-kafka/labels/addon)s.
6567

6668
## RBAC
6769

@@ -75,8 +77,6 @@ kubectl apply -f rbac-namespace-default/
7577
Tests are based on the [kube-test](https://github.com/Yolean/kube-test) concept.
7678
Like the rest of this repo they have `kubectl` as the only local dependency.
7779

78-
```
79-
kubectl apply -f test/
80-
# Anything that isn't READY here is a failed test
81-
kubectl get pods -l test-type=readiness -w --namespace=test-kafka
82-
```
80+
Run self-tests or not. They do generate some load, but indicate if the platform is working or not.
81+
* To include tests, replace `apply -f` with `apply -R -f` in your `kubectl`s above.
82+
* Anything that isn't READY in `kubectl get pods -l test-type=readiness --namespace=test-kafka` is a failed test.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)