blob: 8d098dd1fba68b17934c8041933971cd89a73d64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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
|