Skip to content

Commit

Permalink
debug: Add extra port-mapping for kafka DR
Browse files Browse the repository at this point in the history
Issue: ZENKO-4856
  • Loading branch information
francoisferrand committed Aug 15, 2024
1 parent 6ac793e commit 626bf2b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/scripts/end2end/bootstrap-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,21 @@ connect_registry() {
add_workers() {
local count=0
while [ $count -lt $WORKER_NODE_COUNT ]; do
count=$((count+1))
echo "- role: worker
image: ${NODE_IMAGE}
extraMounts:
- hostPath: ${VOLUME_ROOT}/data
containerPath: /data
- hostPath: ${HOME}/.docker/config.json
containerPath: /var/lib/kubelet/config.json"
# Extra port mapping for kafka external listener
if [ $count -eq 0 ]; then
echo " extraPortMappings:
- containerPort: 9094
hostPort: 9094
§ protocol: TCP"
fi
count=$((count+1))
done
}

Expand Down

0 comments on commit 626bf2b

Please sign in to comment.