helpful-lighter-24518
02/05/2025, 10:28 AMgc-interval
(30m) without us configuring anything explicitly. However, recently, we’ve noticed that pods marked as Succeeded
are lingering for much longer than expected.
I tried setting the gc-interval
explicitly in our ConfigMap, but it doesn’t seem to take effect:
data:
000-core.yaml: |
admin:
endpoint: localhost:8089
insecure: true
catalog-cache:
endpoint: localhost:8081
insecure: true
type: datacatalog
cluster_resources:
standaloneDeployment: false
templatePath: /etc/flyte/cluster-resource-templates
logger:
show-source: true
level: 1
propeller:
create-flyteworkflow-crd: true
gc-interval: 1m
webhook:
certDir: /var/run/flyte/certs
localCert: true
secretName: flyte-binary-webhook-secret
serviceName: flyte-binary-webhook
servicePort: 443
flyte:
admin:
disableClusterResourceManager: false
disableScheduler: false
disabled: false
seedProjects:
- flytesnacks
dataCatalog:
disabled: false
propeller:
disableWebhook: false
disabled: false
gc-interval: 1m
When I set delete-resource-on-finalize: true
, the pods are deleted immediately, but that’s not ideal since we need some time to debug.
Has anyone faced a similar issue? Is there something I’m missing in the configuration or another setting I should adjust? How can I debug this to understand why the garbage collector isn’t working as expected?
Thanks in advance for your help!average-finland-92144
02/05/2025, 4:13 PMflyte-core
this should be set on configmap.core.propeller.gc-interval
Could you get logs from the flytepropeller
Pod? Maybe there are hints therehelpful-lighter-24518
02/05/2025, 4:45 PMflyte-binary
pod the only log I see is metadata.finalizers: "flyte-finalizer": prefer a domain-qualified finalizer name to avoid accidental conflicts with other finalizer writers
Appreciate your help!average-finland-92144
02/05/2025, 5:22 PMconfiguration.propeller.gc-interval
helpful-lighter-24518
02/10/2025, 3:24 PMmax-ttl-hours
setting. We were using the default value (23 hours) and now we’ve decreased itaverage-finland-92144
02/10/2025, 3:25 PM