rollview

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package rollview renders the live per-node roll panel — nodes draining/joining/terminating, pod eviction, node pressure, and a Warning-event feed — driven from live Kubernetes state via internal/noderoll. It is shared by `nodegroup update` and the cluster-upgrade orchestrator's nodegroup phase so both surface the same view; rendering lives here (the view layer), never in a service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LiveRollForUpdate

func LiveRollForUpdate(ctx context.Context, kube kubernetes.Interface, nodegroup string, timeout, pollInterval time.Duration)

LiveRollForUpdate renders the live per-node roll panel for a real update by observing live Kubernetes state until every roll-start node is replaced (rollComplete) or the timeout fires. Purely visual and best-effort: it never returns an error to the caller, so it cannot affect the update or its exit code — EKS DescribeUpdate remains authoritative. Old-vs-new is determined by a roll-start baseline (no need to know the target AMI ID up front).

func SimulatedRoll

func SimulatedRoll(ctx context.Context, nodegroup string) error

SimulatedRoll renders the live node-roll panel against a scripted observer (no AWS / no cluster). Backs `nodegroup update --simulate` for demos and QA.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL