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.

102 lines
3.0 KiB

  1. ---
  2. # Set to false to only do certificate management
  3. etcd_cluster_setup: true
  4. etcd_events_cluster_setup: false
  5. # Set to true to separate k8s events to a different etcd cluster
  6. etcd_events_cluster_enabled: false
  7. etcd_backup_prefix: "/var/backups"
  8. etcd_data_dir: "/var/lib/etcd"
  9. # Number of etcd backups to retain. Set to a value < 0 to retain all backups
  10. etcd_backup_retention_count: -1
  11. force_etcd_cert_refresh: true
  12. etcd_config_dir: /etc/ssl/etcd
  13. etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
  14. etcd_cert_dir_mode: "0700"
  15. etcd_cert_group: root
  16. # Note: This does not set up DNS entries. It simply adds the following DNS
  17. # entries to the certificate
  18. etcd_cert_alt_names:
  19. - "etcd.kube-system.svc.{{ dns_domain }}"
  20. - "etcd.kube-system.svc"
  21. - "etcd.kube-system"
  22. - "etcd"
  23. etcd_cert_alt_ips: []
  24. etcd_script_dir: "{{ bin_dir }}/etcd-scripts"
  25. etcd_heartbeat_interval: "250"
  26. etcd_election_timeout: "5000"
  27. # etcd_snapshot_count: "10000"
  28. etcd_metrics: "basic"
  29. # Uncomment to set a separate port for etcd to expose metrics on
  30. # etcd_metrics_port: 2381
  31. ## A dictionary of extra environment variables to add to etcd.env, formatted like:
  32. ## etcd_extra_vars:
  33. ## ETCD_VAR1: "value1"
  34. ## ETCD_VAR2: "value2"
  35. etcd_extra_vars: {}
  36. # Limits
  37. # Limit memory only if <4GB memory on host. 0=unlimited
  38. etcd_memory_limit: "{% if ansible_memtotal_mb < 4096 %}512M{% else %}0{% endif %}"
  39. # etcd_quota_backend_bytes: "2147483648"
  40. # Uncomment to set CPU share for etcd
  41. # etcd_cpu_limit: 300m
  42. etcd_blkio_weight: 1000
  43. etcd_node_cert_hosts: "{{ groups['k8s-cluster'] | union(groups.get('calico-rr', [])) }}"
  44. etcd_compaction_retention: "8"
  45. # Force clients like etcdctl to use TLS certs (different than peer security)
  46. etcd_secure_client: true
  47. # Enable peer client cert authentication
  48. etcd_peer_client_auth: true
  49. # Maximum number of snapshot files to retain (0 is unlimited)
  50. # etcd_max_snapshots: 5
  51. # Maximum number of wal files to retain (0 is unlimited)
  52. # etcd_max_wals: 5
  53. # Number of loop retries
  54. etcd_retries: 4
  55. ## Support tls cipher suites.
  56. # etcd_tls_cipher_suites: {}
  57. # - TLS_RSA_WITH_RC4_128_SHA
  58. # - TLS_RSA_WITH_3DES_EDE_CBC_SHA
  59. # - TLS_RSA_WITH_AES_128_CBC_SHA
  60. # - TLS_RSA_WITH_AES_256_CBC_SHA
  61. # - TLS_RSA_WITH_AES_128_CBC_SHA256
  62. # - TLS_RSA_WITH_AES_128_GCM_SHA256
  63. # - TLS_RSA_WITH_AES_256_GCM_SHA384
  64. # - TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
  65. # - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
  66. # - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
  67. # - TLS_ECDHE_RSA_WITH_RC4_128_SHA
  68. # - TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
  69. # - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
  70. # - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
  71. # - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
  72. # - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
  73. # - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  74. # - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  75. # - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  76. # - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  77. # - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305
  78. # - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  79. # - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
  80. # - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256