blob: 8d098dd1fba68b17934c8041933971cd89a73d64 (
plain) (
tree)
|
|
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: schemas
namespace: kafka
spec:
replicas: 1
template:
metadata:
labels:
app: schema-registry
spec:
containers:
- name: cp
image: solsson/kafka-cp@sha256:53075cf5877c1311516d5c78a4d52fd46d3d369514681e150f96bc06997fa0e4
env:
# what does this do?
- name: SCHEMA_REGISTRY_HOST_NAME
value: schemas
command:
- schema-registry-start
- /etc/schema-registry/schema-registry.properties
ports:
- containerPort: 80
volumeMounts:
- name: config
mountPath: /etc/schema-registry
volumes:
- name: config
configMap:
name: confluent-config
|