Renamed and duplicated YAML-files for services
authorKai Moritz <kai@juplo.de>
Wed, 27 Sep 2023 20:41:39 +0000 (22:41 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 27 Sep 2023 20:47:28 +0000 (22:47 +0200)
15 files changed:
kubernetes/kafka-1-cluster.yaml [new file with mode: 0644]
kubernetes/kafka-1-localhost.yaml [new file with mode: 0644]
kubernetes/kafka-1-service.yaml [deleted file]
kubernetes/kafka-2-cluster.yaml [new file with mode: 0644]
kubernetes/kafka-2-localhost.yaml [new file with mode: 0644]
kubernetes/kafka-2-service.yaml [deleted file]
kubernetes/kafka-3-cluster.yaml [new file with mode: 0644]
kubernetes/kafka-3-localhost.yaml [new file with mode: 0644]
kubernetes/kafka-3-service.yaml [deleted file]
kubernetes/kafka-4-cluster.yaml [new file with mode: 0644]
kubernetes/kafka-4-localhost.yaml [new file with mode: 0644]
kubernetes/kafka-4-service.yaml [deleted file]
kubernetes/kafka-5-cluster.yaml [new file with mode: 0644]
kubernetes/kafka-5-localhost.yaml [new file with mode: 0644]
kubernetes/kafka-5-service.yaml [deleted file]

diff --git a/kubernetes/kafka-1-cluster.yaml b/kubernetes/kafka-1-cluster.yaml
new file mode 100644 (file)
index 0000000..13265d7
--- /dev/null
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-1
+  name: kafka-1
+  namespace: kafka
+spec:
+  ports:
+    - name: "9081"
+      port: 9081
+      targetPort: 9081
+    - name: "7001"
+      port: 7001
+      targetPort: 7000
+  selector:
+    kafka: kafka-1
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-1-localhost.yaml b/kubernetes/kafka-1-localhost.yaml
new file mode 100644 (file)
index 0000000..13265d7
--- /dev/null
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-1
+  name: kafka-1
+  namespace: kafka
+spec:
+  ports:
+    - name: "9081"
+      port: 9081
+      targetPort: 9081
+    - name: "7001"
+      port: 7001
+      targetPort: 7000
+  selector:
+    kafka: kafka-1
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-1-service.yaml b/kubernetes/kafka-1-service.yaml
deleted file mode 100644 (file)
index 13265d7..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
-  labels:
-    kafka: kafka-1
-  name: kafka-1
-  namespace: kafka
-spec:
-  ports:
-    - name: "9081"
-      port: 9081
-      targetPort: 9081
-    - name: "7001"
-      port: 7001
-      targetPort: 7000
-  selector:
-    kafka: kafka-1
-status:
-  loadBalancer: {}
diff --git a/kubernetes/kafka-2-cluster.yaml b/kubernetes/kafka-2-cluster.yaml
new file mode 100644 (file)
index 0000000..d2a32d1
--- /dev/null
@@ -0,0 +1,22 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-2
+  name: kafka-2
+  namespace: kafka
+spec:
+  ports:
+    - name: "9092"
+      port: 9092
+      targetPort: 9082
+    - name: "9082"
+      port: 9082
+      targetPort: 9082
+    - name: "7002"
+      port: 7002
+      targetPort: 7000
+  selector:
+    kafka: kafka-2
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-2-localhost.yaml b/kubernetes/kafka-2-localhost.yaml
new file mode 100644 (file)
index 0000000..d2a32d1
--- /dev/null
@@ -0,0 +1,22 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-2
+  name: kafka-2
+  namespace: kafka
+spec:
+  ports:
+    - name: "9092"
+      port: 9092
+      targetPort: 9082
+    - name: "9082"
+      port: 9082
+      targetPort: 9082
+    - name: "7002"
+      port: 7002
+      targetPort: 7000
+  selector:
+    kafka: kafka-2
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-2-service.yaml b/kubernetes/kafka-2-service.yaml
deleted file mode 100644 (file)
index d2a32d1..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
-  labels:
-    kafka: kafka-2
-  name: kafka-2
-  namespace: kafka
-spec:
-  ports:
-    - name: "9092"
-      port: 9092
-      targetPort: 9082
-    - name: "9082"
-      port: 9082
-      targetPort: 9082
-    - name: "7002"
-      port: 7002
-      targetPort: 7000
-  selector:
-    kafka: kafka-2
-status:
-  loadBalancer: {}
diff --git a/kubernetes/kafka-3-cluster.yaml b/kubernetes/kafka-3-cluster.yaml
new file mode 100644 (file)
index 0000000..be27112
--- /dev/null
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-3
+  name: kafka-3
+  namespace: kafka
+spec:
+  ports:
+    - name: "9083"
+      port: 9083
+      targetPort: 9083
+    - name: "7003"
+      port: 7003
+      targetPort: 7000
+  selector:
+    kafka: kafka-3
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-3-localhost.yaml b/kubernetes/kafka-3-localhost.yaml
new file mode 100644 (file)
index 0000000..be27112
--- /dev/null
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-3
+  name: kafka-3
+  namespace: kafka
+spec:
+  ports:
+    - name: "9083"
+      port: 9083
+      targetPort: 9083
+    - name: "7003"
+      port: 7003
+      targetPort: 7000
+  selector:
+    kafka: kafka-3
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-3-service.yaml b/kubernetes/kafka-3-service.yaml
deleted file mode 100644 (file)
index be27112..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
-  labels:
-    kafka: kafka-3
-  name: kafka-3
-  namespace: kafka
-spec:
-  ports:
-    - name: "9083"
-      port: 9083
-      targetPort: 9083
-    - name: "7003"
-      port: 7003
-      targetPort: 7000
-  selector:
-    kafka: kafka-3
-status:
-  loadBalancer: {}
diff --git a/kubernetes/kafka-4-cluster.yaml b/kubernetes/kafka-4-cluster.yaml
new file mode 100644 (file)
index 0000000..b616e9e
--- /dev/null
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-4
+  name: kafka-4
+  namespace: kafka
+spec:
+  ports:
+    - name: "9084"
+      port: 9084
+      targetPort: 9084
+    - name: "7004"
+      port: 7004
+      targetPort: 7000
+  selector:
+    kafka: kafka-4
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-4-localhost.yaml b/kubernetes/kafka-4-localhost.yaml
new file mode 100644 (file)
index 0000000..b616e9e
--- /dev/null
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-4
+  name: kafka-4
+  namespace: kafka
+spec:
+  ports:
+    - name: "9084"
+      port: 9084
+      targetPort: 9084
+    - name: "7004"
+      port: 7004
+      targetPort: 7000
+  selector:
+    kafka: kafka-4
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-4-service.yaml b/kubernetes/kafka-4-service.yaml
deleted file mode 100644 (file)
index b616e9e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
-  labels:
-    kafka: kafka-4
-  name: kafka-4
-  namespace: kafka
-spec:
-  ports:
-    - name: "9084"
-      port: 9084
-      targetPort: 9084
-    - name: "7004"
-      port: 7004
-      targetPort: 7000
-  selector:
-    kafka: kafka-4
-status:
-  loadBalancer: {}
diff --git a/kubernetes/kafka-5-cluster.yaml b/kubernetes/kafka-5-cluster.yaml
new file mode 100644 (file)
index 0000000..bf551cd
--- /dev/null
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-5
+  name: kafka-5
+  namespace: kafka
+spec:
+  ports:
+    - name: "9085"
+      port: 9085
+      targetPort: 9085
+    - name: "7005"
+      port: 7005
+      targetPort: 7000
+  selector:
+    kafka: kafka-5
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-5-localhost.yaml b/kubernetes/kafka-5-localhost.yaml
new file mode 100644 (file)
index 0000000..bf551cd
--- /dev/null
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    kafka: kafka-5
+  name: kafka-5
+  namespace: kafka
+spec:
+  ports:
+    - name: "9085"
+      port: 9085
+      targetPort: 9085
+    - name: "7005"
+      port: 7005
+      targetPort: 7000
+  selector:
+    kafka: kafka-5
+status:
+  loadBalancer: {}
diff --git a/kubernetes/kafka-5-service.yaml b/kubernetes/kafka-5-service.yaml
deleted file mode 100644 (file)
index bf551cd..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-apiVersion: v1
-kind: Service
-metadata:
-  labels:
-    kafka: kafka-5
-  name: kafka-5
-  namespace: kafka
-spec:
-  ports:
-    - name: "9085"
-      port: 9085
-      targetPort: 9085
-    - name: "7005"
-      port: 7005
-      targetPort: 7000
-  selector:
-    kafka: kafka-5
-status:
-  loadBalancer: {}