Skip to content

Commit

Permalink
ttl command to increase namespace time until removal (#12028)
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov authored Feb 27, 2024
1 parent e63bca6 commit 035a22e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
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

0 comments on commit 035a22e

Please sign in to comment.