Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 664 Bytes

spec_examples.md

File metadata and controls

47 lines (37 loc) · 664 Bytes

Cluster Spec Examples

Three members cluster

spec:
  size: 3

This will use default version that etcd operator chooses.

Three members cluster with version specified

spec:
  size: 3
  version: "3.2.10"

Three members cluster with node selector and anti-affinity

spec:
  size: 3
  pod:
    nodeSelector:
      diskType: ssd
    antiAffinity: true

Three members cluster with resource requirement

spec:
  size: 3
  pod:
    resources:
      limits:
        cpu: 300m
        memory: 200Mi
      requests:
        cpu: 200m
        memory: 100Mi

TLS

See cluster TLS docs.