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 ¶
Types ¶
type ReconcileYurtStaticSet ¶
type ReconcileYurtStaticSet struct { client.Client Configuration config.YurtStaticSetControllerConfiguration // contains filtered or unexported fields }
ReconcileYurtStaticSet reconciles a YurtStaticSet object
func (*ReconcileYurtStaticSet) Reconcile ¶
func (r *ReconcileYurtStaticSet) Reconcile(_ context.Context, request reconcile.Request) (reconcile.Result, error)
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
Click to show internal directories.
Click to hide internal directories.