Documentation ¶
Index ¶
Constants ¶
View Source
const ( DataDir = "data/" ClusterFile = DataDir + "tke.json" ClusterLogFile = DataDir + "tke.log" ChartDirName = "manifests/charts/" DefaultCustomResourceDir = DataDir + "custom_upgrade_resource" DefaultCustomChartsName = "custom.charts.tar.gz" CustomK8sImageDirName = "images/" CustomK8sBinaryDirName = "bins/" CustomK8sBinaryAmdDirName = "bins/linux-amd64/" CustomK8sBinaryArmDirName = "bins/linux-arm64/" 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" DefaultChartGroupName = "public" DefaultExpansionChartGroupName = "expansion" DefaultCustomChartGroupName = "custom" GlobalClusterName = "global" 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" WebhookCrtFile = DataDir + "webhook.crt" WebhookKeyFile = DataDir + "webhook.key" KubeconfigFile = DataDir + "admin.kubeconfig" CACrtFileBaseName = "ca.crt" CAKeyFileBaseName = "ca.key" ServerCrtFileBaseName = "server.crt" ServerKeyFileBaseName = "server.key" AdminCrtFileBaseName = "admin.crt" AdminKeyFileBaseName = "admin.key" WebhookCrtFileBaseName = "webhook.crt" WebhookKeyFileBaseName = "webhook.key" KubeconfigFileBaseName = "admin.kubeconfig" AuthzWebhookNodePort = 31138 DefaultApplicationInstallDriverType = "HelmV3" DefaultApplicationInstallValueType = "yaml" )
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" )
View Source
const ( CephRBDStorageClassName = "csi-rbd-sc" CephRBDChartReleaseName = "ceph-csi-rbd" CephFSStorageClassName = "csi-cephfs-sc" CephFSChartReleaseName = "ceph-csi-cephfs" NFSStorageClassName = "nfs-sc" NFSChartReleaseName = "nfs-subdir-external-provisioner" )
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.