Documentation ¶
Overview ¶
The package k8sutil contains some helper code which simplifies interaction with a Kubernetes cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubernetesVersion ¶
GetKubernetesVersion returns kubernetes server version
func GetNamespace ¶
func GetNamespace() string
GetNamespace returns the namespace of the operator pod defaults to "kube-system"
func NewInClusterClient ¶
func NewInClusterClient() (kubernetes.Interface, error)
NewInClusterClient connects code that runs inside a Kubernetes pod to the API server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.