Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Kubelet ¶
type Kubelet struct {
Address string `json:"address" yaml:"address"`
Image string `json:"image" yaml:"image"`
Host host.Host `json:"host" yaml:"host"`
BootstrapKubeconfig string `json:"bootstrapKubeconfig" yaml:"bootstrapKubeconfig"`
// TODO we require CA certificate, so it can be referred in bootstrap-kubeconfig. Maybe we should be responsible for creating
// bootstrap-kubeconfig too then?
KubernetesCACertificate string `json:"kubernetesCACertificate" yaml:"kubernetesCACertificate"`
ClusterDNSIPs []string `json:"clusterDNSIPs" yaml:"clusterDNSIPs"`
Name string `json:"name" yaml:"name"`
Taints map[string]string `json:"taints" yaml:"taints"`
Labels map[string]string `json:"labels" yaml:"labels"`
PrivilegedLabels map[string]string `json:"privilegedLabels" yaml:"privilegedLabels"`
PrivilegedLabelsKubeconfig string `json:"privilegedLabelsKubeconfig" yaml:"privilegedLabelsKubeconfig"`
CgroupDriver string `json:"cgroupDriver" yaml:"cgroupDriver"`
NetworkPlugin string `json:"networkPlugin" yaml:"networkPlugin"`
// Depending on the network plugin, this should be optional, but for now it's required.
PodCIDR string `json:"podCIDR,omitempty" yaml:"podCIDR,omitempty"`
}
Kubelet represents single kubelet instance.
type Pool ¶
type Pool struct {
// User-configurable fields.
Image string `json:"image" yaml:"image"`
SSH *ssh.Config `json:"ssh" yaml:"ssh"`
BootstrapKubeconfig string `json:"bootstrapKubeconfig" yaml:"bootstrapKubeconfig"`
Kubelets []Kubelet `json:"kubelets" yaml:"kubelets"`
KubernetesCACertificate string `json:"kubernetesCACertificate" yaml:"kubernetesCACertificate"`
ClusterDNSIPs []string `json:"clusterDNSIPs" yaml:"clusterDNSIPs"`
Taints map[string]string `json:"taints" yaml:"taints"`
Labels map[string]string `json:"labels" yaml:"labels"`
PrivilegedLabels map[string]string `json:"privilegedLabels" yaml:"privilegedLabels"`
PrivilegedLabelsKubeconfig string `json:"privilegedLabelsKubeconfig" yaml:"privilegedLabelsKubeconfig"`
CgroupDriver string `json:"cgroupDriver" yaml:"cgroupDriver"`
NetworkPlugin string `json:"networkPlugin" yaml:"networkPlugin"`
// Serializable fields.
State container.ContainersState `json:"state" yaml:"state"`
}
Pool represents group of kubelet instances and their configuration.
Click to show internal directories.
Click to hide internal directories.