apiserver

package
v0.0.0-...-5152f1c Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForAPIServerToStabilizeOnTheSameRevision

func WaitForAPIServerToStabilizeOnTheSameRevision(t library.LoggingT, podClient corev1client.PodInterface) error

WaitForAPIServerToStabilizeOnTheSameRevision waits until all API Servers are running at the same revision. The API Servers must stay on the same revision for at least waitForAPIRevisionSuccessThreshold * waitForAPIRevisionSuccessInterval. Mainly because of the difference between the propagation time of triggering a new release and the actual roll-out.

Observations:

rolling out a new version is not instant you need to account for a propagation time (~1/2 minutes)
for some API servers (KAS) rolling out a new version can take ~10 minutes

Note:

the number of instances is calculated based on the number of running pods in a namespace.
only pods with apiserver=true label are considered
only pods in the given namespace are considered (podClient)

Types

This section is empty.

Jump to

Keyboard shortcuts

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