Created
April 2, 2020 18:46
-
-
Save magickatt/f8c2c72681a250734d5c9a8c0604c30d to your computer and use it in GitHub Desktop.
Port forward to Elasticsearch Pod or Service
This file contains 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
# 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