Skip to content

Commit

Permalink
kfp: Reduce persistent agent TTL_SECONDS_AFTER_WORKFLOW_FINISH to 8 h…
Browse files Browse the repository at this point in the history
…ours (kubeflow#1013)
  • Loading branch information
chensun authored Aug 24, 2022
1 parent 2f23e51 commit 6e7467e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acm-repos/kfp-standalone-1/kfp-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3118,12 +3118,12 @@ spec:
spec:
containers:
- env:
- name: TTL_SECONDS_AFTER_WORKFLOW_FINISH
value: "28800"
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: TTL_SECONDS_AFTER_WORKFLOW_FINISH
value: "86400"
- name: NUM_WORKERS
value: "2"
image: gcr.io/ml-pipeline/persistenceagent:2.0.0-alpha.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ patchesStrategicMerge:
- mysql-patch.yaml
- workflow-controller-patch.yaml
- metadata-grpc-deployment-patch.yaml
- persistent-agent-deployment-patch.yaml

#### Customization ###
# 1. Change values in params.env file
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ml-pipeline-persistenceagent
spec:
template:
spec:
containers:
- name: ml-pipeline-persistenceagent
env:
- name: TTL_SECONDS_AFTER_WORKFLOW_FINISH
value: "28800"

0 comments on commit 6e7467e

Please sign in to comment.