diff options
Diffstat (limited to '61schemas.yml')
-rw-r--r-- | 61schemas.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/61schemas.yml b/61schemas.yml new file mode 100644 index 0000000..2423e91 --- /dev/null +++ b/61schemas.yml @@ -0,0 +1,22 @@ +apiVersion: apps/v1beta1 +kind: Deployment +metadata: + name: schemas + namespace: kafka +spec: + replicas: 1 + template: + metadata: + labels: + app: schema-registry + spec: + containers: + - name: cp-schema-registry + image: confluentinc/cp-schema-registry@sha256:ac1eb34d9a60ce8904eb1bc01fd94bf1f6513924ca507734679d4b513133714c + env: + - name: SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL + value: zookeeper:2181 + - name: SCHEMA_REGISTRY_HOST_NAME + value: schemas + ports: + - containerPort: 8081 |