Documentation ¶
Index ¶
Constants ¶
View Source
const ( // WICDPath is the path to the Windows Instance Config Daemon exe WICDPath = payloadDirectory + "windows-instance-config-daemon.exe" // KubeletPath contains the path of the kubelet binary. The container image should already have this binary mounted KubeletPath = payloadDirectory + "/kube-node/kubelet.exe" // KubeProxyPath contains the path of the kube-proxy binary. The container image should already have this binary // mounted KubeProxyPath = payloadDirectory + "/kube-node/kube-proxy.exe" // KubeLogRunnerPath contains the path of the kube-log-runner binary. KubeLogRunnerPath = payloadDirectory + "/kube-node/kube-log-runner.exe" // ContainerdPath contains the path of the containerd binary. The container image should already have this binary // mounted ContainerdPath = payloadDirectory + "/containerd/containerd.exe" //HcsshimPath contains the path of the hcsshim binary. The container image should already have this binary mounted HcsshimPath = payloadDirectory + "/containerd/containerd-shim-runhcs-v1.exe" // ContainerdConfPath contains the path of the containerd config file. ContainerdConfPath = payloadDirectory + "/containerd/containerd_conf.toml" // GcpGetHostnameScriptName is the name of the PowerShell script that resolves the hostname for GCP instances GcpGetHostnameScriptName = "gcp-get-hostname.ps1" // GcpGetValidHostnameScriptPath is the path of the PowerShell script that resolves the hostname for GCP instances GcpGetValidHostnameScriptPath = payloadDirectory + "/powershell/" + GcpGetHostnameScriptName // WinDefenderExclusionScriptName is the name of the PowerShell script that creates an exclusion for containerd if // the Windows Defender Antivirus is active WinDefenderExclusionScriptName = "windows-defender-exclusion.ps1" // WinDefenderExclusionScriptPath is the path of the PowerShell script that creates an exclusion for containerd if // the Windows Defender Antivirus is active WinDefenderExclusionScriptPath = payloadDirectory + "/powershell/" + WinDefenderExclusionScriptName // HNSPSModule is the path to the powershell module which defines various functions for dealing with Windows HNS // networks HNSPSModule = payloadDirectory + "/powershell/hns.psm1" // HostLocalCNIPlugin is the path of the host-local CNI plugin binary. The container image should already have // this binary mounted HostLocalCNIPlugin = payloadDirectory + cniDirectory + "host-local.exe" // WinBridgeCNIPlugin is the path of the win-bridge CNI plugin binary. The container image should already have // this binary mounted WinBridgeCNIPlugin = payloadDirectory + cniDirectory + "win-bridge.exe" // WinOverlayCNIPlugin is the path of the win-overlay CNI Plugin binary. The container image should already have // this binary mounted WinOverlayCNIPlugin = payloadDirectory + cniDirectory + "win-overlay.exe" // NetworkConfigurationScript is the path for generated Network configuration Script NetworkConfigurationScript = payloadDirectory + "/generated/network-conf.ps1" // HybridOverlayName is the name of the hybrid overlay executable HybridOverlayName = "hybrid-overlay-node.exe" // HybridOverlayPath contains the path of the hybrid overlay binary. The container image should already have this // binary mounted HybridOverlayPath = payloadDirectory + HybridOverlayName // CSIProxyPath contains the path of the csi-proxy executable. This should be mounted in the container image. CSIProxyPath = payloadDirectory + "csi-proxy/csi-proxy.exe" // WindowsExporterName is the name of the Windows metrics exporter executable WindowsExporterName = "windows_exporter.exe" // WindowsExporterPath contains the path of the windows_exporter binary. The container image should already have // this binary mounted WindowsExporterPath = payloadDirectory + WindowsExporterName // ECRCredentialProviderPath is the path to ecr-credential-provider.exe ECRCredentialProviderPath = payloadDirectory + "ecr-credential-provider.exe" // AzureCloudNodeManager is the name of the cloud node manager for Azure platform AzureCloudNodeManager = "azure-cloud-node-manager.exe" // AzureCloudNodeManagerPath contains the path of the azure cloud node manager binary. The container image should // already have this binary mounted AzureCloudNodeManagerPath = payloadDirectory + AzureCloudNodeManager )
Payload files
Variables ¶
This section is empty.
Functions ¶
func PopulateNetworkConfScript ¶
func PopulateNetworkConfScript(clusterCIDR, hnsNetworkName, hnsPSModulePath, cniConfigPath string) error
PopulateNetworkConfScript creates the .ps1 file responsible for CNI configuration
Types ¶
Click to show internal directories.
Click to hide internal directories.