kubectl proxy

  • establece en localhost un puerto para llamar a la API de kubernetes
    kubectl proxy [--port=XXXX]
  • una vez establecida, podemos, por ejemplo:
    • curl http://localhost:8001/api/
      curl http://localhost:8001/api/v1/namespaces/default/pods
  • tech/k8s/cli/proxy.txt
  • Darrera modificació: 09/04/2020 00:28
  • per mate