Class TraefikTrafficObservationOptions
Namespace: Cephalon.Edge.Traefik.Configuration
Assembly: Cephalon.Edge.Traefik.dll
Configures how the Traefik traffic materializer reads live Kubernetes resources.
public sealed class TraefikTrafficObservationOptionsInheritance
Section titled “Inheritance”object ← TraefikTrafficObservationOptions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TraefikTrafficObservationOptions()
Section titled “ TraefikTrafficObservationOptions()”Initializes a new instance of the
public TraefikTrafficObservationOptions()Properties
Section titled “Properties”EnableCleanupSweep
Section titled “ EnableCleanupSweep”Gets or sets a value indicating whether apply-and-reconcile mode should also sweep previously owned stale IngressRoute resources.
public bool EnableCleanupSweep { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This cleanup sweep is disabled by default so existing apply-and-reconcile behavior stays additive. When enabled, the materializer will delete transferred resources and prune orphaned resources that still carry Cephalon ownership labels in the configured route namespaces.
KubeConfigPath
Section titled “ KubeConfigPath”Gets or sets the explicit kubeconfig path used when the pack creates its own client outside the cluster.
public string? KubeConfigPath { get; set; }Property Value
Section titled “Property Value”KubeContext
Section titled “ KubeContext”Gets or sets the optional kubeconfig context override used when the pack creates its own client.
public string? KubeContext { get; set; }Property Value
Section titled “Property Value”MasterUrl
Section titled “ MasterUrl”Gets or sets the optional API-server override used when the pack creates its own client from kubeconfig.
public string? MasterUrl { get; set; }Property Value
Section titled “Property Value”Gets or sets the control-plane mode used by the Traefik materializer.
public string Mode { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The default value keeps the pack in configured-intent mode so projected-intent behavior remains additive without
claiming a live apply. Set this to observe-only when the pack should read live Traefik Kubernetes CRD
resources and project the observed posture back into the shared runtime catalog, or to
apply-and-reconcile when the pack should write owned IngressRoute resources before observing live
Traefik posture back into that same shared runtime catalog.
PollingIntervalSeconds
Section titled “ PollingIntervalSeconds”Gets or sets the polling interval, in seconds, used for recurring live observation after startup materialization.
public int PollingIntervalSeconds { get; set; }Property Value
Section titled “Property Value”StaleAfterSeconds
Section titled “ StaleAfterSeconds”Gets or sets the freshness window, in seconds, that observed status should advertise to operators.
public int StaleAfterSeconds { get; set; }Property Value
Section titled “Property Value”UseInClusterConfiguration
Section titled “ UseInClusterConfiguration”Gets or sets a value indicating whether in-cluster Kubernetes configuration should be used when the pack creates its own client.
public bool UseInClusterConfiguration { get; set; }