Documentation ¶
Index ¶
- Variables
- type Task
- type Tasks
- func WithBinariesOnly(t Tasks) Tasks
- func WithCCMCSIMigration(t Tasks) Tasks
- func WithClusterStatus(t Tasks) Tasks
- func WithContainerDMigration(t Tasks) Tasks
- func WithCustomEncryptionConfigUpdated(t Tasks) Tasks
- func WithDisableEncryptionProviders(t Tasks, customConfig bool) Tasks
- func WithFullInstall(t Tasks) Tasks
- func WithHostnameOS(t Tasks) Tasks
- func WithHostnameOSAndProbes(t Tasks) Tasks
- func WithProbes(t Tasks) Tasks
- func WithProbesAndSafeguard(t Tasks) Tasks
- func WithReset(t Tasks) Tasks
- func WithResources(t Tasks) Tasks
- func WithRewriteSecrets(t Tasks) Tasks
- func WithRotateKey(t Tasks) Tasks
- func WithUpgrade(t Tasks, followers ...kubeoneapi.HostConfig) Tasks
Constants ¶
This section is empty.
Variables ¶
View Source
var KubeProxyObjectKey = dynclient.ObjectKey{
Namespace: "kube-system",
Name: "kube-proxy",
}
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct { Fn func(*state.State) error Predicate func(*state.State) bool Description string Operation string Retries int }
Task is a runnable task
type Tasks ¶
type Tasks []Task
func WithBinariesOnly ¶
WithBinariesOnly will prepend passed tasks with tasks WithHostnameOS() and append install prerequisite binaries (docker, kubeadm, kubelet, etc...) on all hosts
func WithCCMCSIMigration ¶ added in v1.3.0
func WithClusterStatus ¶
func WithContainerDMigration ¶ added in v1.3.0
func WithCustomEncryptionConfigUpdated ¶ added in v1.3.0
func WithDisableEncryptionProviders ¶ added in v1.3.0
func WithFullInstall ¶
WithFullInstall with install binaries (using WithBinariesOnly) and orchestrate complete cluster init
func WithHostnameOS ¶
WithHostnameOS will prepend passed tasks with 2 basic tasks:
- detect OS on all cluster hosts
- detect hostnames on all cluster hosts
func WithHostnameOSAndProbes ¶ added in v1.3.0
func WithProbes ¶
WithProbes will run different probes over the defined cluster
func WithProbesAndSafeguard ¶ added in v1.3.0
func WithResources ¶ added in v1.3.0
func WithRewriteSecrets ¶ added in v1.3.0
func WithRotateKey ¶ added in v1.3.0
func WithUpgrade ¶
func WithUpgrade(t Tasks, followers ...kubeoneapi.HostConfig) Tasks
Source Files ¶
- ccm_csi_migration.go
- certs.go
- common.go
- containerd.go
- controlplane.go
- coredns.go
- encryption_providers.go
- etcd.go
- files.go
- kubeadm_config.go
- kubeadm_env.go
- kubeadm_upgrade.go
- kubeconfig.go
- kubernetes_binaries.go
- machine_deployments.go
- migrations.go
- nodes.go
- preflight_checks.go
- prerequisites.go
- probes.go
- reset.go
- static_wokers.go
- task.go
- tasks.go
- upgrade_follower.go
- upgrade_leader.go
- upgrade_static_workers.go
- util.go
Click to show internal directories.
Click to hide internal directories.