kube-gen icon indicating copy to clipboard operation
kube-gen copied to clipboard

[feat] Use In Cluster Config to remove dependency on a kubectl container running kubectl proxy when running pod inside a K8s Cluster

Open nikhil-bhat opened this issue 3 years ago • 2 comments

When running inside a pod , with service account tokem kubenetes clients can use InClusterConfig

// kubernetes gives to pods. It's intended for clients that expect to be
// running inside a pod running on kubernetes. It will return ErrNotInCluster
// if called from a process not running in a kubernetes environment.

This obliterates the need to include a kubectl container for running kubectl proxy

nikhil-bhat avatar Jul 06 '22 10:07 nikhil-bhat

@kylemcc can you please have a look

nikhil-bhat avatar Jul 06 '22 12:07 nikhil-bhat

Thanks! I'll take a look this weekend

kylemcc avatar Jul 13 '22 06:07 kylemcc

🧟 any possibility that this will just merge and work after 18 months? @kylemcc

lhriley avatar Jan 22 '24 21:01 lhriley

🧟 any possibility that this will just merge and work after 18 months? @kylemcc

Let's find out...

kylemcc avatar Jan 23 '24 19:01 kylemcc

Thanks! @kylemcc

lhriley avatar Jan 23 '24 20:01 lhriley