mirror of
https://github.com/rancher/rke.git
synced 2025-08-22 08:35:49 +00:00
41 lines
1.0 KiB
Go
41 lines
1.0 KiB
Go
package services
|
|
|
|
type Services struct {
|
|
Etcd Etcd `yaml:"etcd"`
|
|
KubeAPI KubeAPI `yaml:"kube-api"`
|
|
KubeController KubeController `yaml:"kube-controller"`
|
|
Scheduler Scheduler `yaml:"scheduler"`
|
|
Kubelet Kubelet `yaml:"kubelet"`
|
|
Kubeproxy Kubeproxy `yaml:"kubeproxy"`
|
|
}
|
|
|
|
type Etcd struct {
|
|
Image string `yaml:"image"`
|
|
}
|
|
|
|
type KubeAPI struct {
|
|
Image string `yaml:"image"`
|
|
ServiceClusterIPRange string `yaml:"service_cluster_ip_range"`
|
|
}
|
|
|
|
type KubeController struct {
|
|
Image string `yaml:"image"`
|
|
ClusterCIDR string `yaml:"cluster_cidr"`
|
|
ServiceClusterIPRange string `yaml:"service_cluster_ip_range"`
|
|
}
|
|
|
|
type Kubelet struct {
|
|
Image string `yaml:"image"`
|
|
ClusterDomain string `yaml:"cluster_domain"`
|
|
InfraContainerImage string `yaml:"infra_container_image"`
|
|
ClusterDNSServer string `yaml:"cluster_dns_server"`
|
|
}
|
|
|
|
type Kubeproxy struct {
|
|
Image string `yaml:"image"`
|
|
}
|
|
|
|
type Scheduler struct {
|
|
Image string `yaml:"image"`
|
|
}
|