kubernetes

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultServiceClusterIPRange is the fallback value for service ClusterIP
	// range of k8s API server configuration. This value is used when the cluster
	// cannot be detected from the bundle itself. This happens mostly for managed
	// k8s platforms like EKS, AKS which will not return API server pod in the list
	// of pods.
	DefaultServiceClusterIPRange = "10.0.0.0/12"

	// DefaultServiceNodePortRange is the fallback value for service node port
	// range of k8s API server configuration. This value is used when the cluster
	// cannot be detected from the bundle itself. This happens mostly for managed
	// k8s platforms like EKS, AKS which will not return API server pod in the list
	// of pods.
	DefaultServiceNodePortRange = "30000-32767"
)

Variables

This section is empty.

Functions

func WriteProxyKubeconfig

func WriteProxyKubeconfig(host, path string) (string, error)

WriteProxyKubeconfig creates a KUBECONFIG file for http proxy server. If path for kubeconfig is not provided then default value is create in `CWD`.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL