I have an EKS cluster running using private endpoint (using steps mentioned here). I can kubectl
from the worker.
I have an inbound (in Route 53) to my worker and I am able to resolve dig @<inbound_ip> <cluster_endpoint>.xyz.region.eks.amazonaws.com
from my laptop.
I wanted to know if there is a way to make kubectl
use a proxy so that it resolves to the inbound_ip. I tried using export HTTPS_PROXY=https://inbound_ip:443
but that did not work (I want to do this without setting up the dns forwarder).
I looked at this kubectl behind a proxy but that is more about minikube and couldn't find anything else related to this. Any help will be greatly appreciated. Thanks.