yurtstaticset

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StaticPodHashAnnotation = "openyurt.io/static-pod-hash"

	// UpgradeWorkerPodPrefix is the name prefix of worker pod which used for static pod upgrade
	UpgradeWorkerPodPrefix     = "yss-upgrade-worker-"
	UpgradeWorkerContainerName = "upgrade-worker"

	ArgTmpl = "/usr/local/bin/node-servant static-pod-upgrade --name=%s --namespace=%s --manifest=%s --hash=%s --mode=%s"
)

Variables

View Source
var (
	True = true
)

Functions

func Add

Add creates a new YurtStaticSet Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

func Format

func Format(format string, args ...interface{}) string

Types

type ReconcileYurtStaticSet

type ReconcileYurtStaticSet struct {
	client.Client

	Configuration config.YurtStaticSetControllerConfiguration
	// contains filtered or unexported fields
}

ReconcileYurtStaticSet reconciles a YurtStaticSet object

func (*ReconcileYurtStaticSet) Reconcile

Reconcile reads that state of the cluster for a YurtStaticSet object and makes changes based on the state read and what is in the YurtStaticSet.Spec

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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