+++ /dev/null
-version: '3.2'
-
-services:
-
- zookeeper:
- build: bitnami/zookeeper:3.9.0
- environment:
- ALLOW_ANONYMOUS_LOGIN: 'yes'
- ZOO_ENABLE_PROMETHEUS_METRICS: 'yes'
- volumes:
- - zookeeper:/bitnami/zookeeper
- ports:
- - 2181:2181
- - 7000:7070
-
- kafka-1:
- image: bitnami/kafka:3.4.0
- environment:
- KAFKA_ENABLE_KRAFT: 'false'
- KAFKA_OPTS:
- -Dcom.sun.management.jmxremote=true
- -Dcom.sun.management.jmxremote.port=7000
- -Dcom.sun.management.jmxremote.authenticate=false
- KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
- KAFKA_CFG_LISTENERS: BROKER://:9092, LOCALHOST://:9081
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-1:9092, LOCALHOST://localhost:9081
- KAFKA_BROKER_ID: 1
- ALLOW_PLAINTEXT_LISTENER: 'yes'
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
- KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
- KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
- volumes:
- - kafka-1:/bitnami/kafka
- ports:
- - 9081:9081
- - 7001:7000
- depends_on:
- - zookeeper
-
- kafka-2:
- image: bitnami/kafka:3.4.0
- environment:
- KAFKA_ENABLE_KRAFT: 'false'
- KAFKA_OPTS:
- -Dcom.sun.management.jmxremote=true
- -Dcom.sun.management.jmxremote.port=7000
- -Dcom.sun.management.jmxremote.authenticate=false
- KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
- KAFKA_CFG_LISTENERS: BROKER://:9092, LOCALHOST://:9082
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-2:9092, LOCALHOST://localhost:9082
- KAFKA_BROKER_ID: 2
- ALLOW_PLAINTEXT_LISTENER: 'yes'
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
- KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
- KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
- volumes:
- - kafka-2:/bitnami/kafka
- ports:
- - 9092:9082
- - 9082:9082
- - 7002:7000
- networks:
- default:
- aliases:
- - kafka
- depends_on:
- - zookeeper
-
- kafka-3:
- image: bitnami/kafka:3.4.0
- environment:
- KAFKA_ENABLE_KRAFT: 'false'
- KAFKA_OPTS:
- -Dcom.sun.management.jmxremote=true
- -Dcom.sun.management.jmxremote.port=7000
- -Dcom.sun.management.jmxremote.authenticate=false
- KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
- KAFKA_CFG_LISTENERS: BROKER://:9092, LOCALHOST://:9083
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-3:9092, LOCALHOST://localhost:9083
- KAFKA_BROKER_ID: 3
- ALLOW_PLAINTEXT_LISTENER: 'yes'
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
- KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
- KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
- volumes:
- - kafka-3:/bitnami/kafka
- ports:
- - 9083:9083
- - 7003:7000
- depends_on:
- - zookeeper
-
- kafka-4:
- image: bitnami/kafka:3.4.0
- environment:
- KAFKA_ENABLE_KRAFT: 'false'
- KAFKA_OPTS:
- -Dcom.sun.management.jmxremote=true
- -Dcom.sun.management.jmxremote.port=7000
- -Dcom.sun.management.jmxremote.authenticate=false
- KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
- KAFKA_CFG_LISTENERS: BROKER://:9092, LOCALHOST://:9084
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-4:9092, LOCALHOST://localhost:9084
- KAFKA_BROKER_ID: 4
- ALLOW_PLAINTEXT_LISTENER: 'yes'
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
- KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
- KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
- volumes:
- - kafka-4:/bitnami/kafka
- ports:
- - 9084:9084
- - 7004:7000
- depends_on:
- - zookeeper
-
- kafka-5:
- image: bitnami/kafka:3.4.0
- environment:
- KAFKA_ENABLE_KRAFT: 'false'
- KAFKA_OPTS:
- -Dcom.sun.management.jmxremote=true
- -Dcom.sun.management.jmxremote.port=7000
- -Dcom.sun.management.jmxremote.authenticate=false
- KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
- KAFKA_CFG_LISTENERS: BROKER://:9092, LOCALHOST://:9085
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS: BROKER://kafka-5:9092, LOCALHOST://localhost:9085
- KAFKA_BROKER_ID: 5
- ALLOW_PLAINTEXT_LISTENER: 'yes'
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
- KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
- KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
- volumes:
- - kafka-5:/bitnami/kafka
- ports:
- - 9085:9085
- - 7005:7000
- depends_on:
- - zookeeper
-
-volumes:
-
- zookeeper:
- kafka-1:
- kafka-2:
- kafka-3:
- kafka-4:
- kafka-5:
- grafana:
--- /dev/null
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-1
+ name: kafka-1
+ namespace: default
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: kafka-1
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.network/kubernetes-default: "true"
+ io.kompose.service: kafka-1
+ spec:
+ containers:
+ - env:
+ - name: ALLOW_PLAINTEXT_LISTENER
+ value: "yes"
+ - name: KAFKA_BROKER_ID
+ value: "1"
+ - name: KAFKA_CFG_ADVERTISED_LISTENERS
+ value: BROKER://kafka-1:9092, LOCALHOST://localhost:9081
+ - name: KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE
+ value: "false"
+ - name: KAFKA_CFG_INTER_BROKER_LISTENER_NAME
+ value: BROKER
+ - name: KAFKA_CFG_LISTENERS
+ value: BROKER://:9092, LOCALHOST://:9081
+ - name: KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP
+ value: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
+ - name: KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR
+ value: "3"
+ - name: KAFKA_CFG_ZOOKEEPER_CONNECT
+ value: zookeeper:2181
+ - name: KAFKA_ENABLE_KRAFT
+ value: "false"
+ - name: KAFKA_OPTS
+ value: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=7000 -Dcom.sun.management.jmxremote.authenticate=false
+ image: bitnami/kafka:3.4.0
+ name: kafka-1
+ ports:
+ - containerPort: 9081
+ hostPort: 9081
+ protocol: TCP
+ - containerPort: 7000
+ hostPort: 7001
+ protocol: TCP
+ resources: {}
+ volumeMounts:
+ - mountPath: /bitnami/kafka
+ name: kafka-1
+ restartPolicy: Always
+ volumes:
+ - name: kafka-1
+ persistentVolumeClaim:
+ claimName: kafka-1
+status: {}
--- /dev/null
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-1
+ name: kafka-1
+ namespace: default
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
--- /dev/null
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-1
+ name: kafka-1
+ namespace: default
+spec:
+ ports:
+ - name: "9081"
+ port: 9081
+ targetPort: 9081
+ - name: "7001"
+ port: 7001
+ targetPort: 7000
+ selector:
+ io.kompose.service: kafka-1
+status:
+ loadBalancer: {}
--- /dev/null
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-2
+ name: kafka-2
+ namespace: default
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: kafka-2
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.network/kubernetes-default: "true"
+ io.kompose.service: kafka-2
+ spec:
+ containers:
+ - env:
+ - name: ALLOW_PLAINTEXT_LISTENER
+ value: "yes"
+ - name: KAFKA_BROKER_ID
+ value: "2"
+ - name: KAFKA_CFG_ADVERTISED_LISTENERS
+ value: BROKER://kafka-2:9092, LOCALHOST://localhost:9082
+ - name: KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE
+ value: "false"
+ - name: KAFKA_CFG_INTER_BROKER_LISTENER_NAME
+ value: BROKER
+ - name: KAFKA_CFG_LISTENERS
+ value: BROKER://:9092, LOCALHOST://:9082
+ - name: KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP
+ value: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
+ - name: KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR
+ value: "3"
+ - name: KAFKA_CFG_ZOOKEEPER_CONNECT
+ value: zookeeper:2181
+ - name: KAFKA_ENABLE_KRAFT
+ value: "false"
+ - name: KAFKA_OPTS
+ value: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=7000 -Dcom.sun.management.jmxremote.authenticate=false
+ image: bitnami/kafka:3.4.0
+ name: kafka-2
+ ports:
+ - containerPort: 9082
+ hostPort: 9092
+ protocol: TCP
+ - containerPort: 7000
+ hostPort: 7002
+ protocol: TCP
+ resources: {}
+ volumeMounts:
+ - mountPath: /bitnami/kafka
+ name: kafka-2
+ restartPolicy: Always
+ volumes:
+ - name: kafka-2
+ persistentVolumeClaim:
+ claimName: kafka-2
+status: {}
--- /dev/null
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-2
+ name: kafka-2
+ namespace: default
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
--- /dev/null
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-2
+ name: kafka-2
+ namespace: default
+spec:
+ ports:
+ - name: "9092"
+ port: 9092
+ targetPort: 9082
+ - name: "9082"
+ port: 9082
+ targetPort: 9082
+ - name: "7002"
+ port: 7002
+ targetPort: 7000
+ selector:
+ io.kompose.service: kafka-2
+status:
+ loadBalancer: {}
--- /dev/null
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-3
+ name: kafka-3
+ namespace: default
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: kafka-3
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.network/kubernetes-default: "true"
+ io.kompose.service: kafka-3
+ spec:
+ containers:
+ - env:
+ - name: ALLOW_PLAINTEXT_LISTENER
+ value: "yes"
+ - name: KAFKA_BROKER_ID
+ value: "3"
+ - name: KAFKA_CFG_ADVERTISED_LISTENERS
+ value: BROKER://kafka-3:9092, LOCALHOST://localhost:9083
+ - name: KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE
+ value: "false"
+ - name: KAFKA_CFG_INTER_BROKER_LISTENER_NAME
+ value: BROKER
+ - name: KAFKA_CFG_LISTENERS
+ value: BROKER://:9092, LOCALHOST://:9083
+ - name: KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP
+ value: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
+ - name: KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR
+ value: "3"
+ - name: KAFKA_CFG_ZOOKEEPER_CONNECT
+ value: zookeeper:2181
+ - name: KAFKA_ENABLE_KRAFT
+ value: "false"
+ - name: KAFKA_OPTS
+ value: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=7000 -Dcom.sun.management.jmxremote.authenticate=false
+ image: bitnami/kafka:3.4.0
+ name: kafka-3
+ ports:
+ - containerPort: 9083
+ hostPort: 9083
+ protocol: TCP
+ - containerPort: 7000
+ hostPort: 7003
+ protocol: TCP
+ resources: {}
+ volumeMounts:
+ - mountPath: /bitnami/kafka
+ name: kafka-3
+ restartPolicy: Always
+ volumes:
+ - name: kafka-3
+ persistentVolumeClaim:
+ claimName: kafka-3
+status: {}
--- /dev/null
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-3
+ name: kafka-3
+ namespace: default
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
--- /dev/null
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-3
+ name: kafka-3
+ namespace: default
+spec:
+ ports:
+ - name: "9083"
+ port: 9083
+ targetPort: 9083
+ - name: "7003"
+ port: 7003
+ targetPort: 7000
+ selector:
+ io.kompose.service: kafka-3
+status:
+ loadBalancer: {}
--- /dev/null
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-4
+ name: kafka-4
+ namespace: default
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: kafka-4
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.network/kubernetes-default: "true"
+ io.kompose.service: kafka-4
+ spec:
+ containers:
+ - env:
+ - name: ALLOW_PLAINTEXT_LISTENER
+ value: "yes"
+ - name: KAFKA_BROKER_ID
+ value: "4"
+ - name: KAFKA_CFG_ADVERTISED_LISTENERS
+ value: BROKER://kafka-4:9092, LOCALHOST://localhost:9084
+ - name: KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE
+ value: "false"
+ - name: KAFKA_CFG_INTER_BROKER_LISTENER_NAME
+ value: BROKER
+ - name: KAFKA_CFG_LISTENERS
+ value: BROKER://:9092, LOCALHOST://:9084
+ - name: KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP
+ value: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
+ - name: KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR
+ value: "3"
+ - name: KAFKA_CFG_ZOOKEEPER_CONNECT
+ value: zookeeper:2181
+ - name: KAFKA_ENABLE_KRAFT
+ value: "false"
+ - name: KAFKA_OPTS
+ value: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=7000 -Dcom.sun.management.jmxremote.authenticate=false
+ image: bitnami/kafka:3.4.0
+ name: kafka-4
+ ports:
+ - containerPort: 9084
+ hostPort: 9084
+ protocol: TCP
+ - containerPort: 7000
+ hostPort: 7004
+ protocol: TCP
+ resources: {}
+ volumeMounts:
+ - mountPath: /bitnami/kafka
+ name: kafka-4
+ restartPolicy: Always
+ volumes:
+ - name: kafka-4
+ persistentVolumeClaim:
+ claimName: kafka-4
+status: {}
--- /dev/null
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-4
+ name: kafka-4
+ namespace: default
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
--- /dev/null
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-4
+ name: kafka-4
+ namespace: default
+spec:
+ ports:
+ - name: "9084"
+ port: 9084
+ targetPort: 9084
+ - name: "7004"
+ port: 7004
+ targetPort: 7000
+ selector:
+ io.kompose.service: kafka-4
+status:
+ loadBalancer: {}
--- /dev/null
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-5
+ name: kafka-5
+ namespace: default
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: kafka-5
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.network/kubernetes-default: "true"
+ io.kompose.service: kafka-5
+ spec:
+ containers:
+ - env:
+ - name: ALLOW_PLAINTEXT_LISTENER
+ value: "yes"
+ - name: KAFKA_BROKER_ID
+ value: "5"
+ - name: KAFKA_CFG_ADVERTISED_LISTENERS
+ value: BROKER://kafka-5:9092, LOCALHOST://localhost:9085
+ - name: KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE
+ value: "false"
+ - name: KAFKA_CFG_INTER_BROKER_LISTENER_NAME
+ value: BROKER
+ - name: KAFKA_CFG_LISTENERS
+ value: BROKER://:9092, LOCALHOST://:9085
+ - name: KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP
+ value: BROKER:PLAINTEXT, LOCALHOST:PLAINTEXT
+ - name: KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR
+ value: "3"
+ - name: KAFKA_CFG_ZOOKEEPER_CONNECT
+ value: zookeeper:2181
+ - name: KAFKA_ENABLE_KRAFT
+ value: "false"
+ - name: KAFKA_OPTS
+ value: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=7000 -Dcom.sun.management.jmxremote.authenticate=false
+ image: bitnami/kafka:3.4.0
+ name: kafka-5
+ ports:
+ - containerPort: 9085
+ hostPort: 9085
+ protocol: TCP
+ - containerPort: 7000
+ hostPort: 7005
+ protocol: TCP
+ resources: {}
+ volumeMounts:
+ - mountPath: /bitnami/kafka
+ name: kafka-5
+ restartPolicy: Always
+ volumes:
+ - name: kafka-5
+ persistentVolumeClaim:
+ claimName: kafka-5
+status: {}
--- /dev/null
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-5
+ name: kafka-5
+ namespace: default
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
--- /dev/null
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: kafka-5
+ name: kafka-5
+ namespace: default
+spec:
+ ports:
+ - name: "9085"
+ port: 9085
+ targetPort: 9085
+ - name: "7005"
+ port: 7005
+ targetPort: 7000
+ selector:
+ io.kompose.service: kafka-5
+status:
+ loadBalancer: {}
--- /dev/null
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: zookeeper
+ name: zookeeper
+ namespace: default
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: zookeeper
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.network/kubernetes-default: "true"
+ io.kompose.service: zookeeper
+ spec:
+ containers:
+ - env:
+ - name: ALLOW_ANONYMOUS_LOGIN
+ value: "yes"
+ - name: ZOO_ENABLE_PROMETHEUS_METRICS
+ value: "yes"
+ image: zookeeper
+ name: zookeeper
+ ports:
+ - containerPort: 2181
+ hostPort: 2181
+ protocol: TCP
+ - containerPort: 7070
+ hostPort: 7000
+ protocol: TCP
+ resources: {}
+ volumeMounts:
+ - mountPath: /bitnami/zookeeper
+ name: zookeeper
+ restartPolicy: Always
+ volumes:
+ - name: zookeeper
+ persistentVolumeClaim:
+ claimName: zookeeper
+status: {}
--- /dev/null
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: zookeeper
+ name: zookeeper
+ namespace: default
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
--- /dev/null
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.30.0 (9d8dcb518)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: zookeeper
+ name: zookeeper
+ namespace: default
+spec:
+ ports:
+ - name: "2181"
+ port: 2181
+ targetPort: 2181
+ - name: "7000"
+ port: 7000
+ targetPort: 7070
+ selector:
+ io.kompose.service: zookeeper
+status:
+ loadBalancer: {}