streams-manifests/kafka-resources/overlays/test/kafka-schema-registry/schema-registry-deployment.yaml

20 lines
425 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: schema-registry
name: schema-registry
namespace: kafka
spec:
replicas: 1
template:
spec:
containers:
- name: schema-registry
image: confluentinc/cp-schema-registry:6.1.1
ports:
- containerPort: 8081
protocol: TCP
env:
- name: SCHEMA_REGISTRY_HOST_NAME
value: schema-registry