apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose --file docker-compose.yml convert kompose.version: 1.34.0 (cbf2835db) labels: app: schema-registry name: schema-registry namespace: kafka spec: replicas: 1 selector: matchLabels: app: schema-registry template: metadata: annotations: kompose.cmd: kompose --file docker-compose.yml convert kompose.version: 1.34.0 (cbf2835db) labels: app: schema-registry spec: # https://github.com/confluentinc/schema-registry/issues/689 enableServiceLinks: false containers: - name: schema-registry image: confluentinc/cp-schema-registry:6.1.1 ports: - containerPort: 8081 protocol: TCP env: - name: SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS value: kafka-cluster-kafka-plainext-bootstrap:9092 - name: SCHEMA_REGISTRY_LISTENERS value: http://0.0.0.0:8081 - name: SCHEMA_REGISTRY_SCHEMA_COMPATIBILITY_LEVEL value: none #hostname: schema-registry #restartPolicy: Always