Documentation ¶
Index ¶
Constants ¶
View Source
const ( YurttunnelServerComponentName = "yurt-tunnel-server" YurttunnelServerSvcName = "x-tunnel-server-svc" YurttunnelServerInternalSvcName = "x-tunnel-server-internal-svc" YurttunnelServerCmName = "yurt-tunnel-server-cfg" YurttunnelAgentComponentName = "yurt-tunnel-agent" YurttunnelNamespace = "kube-system" SysctlK8sConfig = "/etc/sysctl.d/k8s.conf" KubeletConfigureDir = "/etc/kubernetes" KubeletWorkdir = "/var/lib/kubelet" YurtHubWorkdir = "/var/lib/yurthub" YurttunnelAgentWorkdir = "/var/lib/yurttunnel-agent" YurttunnelServerWorkdir = "/var/lib/yurttunnel-server" KubeCniDir = "/opt/cni/bin" KubeCniVersion = "v0.8.0" KubeletServiceFilepath = "/etc/systemd/system/kubelet.service" KubeletServiceConfPath = "/etc/systemd/system/kubelet.service.d/10-kubeadm.conf" YurthubStaticPodFileName = "yurthub.yaml" PauseImagePath = "registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.2" CniUrlFormat = "https://aliacs-edge-k8s-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/public/pkg/openyurt/cni/%s/cni-plugins-linux-%s-%s.tgz" DefaultKubernetesResourceServer = "dl.k8s.io" KubeUrlFormat = "https://%s/%s/kubernetes-node-linux-%s.tar.gz" TmpDownloadDir = "/tmp" FlannelIntallFile = "https://aliacs-edge-k8s-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/public/pkg/openyurt/flannel.yaml" EdgeNode = "edge" CloudNode = "cloud" DefaultOpenYurtImageRegistry = "registry.cn-hangzhou.aliyuncs.com/openyurt" DefaultOpenYurtVersion = "latest" YurtControllerManager = "yurt-controller-manager" YurtTunnelServer = "yurt-tunnel-server" YurtTunnelAgent = "yurt-tunnel-agent" Yurthub = "yurthub" YurtAppManager = "yurt-app-manager" YurtAppManagerNamespace = "kube-system" DirMode = 0755 FileMode = 0666 KubeletServiceContent = `` /* 251-byte string literal not displayed */ KubeletUnitConfig = `` /* 379-byte string literal not displayed */ KubeletConfForNode = `` /* 278-byte string literal not displayed */ // DisableNodeControllerJobTemplate defines the node-controller disable job in yaml format DisableNodeControllerJobTemplate = `` /* 626-byte string literal not displayed */ // EnableNodeControllerJobTemplate defines the node-controller enable job in yaml format EnableNodeControllerJobTemplate = `` /* 625-byte string literal not displayed */ )
View Source
const ( // NodeType flag sets the type of worker node to edge or cloud. NodeType = "node-type" // Organizations flag sets the extra organizations of hub agent client certificate. Organizations = "organizations" // NodeLabels flag sets the labels for worker node. NodeLabels = "node-labels" // PauseImage flag sets the pause image for worker node. PauseImage = "pause-image" // YurtHubImage flag sets the yurthub image for worker node. YurtHubImage = "yurthub-image" // KubernetesResourceServer flag sets the address for download k8s node resources. KubernetesResourceServer = "kubernetes-resource-server" )
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.