Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ttl command to increase namespace time until removal #12028

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions charts/chainlink-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ Build and deploy current commit
devspace deploy
```

Default `ttl` is `72h`, use `ttl` command to update if you need more time

Valid values are `1h`, `2m`, `3s`, etc. Go time format is invalid `1h2m3s`
```
devspace run ttl ${namespace} 120h
```

If you don't need a build use
```
devspace deploy --skip-build
Expand Down
2 changes: 2 additions & 0 deletions charts/chainlink-cluster/devspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ pipelines:
commands:
connect: |-
sudo kubefwd svc -n $1
ttl: |-
kubectl annotate namespace $1 janitor/ttl=$2 --overwrite

images:
app:
Expand Down
Loading