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.

42 lines
1.1 KiB

  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. # Note: This does not set up DNS entries. It simply adds the following DNS
  10. # entries to the certificate
  11. etcd_cert_alt_names:
  12. - "etcd.{{ system_namespace }}.svc.{{ dns_domain }}"
  13. - "etcd.{{ system_namespace }}.svc"
  14. - "etcd.{{ system_namespace }}"
  15. - "etcd"
  16. etcd_script_dir: "{{ bin_dir }}/etcd-scripts"
  17. etcd_heartbeat_interval: "250"
  18. etcd_election_timeout: "5000"
  19. etcd_metrics: "basic"
  20. # Limits
  21. # Limit memory only if <4GB memory on host. 0=unlimited
  22. etcd_memory_limit: "{% if ansible_memtotal_mb < 4096 %}512M{% else %}0{% endif %}"
  23. # Uncomment to set CPU share for etcd
  24. # etcd_cpu_limit: 300m
  25. etcd_blkio_weight: 1000
  26. etcd_node_cert_hosts: "{{ groups['k8s-cluster'] | union(groups.get('calico-rr', [])) }}"
  27. etcd_compaction_retention: "8"
  28. etcd_vault_mount_path: etcd
  29. # Force clients like etcdctl to use TLS certs (different than peer security)
  30. etcd_secure_client: true