Documentation ¶
Index ¶
- Constants
- func BinInstaller(pkgType resource.PkgType, f *eksd.EKSD) (func(string, string) plan.Resource, error)
- func BuildBasePlan(pkgType resource.PkgType) plan.Resource
- func BuildCNIPlan(cni string, manifests [][]byte) plan.Resource
- func BuildCRIPlan(ctx context.Context, criSpec *existinginfrav1.ContainerRuntime, ...) plan.Resource
- func BuildConfigMapPlan(manifests map[string][]byte, namespace string) plan.Resource
- func BuildConfigPlan(files []*resource.File) plan.Resource
- func BuildGetKubeadmCertKeyPlan(ctx context.Context, certificateKey *string) (*plan.Plan, error)
- func BuildK8SPlan(kubernetesVersion string, kubeletNodeIP string, ...) plan.Resource
- func BuildKubeadmPrejoinPlan(useIPTables bool) plan.Resource
- func BuildSealedSecretPlan(sealedSecretVersion, crdManifest, keyManifest, controllerManifest []byte) plan.Resource
- func BuildUpgradePlan(pkgType resource.PkgType, k8sVersion string, ntype NodeType) (plan.Resource, error)
- func BuildUploadKubeadmCertsPlan(ctx context.Context, certificateKey string) (*plan.Plan, error)
- type NodeType
Constants ¶
const ( // PlanKey for storing plans as annotations on Nodes PlanKey string = "wks.weave.works/node-plan" )
Variables ¶
This section is empty.
Functions ¶
func BinInstaller ¶ added in v0.2.1
func BinInstaller(pkgType resource.PkgType, f *eksd.EKSD) (func(string, string) plan.Resource, error)
BinInstaller creates a function to install binaries based on package type and cluster flavors
func BuildBasePlan ¶
BuildBasePlan creates a plan for installing the base building blocks for the node
func BuildCNIPlan ¶ added in v0.0.4
BuildCNIPlan creates a sub-plan to install the CNI plugin.
func BuildCRIPlan ¶
func BuildCRIPlan(ctx context.Context, 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 BuildConfigMapPlan ¶ added in v0.0.4
BuildConfigMapPlan creates a plan to handle config maps
func BuildConfigPlan ¶
BuildConfigPlan creates a plan for handling the configuration files
func BuildGetKubeadmCertKeyPlan ¶ added in v0.0.9
func BuildK8SPlan ¶
func BuildK8SPlan(kubernetesVersion string, kubeletNodeIP string, seLinuxInstalled, setSELinuxPermissive, disableSwap, lockYUMPkgs bool, pkgType resource.PkgType, cloudProvider string, extraArgs map[string]string, binInstaller func(string, string) plan.Resource, flavor *eksd.EKSD) 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.
func BuildSealedSecretPlan ¶ added in v0.0.4
func BuildSealedSecretPlan(sealedSecretVersion, crdManifest, keyManifest, controllerManifest []byte) plan.Resource
BuildSealedSecretPlan creates a sub-plan to install sealed secrets so we can check secrets into GitHub for GitOps