Note: This is only useful during upgrades.
Use the following command to view task information:
kubectl get cm {xstore}-task -o yaml
The structure is as follows:
type ExecutionContext struct {
// Topologies in uses.
Topologies map[int64]*xstore.Topology `json:"topologies,omitempty"`
// Generation.
Generation int64 `json:"generation,omitempty"`
// Current running nodes.
Running map[string]model.PaxosNodeStatus `json:"running,omitempty"`
// Tracking nodes. This is the tracking set of the paxos node configuration.
Tracking map[string]model.PaxosNodeStatus `json:"tracking,omitempty"`
// Expected nodes.
Expected map[string]model.PaxosNode `json:"expected,omitempty"`
// Current usable volumes.
Volumes map[string]model.PaxosVolume `json:"volumes,omitempty"`
// Plan.
Plan *plan.Plan `json:"plan,omitempty"`
// StepIndex of the plan.
StepIndex int `json:"step_index,omitempty"`
PodFactory factory.ExtraPodFactory `json:"-"`
}