Skip to content

Commit

Permalink
Merge pull request #76 from loft-sh/improvements
Browse files Browse the repository at this point in the history
docs: add ignore active connections
  • Loading branch information
FabianKramm authored Dec 1, 2020
2 parents 84e2f19 + caafa58 commit 3657626
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/pages/self-service/sleep-mode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ There are multiple annotations you can set on a namespace to change what counts
- `sleepmode.loft.sh/ignore-verbs`: a comma separated list of kubernetes verbs that do not count as activity (e.g. get, list, create, update, patch, delete)
- `sleepmode.loft.sh/ignore-resource-verbs`: a comma separated list of resources and verbs that do not count as activity (format: myresource.mygroup=create update delete,myresource2.mygroup=create update)
- `sleepmode.loft.sh/ignore-resource-names`: a comma separated list of resources and names that do not count as activity (format: myresource.mygroup=name1 name2)
- `sleepmode.loft.sh/ignore-active-conntections`: if this annotation is set to "true", then still active kubernetes connections will be ignored for determining activity in a space

If you want to set some of this annotations automatically on space creation, you can add these to the space template in the account settings.

Expand Down

0 comments on commit 3657626

Please sign in to comment.