rollout

package
v0.0.0-...-9b96d08 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NodesInCluster

func NodesInCluster(cli *zk.BaseClient, nodeNames []string) (bool, bool, error)

func PodRevision

func PodRevision(pod corev1.Pod) string

Types

type Rollout

type Rollout struct {
	Workload  *cachev1alpha1.Workload
	Client    k8s.Client
	Recorder  record.EventRecorder
	Log       logr.Logger
	Labels    map[string]string
	Scheme    *runtime.Scheme
	ExpectSts *appsv1.StatefulSet
	ActualSts *appsv1.StatefulSet
}

func (*Rollout) Reconcile

func (r *Rollout) Reconcile() error

func (*Rollout) RollingUpgrades

func (r *Rollout) RollingUpgrades() error

Jump to

Keyboard shortcuts

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