Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KubeadmConfigConfigMap specifies in what ConfigMap in the kube-system namespace the `kubeadm init` configuration should be stored KubeadmConfigConfigMap = "kubeadm-config" // ClusterConfigurationConfigMapKey specifies in what ConfigMap key the cluster configuration should be stored ClusterConfigurationConfigMapKey = "ClusterConfiguration" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterConfiguration ¶
type ClusterConfiguration struct { // ControlPlaneEndpoint sets a stable IP address or DNS name for the control plane; it // can be a valid IP address or a RFC-1123 DNS subdomain, both with optional TCP port. ControlPlaneEndpoint string `json:"controlPlaneEndpoint"` // KubernetesVersion is the target version of the control plane. KubernetesVersion string `json:"kubernetesVersion"` }
func GetClusterConfigurationFromConfigMap ¶
func GetClusterConfigurationFromConfigMap(cfgMap *v1.ConfigMap) (*ClusterConfiguration, error)
Click to show internal directories.
Click to hide internal directories.