Documentation ¶
Index ¶
Constants ¶
View Source
const ( DataDir = "data/" ClusterFile = DataDir + "tke.json" ClusterLogFile = DataDir + "tke.log" ProviderConfigFile = "provider/baremetal/conf/config.yaml" HooksDir = "hooks/" PreInstallHook = HooksDir + "pre-install" PostClusterReadyHook = HooksDir + "post-cluster-ready" PostInstallHook = HooksDir + "post-install" DockerCertsDir = "/etc/docker/certs.d" DefaultTeantID = "default" DevRegistryDomain = "docker.io" DevRegistryNamespace = "tkestack" ImagesFile = "images.tar.gz" ImagesPattern = DevRegistryNamespace + "/*" OIDCClientSecretFile = DataDir + "oidc_client_secret" CACrtFile = DataDir + "ca.crt" CAKeyFile = DataDir + "ca.key" FrontProxyCACrtFile = DataDir + "front-proxy-ca.crt" ServerCrtFile = DataDir + "server.crt" ServerKeyFile = DataDir + "server.key" AdminCrtFile = DataDir + "admin.crt" AdminKeyFile = DataDir + "admin.key" KubeconfigFile = DataDir + "admin.kubeconfig" CACrtFileBaseName = "ca.crt" CAKeyFileBaseName = "ca.key" ServerCrtFileBaseName = "server.crt" ServerKeyFileBaseName = "server.key" AdminCrtFileBaseName = "admin.crt" AdminKeyFileBaseName = "admin.key" KubeconfigFileBaseName = "admin.kubeconfig" AuthzWebhookNodePort = 31138 )
View Source
const ( RegistryHTTPOptions = `-d \ --name registry-http \ --restart always \ -p 80:5000 \ -v /opt/tke-installer/registry:/var/lib/registry` RegistryHTTPSOptions = `` /* 270-byte string literal not displayed */ )
View Source
const ( CPURequest = 2 MemoryRequest = 4 // GiB FirstNodeDiskSpaceRequest = 30 // GiB PathForDiskSpaceRequest = "/var/lib" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.