main.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ---
  2. # descheduler common setup
  3. openshift_descheduler_install: false
  4. openshift_descheduler_tmp_location: /tmp
  5. openshift_descheduler_delete_config: true
  6. # descheduler image setup
  7. openshift_descheduler_image_dict:
  8. origin:
  9. prefix: "docker.io/openshift/"
  10. version: v0.5.0
  11. openshift-enterprise:
  12. prefix: "registry.access.redhat.com/openshift3/ose-"
  13. version: "{{ openshift_image_tag }}"
  14. openshift_descheduler_image_prefix: "{{ openshift_descheduler_image_dict[openshift_deployment_type]['prefix'] }}"
  15. openshift_descheduler_image_version: "{{ openshift_descheduler_image_dict[openshift_deployment_type]['version'] }}"
  16. # descheduler service account setup
  17. openshift_descheduler_service_account: descheduler-sa
  18. # descheduler cluster role setup
  19. openshift_descheduler_cluster_role_name: descheduler-cr
  20. # descheduler policy setup
  21. # by default only RemoveDuplicates strategy is enabled
  22. openshift_descheduler_policy_configmap_name: descheduler-policy-configmap
  23. openshift_descheduler_strategies_dict:
  24. remove_duplicates: true
  25. remove_pods_violating_inter_pod_anti_affinity: false
  26. low_node_utilization: false
  27. # descheduler stratgey LowNodeUtilization setup (matters only if low_node_utilization is true)
  28. openshift_descheduler_strategy_low_node_utilization_dict:
  29. cpu_threshold: 40
  30. mem_threshold: 40
  31. pods_threshold: 40
  32. cpu_target_threshold: 70
  33. mem_target_threshold: 70
  34. pods_target_threshold: 70
  35. # descheduler cronjob setup
  36. openshift_descheduler_cronjob_name: descheduler-cronjob
  37. openshift_descheduler_cronjob_node_selector: {"type": "infra"}
  38. # by default (00:00) everyday
  39. openshift_descheduler_cronjob_schedule: "*/1 0 * * *"
  40. # descheduler container setup
  41. openshift_descheduler_dry_run_mode: true
  42. openshift_descheduler_node_selectors: null