Changeset 3:1678e10b820d

Replaced Strimzi/Kafka with RedPanda
author unexist
date Mon, 30 Aug 2021 16:55:53 +0200
parents b8eb60eedf21
children a7239d6e831b
files README.adoc
diffstat 1 files changed, 48 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/README.adoc	Mon Aug 30 16:07:10 2021 +0200
+++ b/README.adoc	Mon Aug 30 16:55:53 2021 +0200
@@ -57,9 +57,48 @@
 
 == Install Kafka
 
-kubectl create namespace kafka
-kubectl create -f 'https://strimzi.io/install/latest?namespace=kafka' -n kafka
-kubectl apply -f https://strimzi.io/examples/latest/kafka/kafka-persistent-single.yaml -n kafka
+```shell
+kubectl apply -f - <<EOF
+apiVersion: v1
+kind: Service
+metadata:
+  name: redpanda
+spec:
+  ports:
+  - name: http
+    port: 9092
+    targetPort: 9092
+  selector:
+    app.kubernetes.io/name: redpanda
+  type: ClusterIP
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  labels:
+    app.kubernetes.io/name: redpanda
+  name: redpanda
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app.kubernetes.io/name: redpanda
+  template:
+    metadata:
+      labels:
+        app.kubernetes.io/name: redpanda
+    spec:
+      containers:
+      - env:
+        image: vectorized/redpanda:latest
+        imagePullPolicy: Always
+        name: redpanda
+        ports:
+        - containerPort: 9092
+          name: http
+          protocol: TCP
+EOF
+```
 
 kubectl apply -f https://github.com/knative-sandbox/eventing-kafka-broker/releases/download/v0.25.0/eventing-kafka-controller.yaml
 kubectl apply -f https://github.com/knative-sandbox/eventing-kafka-broker/releases/download/v0.25.0/eventing-kafka-broker.yaml
@@ -89,9 +128,14 @@
 - https://github.com/csantanapr/knative-minikube
 - https://knative.dev/docs/admin/install/knative-with-operators/
 
+=== Kafka
 
 - https://vectorized.io/docs/quick-start-kubernetes/
 - https://github.com/piomin/sample-quarkus-serverless-kafka
 
+=== Apache Camel
+
 - https://camel.apache.org/docs/
-- https://www.awstutorials.cloud/post/tutorials/camel-k-on-minikube/
\ No newline at end of file
+- https://www.awstutorials.cloud/post/tutorials/camel-k-on-minikube/
+- https://piotrminkowski.com/2020/12/08/apache-camel-k-and-quarkus-on-kubernetes/
+