spec:
size: 3
This will use the default version chosen by the etcd-operator.
spec:
size: 3
version: "3.2.13"
Note: change $cluster_name to the EtcdCluster's name.
spec:
size: 3
pod:
nodeSelector:
diskType: ssd
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: etcd_cluster
operator: In
values: ["$cluster_name"]
topologyKey: kubernetes.io/hostname
For other topology keys, see https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ .
spec:
size: 3
pod:
resources:
limits:
cpu: 300m
memory: 200Mi
requests:
cpu: 200m
memory: 100Mi
For more information on working with TLS, see Cluster TLS policy.