Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Commit

Permalink
doc: add etcd configuration example (#1870)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongchaodeng authored Jan 19, 2018
1 parent ea00899 commit 7880638
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/user/spec_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ spec:
cpu: 200m
memory: 100Mi
```
## Custom etcd configuration
etcd members could be configured via env: https://coreos.com/etcd/docs/latest/op-guide/configuration.html
```yaml
spec:
size: 3
pod:
etcdEnv:
- name: ETCD_AUTO_COMPACTION_RETENTION
value: "1"
```
## TLS
For more information on working with TLS, see [Cluster TLS policy][cluster-tls].
Expand Down

0 comments on commit 7880638

Please sign in to comment.