Skip to content

Commit 2aef643

Browse files
authored
Merge pull request #315 from Yolean/entrypoints-args-override-listeners-support
Rename the statefulset's headless service from broker to kafka
2 parents 377a0c3 + ebc5042 commit 2aef643

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

kafka/20dns.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
apiVersion: v1
44
kind: Service
55
metadata:
6-
name: broker
6+
name: kafka
77
namespace: kafka
8+
annotations:
9+
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
810
spec:
11+
publishNotReadyAddresses: true
912
ports:
1013
- port: 9092
1114
# [podname].broker.kafka.svc.cluster.local

kafka/50kafka.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
selector:
88
matchLabels:
99
app: kafka
10-
serviceName: "broker"
10+
serviceName: "kafka"
1111
replicas: 3
1212
updateStrategy:
1313
type: RollingUpdate

0 commit comments

Comments
 (0)