Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KSQL quickstart for Kubernetes #164

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ksql/ksql-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: ksql
namespace: kafka
spec:
ports:
- port: 80
selector:
app: ksql-cli
33 changes: 33 additions & 0 deletions ksql/ksql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ksql
namespace: kafka
labels:
app: ksql-cli
spec:
replicas: 1
selector:
matchLabels:
app: ksql-cli
template:
metadata:
labels:
app: ksql-cli
spec:
containers:
- name: ksql-cli
image: confluentinc/ksql-cli:0.5@sha256:e86a32edefdfc5c4aa0b0015f6a62eacc8a3ead175362450dbd4786d6ad4851f
ports:
- containerPort: 80
env:
- name: KSQL_CONFIG_DIR
value: /etc/ksql
- name: KSQL_LOG4J_OPTS
value: -Dlog4j.configuration=file:/etc/ksql/log4j.properties
- name: STREAMS_BOOTSTRAP_SERVERS
value: bootstrap.kafka:9092
- name: STREAMS_SCHEMA_REGISTRY_HOST
value: avro-schemas
- name: STREAMS_SCHEMA_REGISTRY_PORT
value: "80"
2 changes: 1 addition & 1 deletion linkedin-burrow/burrow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- name: config
mountPath: /etc/burrow
- name: prom
image: solsson/burrow-exporter:api-v3@sha256:dd690c04ae31c62e4d7d5398f24f368fb2c48046ec3ae68bbc7582c114819a7b
image: solsson/burrow-exporter@sha256:379199629e22a25e140a391f0a52bb5e222e6a639ce2314d8a995d0eeecb6c3f
ports:
- name: prometheus
containerPort: 8080
Expand Down