Skip to content

KubernetesClusterAgent Methods

Reflects cluster configuration changes between Orleans and Kubernetes.

OnStop(CancellationToken)

View source
public Task OnStop(CancellationToken cancellationToken)
Stops Kubernetes cluster monitoring.

Parameters

cancellationTokenCancellationToken
A cancellation token which limits how long shutdown can wait for monitoring to stop.

Returns

A task representing the shutdown operation.

Participate(ISiloLifecycle)

View source
public void Participate(ISiloLifecycle lifecycle)
Adds the provided observer as a participant in the lifecycle.

Parameters

lifecycleISiloLifecycle
The observer.