update kube-forge concept and add ability to change data dir for containerd
This commit is contained in:
@@ -12,16 +12,19 @@ type RegistryMirror struct {
|
||||
|
||||
type Orchestrator struct {
|
||||
Version string `yaml:"version" env-default:"v1.29.0"`
|
||||
ClusterName string `yaml:"cluster_name" env-default:"k8s-cluster.local"`
|
||||
ClusterName string `yaml:"cluster_name" env-default:"cluster.local"`
|
||||
BinDir string `yaml:"bin_dir" env-default:"/usr/local/bin"`
|
||||
SysctlFilePath string `yaml:"sysctl_file_path" env-default:"/etc/sysctl.d/99-sysctl.conf"`
|
||||
LoadbalancerApiserverPort int `yaml:"loadbalancer_apiserver_port" env-default:"6443"`
|
||||
Dns Dns `yaml:"dns"`
|
||||
CloudProvider string `yaml:"cloud_provider"`
|
||||
ExgernalCloudProvider string `yaml:"external_cloud_provider"`
|
||||
KubeletDir string `yaml:"kubelet_dir" env-default:"/var/lib/kubelet"`
|
||||
ContainerEngine struct {
|
||||
Type string `yaml:"type" env-default:"containerd"`
|
||||
Install bool `yaml:"install"`
|
||||
Type string `yaml:"type" env-default:"containerd"`
|
||||
Install bool `yaml:"install"`
|
||||
DataDir string `yaml:"data_dir" env-default:"/var/lib/containerd"`
|
||||
StateDir string `yaml:"state_dir" env-default:"/run/containerd"`
|
||||
} `yaml:"container_engine"`
|
||||
PingAccessIp bool `yaml:"ping_access_ip"`
|
||||
AutoRenewCertificates bool `yaml:"auto_renew_certificates"`
|
||||
|
||||
Reference in New Issue
Block a user