Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Port forward to Elasticsearch Pod or Service
# Port forward to a Pod
kubectl port-forward elasticsearch-0 9200:9200
# Port forward to a Service
kubectl port-forward service/elasticsearch 9200:9200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.