You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
761 B

  1. ---
  2. # Set to false to only do certificate management
  3. etcd_cluster_setup: true
  4. etcd_backup_prefix: "/var/backups"
  5. etcd_data_dir: "/var/lib/etcd"
  6. etcd_config_dir: /etc/ssl/etcd
  7. etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
  8. etcd_cert_group: root
  9. etcd_script_dir: "{{ bin_dir }}/etcd-scripts"
  10. etcd_heartbeat_interval: "250"
  11. etcd_election_timeout: "5000"
  12. etcd_metrics: "basic"
  13. # Limits
  14. # Limit memory only if <4GB memory on host. 0=unlimited
  15. etcd_memory_limit: "{% if ansible_memtotal_mb < 4096 %}512M{% else %}0{% endif %}"
  16. # Uncomment to set CPU share for etcd
  17. # etcd_cpu_limit: 300m
  18. etcd_blkio_weight: 1000
  19. etcd_node_cert_hosts: "{{ groups['k8s-cluster'] | union(groups.get('calico-rr', [])) }}"
  20. etcd_compaction_retention: "8"
  21. etcd_vault_mount_path: etcd