Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitConfiguration ¶
type InitConfiguration struct {
Networking Networking `json:"networking"`
VIPConfiguration VIPConfiguration `json:"vipConfiguration"`
MasterConfiguration kubeadmv1alpha1.MasterConfiguration `json:"masterConfiguration"`
KubeProxy *kubeproxyconfigv1alpha1.KubeProxyConfiguration `json:"kubeProxy"`
Kubelet *kubeletconfigv1beta1.KubeletConfiguration `json:"kubelet"`
NetworkBackend map[string]string `json:"networkBackend"`
KeepAlived map[string]string `json:"keepAlived"`
}
InitConfiguration specifies the configuration used by the init command
type JoinConfiguration ¶
type JoinConfiguration struct {
Networking Networking `json:"networking"`
Kubelet *kubeletconfigv1beta1.KubeletConfiguration `json:"kubelet"`
}
JoinConfiguration specifies the configuration used by the join command
type Networking ¶
type Networking struct {
// ServiceSubnet is the subnet used by k8s services. Defaults to "10.96.0.0/12".
ServiceSubnet string `json:"serviceSubnet"`
// PodSubnet is the subnet used by pods.
PodSubnet string `json:"podSubnet"`
// DNSDomain is the dns domain used by k8s services. Defaults to "cluster.local".
DNSDomain string `json:"dnsDomain"`
}
Networking contains elements describing cluster's networking configuration
type VIPConfiguration ¶
type VIPConfiguration struct {
// The virtual IP.
IP string `json:"ip"`
// The virtual router ID. Must be in the range [0, 254]. Must be unique within
// a single L2 network domain.
RouterID int `json:"routerID"`
// Network interface chosen to create the virtual IP. If it is not specified,
// the interface of the default gateway is chosen.
NetworkInterface string `json:"networkInterface"`
}
VIPConfiguration specifies the parameters used to provision a virtual IP which API servers advertise and accept requests on.
Click to show internal directories.
Click to hide internal directories.