Skip to content
Merged
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
5 changes: 4 additions & 1 deletion kafka/20dns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
apiVersion: v1
kind: Service
metadata:
name: broker
name: kafka
namespace: kafka
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
spec:
publishNotReadyAddresses: true
ports:
- port: 9092
# [podname].broker.kafka.svc.cluster.local
Expand Down
2 changes: 1 addition & 1 deletion kafka/50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
selector:
matchLabels:
app: kafka
serviceName: "broker"
serviceName: "kafka"
replicas: 3
updateStrategy:
type: RollingUpdate
Expand Down