Skip to content

Commit

Permalink
Merge pull request #3000 from zendesk/grosser/docs
Browse files Browse the repository at this point in the history
document how to use system namespace
  • Loading branch information
grosser authored Oct 15, 2018
2 parents c5bd6b6 + 349066d commit 077f408
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ Set `KUBERNETES_NO_CPU_LIMIT_ALLOWED=1`, see [#2820](https://github.com/zendesk/
Knowing which team owns each component is useful, set `KUBERNETES_ENFORCE_TEAMS=true`
to make all kubernetes deploys that do not use a `metadata.labels.team` / `spec.template.metadata.labels.team` fail.

### Using custom namespace

Samson always sets a namespace according to the deploygroups `kubernetes_namespace`.
To override it, set the namespace to either `default` or `kube-system` and set `metadata.kubernetes.io/cluster-service: 'true'`

### Preventing request loss with preStop

Samson automatically adds `container[].lifecycle.preStop` `sleep 3` if a preStop hook is not set and
Expand Down

0 comments on commit 077f408

Please sign in to comment.