Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaprWatchdog ¶ added in v1.8.0
type DaprWatchdog struct {
// contains filtered or unexported fields
}
DaprWatchdog is a controller that periodically polls all pods and ensures that they are in the correct state. This controller only runs on the cluster's leader. Currently, this ensures that the sidecar is injected in each pod, otherwise it kills the pod, so it can be restarted.
func (*DaprWatchdog) NeedLeaderElection ¶ added in v1.8.0
func (dw *DaprWatchdog) NeedLeaderElection() bool
NeedLeaderElection makes it so the controller runs on the leader node only. Implements sigs.k8s.io/controller-runtime/pkg/manager.LeaderElectionRunnable .
type Operator ¶
Operator is an Dapr Kubernetes Operator for managing components and sidecar lifecycle.
type Options ¶ added in v1.8.0
type Options struct { Config string LeaderElection bool WatchdogEnabled bool WatchdogInterval time.Duration WatchdogMaxRestartsPerMin int WatchNamespace string ServiceReconcilerEnabled bool ArgoRolloutServiceReconcilerEnabled bool WatchdogCanPatchPodLabels bool TrustAnchorsFile string APIPort int APIListenAddress string HealthzPort int HealthzListenAddress string WebhookServerPort int WebhookServerListenAddress string Healthz healthz.Healthz }
Options contains the options for `NewOperator`.
Click to show internal directories.
Click to hide internal directories.