Skip to content

Commit

Permalink
🐛 [backplane-2.5] increase the eviction-grace-period to 24 hours (ope…
Browse files Browse the repository at this point in the history
  • Loading branch information
elgnay authored Mar 13, 2024
1 parent a2a5a1b commit 8efb2da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type unmanagedAppliedWorkController struct {
// - the appliedmanifestwork hub hash does not match the current hub hash of the work agent.
//
// One unmanaged appliedmanifestwork will be evicted from the managed cluster after a grace period (by
// default, 10 minutes), after one appliedmanifestwork is evicted from the managed cluster, its owned
// default, 24 hours), after one appliedmanifestwork is evicted from the managed cluster, its owned
// resources will also be evicted from the managed cluster with Kubernetes garbage collection.
func NewUnManagedAppliedWorkController(
recorder events.Recorder,
Expand Down
2 changes: 1 addition & 1 deletion pkg/work/spoke/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type WorkloadAgentOptions struct {
func NewWorkloadAgentOptions() *WorkloadAgentOptions {
return &WorkloadAgentOptions{
StatusSyncInterval: 10 * time.Second,
AppliedManifestWorkEvictionGracePeriod: 60 * time.Minute,
AppliedManifestWorkEvictionGracePeriod: 24 * time.Hour,
WorkloadSourceDriver: WorkloadSourceDriver{
Type: KubeDriver,
Config: "/spoke/hub-kubeconfig/kubeconfig",
Expand Down

0 comments on commit 8efb2da

Please sign in to comment.