Initial upgrade flow for control-plane
This commit is contained in:
@@ -62,6 +62,16 @@ func NewRunner(cfg *monov1alpha1.MonoKSConfig) *Runner {
|
||||
Name: "Configure default CNI",
|
||||
Desc: "Install or configure default container networking (CNI bridge, IPAM, etc.)",
|
||||
},
|
||||
{
|
||||
RegKey: "MountAltImageStore",
|
||||
Name: "Mount alt image store for CRI-O. Needed for upgrade.",
|
||||
Desc: "Will be unmount after kubeadm upgrade apply",
|
||||
},
|
||||
{
|
||||
RegKey: "EngageControlGate",
|
||||
Name: "Engage the control gate",
|
||||
Desc: "Prevents agent polling resources prematurely",
|
||||
},
|
||||
{
|
||||
RegKey: "StartCRIO",
|
||||
Name: "Start CRI-O runtime",
|
||||
@@ -127,6 +137,11 @@ func NewRunner(cfg *monov1alpha1.MonoKSConfig) *Runner {
|
||||
Name: "Run kubeadm upgrade node",
|
||||
Desc: "Upgrade node components (kubelet, config) to match control plane",
|
||||
},
|
||||
{
|
||||
RegKey: "UnmountAltImageStore",
|
||||
Name: "Unmount alt image store",
|
||||
Desc: "Rewrite CRIO storage.conf. Then restart CRIO. Then unmount.",
|
||||
},
|
||||
{
|
||||
RegKey: "ApplyLocalNodeMetadataIfPossible",
|
||||
Name: "Apply node metadata",
|
||||
@@ -147,6 +162,11 @@ func NewRunner(cfg *monov1alpha1.MonoKSConfig) *Runner {
|
||||
Name: "Apply daemonset for control agent",
|
||||
Desc: "Control agent handles OSUpgrade resources",
|
||||
},
|
||||
{
|
||||
RegKey: "ReleaseControlGate",
|
||||
Name: "Release the control gate",
|
||||
Desc: "Allow agent to start polling resources",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user