Created
January 23, 2019 20:24
-
-
Save ipedrazas/403df2ed30ea8682e2b709ddc1c24bcf to your computer and use it in GitHub Desktop.
Revisions
-
ipedrazas created this gist
Jan 23, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # To call from outside the cluster a service type `ClusterIP` # We use `kubectl proxy` kubectl proxy # Then, the service can be accessed by calling: curl http://localhost:8001/api/v1/namespaces/status/services/x01-kstatus-api:5000/proxy/api/jobs # This is # curl http://localhost:8001/api/v1/namespaces/[NAMESPACE]/services/[SERVICE:PORT]/proxy/[QUERY_STRING]