Documentation
¶
Index ¶
- Constants
- func BuildBasePlan(pkgType resource.PkgType) plan.Resource
- func BuildCRIPlan(criSpec *existinginfrav1.ContainerRuntime, cfg *envcfg.EnvSpecificConfig, ...) plan.Resource
- func BuildConfigPlan(files []*resource.File) plan.Resource
- func BuildK8SPlan(kubernetesVersion string, kubeletNodeIP string, ...) plan.Resource
- func BuildKubeadmPrejoinPlan(kubernetesVersion string, useIPTables bool) plan.Resource
- func BuildUpgradePlan(pkgType resource.PkgType, k8sVersion string, ntype NodeType) (plan.Resource, error)
- type NodeType
Constants ¶
View Source
const ( // PlanKey for storing plans as annotations on Nodes PlanKey string = "wks.weave.works/node-plan" )
Variables ¶
This section is empty.
Functions ¶
func BuildBasePlan ¶
BuildBasePlan creates a plan for installing the base building blocks for the node
func BuildCRIPlan ¶
func BuildCRIPlan(criSpec *existinginfrav1.ContainerRuntime, cfg *envcfg.EnvSpecificConfig, pkgType resource.PkgType) plan.Resource
BuildCRIPlan creates a plan for installing a CRI. Currently, Docker is the only supported CRI
func BuildConfigPlan ¶
BuildConfigPlan creates a plan for handling the configuration files
func BuildK8SPlan ¶
func BuildK8SPlan(kubernetesVersion string, kubeletNodeIP string, seLinuxInstalled, setSELinuxPermissive, disableSwap, lockYUMPkgs bool, pkgType resource.PkgType, cloudProvider string, extraArgs map[string]string) plan.Resource
BuildK8SPlan creates a plan for running kubernetes on a node
func BuildKubeadmPrejoinPlan ¶
BuildKubeadmPrejoinPlan creates a sub-plan to prepare for running kubeadm join.
Types ¶
Click to show internal directories.
Click to hide internal directories.