This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a bit hardcoded, but it's meant as a proof of concept. | |
# used in kubectl get pods when targeting kafka broker pods | |
KARGS="-n kafka -l release=kafka,app=kafka" | |
# used in kubectl port-forward (setting the namespace, can be omitted) | |
KPORTFWD_ARGS="-n kafka" | |
# port on broker pods to forward | |
DPORT=9092 |