main.yml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. ---
  2. # openshift_master_facts_default_predicates is a custom lookup plugin in
  3. # role lib_utils
  4. osm_prev_predicates: "{{ lookup('openshift_master_facts_default_predicates', short_version=openshift_upgrade_min) }}"
  5. osm_prev_predicates_no_region: "{{ lookup('openshift_master_facts_default_predicates', short_version=openshift_upgrade_min, regions_enabled=False) }}"
  6. osm_default_predicates_no_region: "{{ lookup('openshift_master_facts_default_predicates', regions_enabled=False) }}"
  7. # osm_older_predicates are the set of predicates that have previously been
  8. # hard-coded into openshift_facts
  9. osm_older_predicates:
  10. - - name: MatchNodeSelector
  11. - name: PodFitsResources
  12. - name: PodFitsPorts
  13. - name: NoDiskConflict
  14. - name: NoVolumeZoneConflict
  15. - name: MaxEBSVolumeCount
  16. - name: MaxGCEPDVolumeCount
  17. - name: Region
  18. argument:
  19. serviceAffinity:
  20. labels:
  21. - region
  22. - - name: MatchNodeSelector
  23. - name: PodFitsResources
  24. - name: PodFitsPorts
  25. - name: NoDiskConflict
  26. - name: NoVolumeZoneConflict
  27. - name: Region
  28. argument:
  29. serviceAffinity:
  30. labels:
  31. - region
  32. - - name: MatchNodeSelector
  33. - name: PodFitsResources
  34. - name: PodFitsPorts
  35. - name: NoDiskConflict
  36. - name: Region
  37. argument:
  38. serviceAffinity:
  39. labels:
  40. - region
  41. # osm_older_predicates_no_region are the set of predicates that have previously
  42. # been hard-coded into openshift_facts, with the Region predicate removed
  43. osm_older_predicates_no_region:
  44. - - name: MatchNodeSelector
  45. - name: PodFitsResources
  46. - name: PodFitsPorts
  47. - name: NoDiskConflict
  48. - name: NoVolumeZoneConflict
  49. - name: MaxEBSVolumeCount
  50. - name: MaxGCEPDVolumeCount
  51. - - name: MatchNodeSelector
  52. - name: PodFitsResources
  53. - name: PodFitsPorts
  54. - name: NoDiskConflict
  55. - name: NoVolumeZoneConflict
  56. - - name: MatchNodeSelector
  57. - name: PodFitsResources
  58. - name: PodFitsPorts
  59. - name: NoDiskConflict
  60. osm_prev_priorities: "{{ lookup('openshift_master_facts_default_priorities', short_version=openshift_upgrade_min) }}"
  61. osm_prev_priorities_no_zone: "{{ lookup('openshift_master_facts_default_priorities', short_version=openshift_upgrade_min, zones_enabled=False) }}"
  62. osm_default_priorities_no_zone: "{{ lookup('openshift_master_facts_default_priorities', zones_enabled=False) }}"
  63. # osm_older_priorities are the set of priorities that have previously been
  64. # hard-coded into openshift_facts
  65. osm_older_priorities:
  66. - - name: LeastRequestedPriority
  67. weight: 1
  68. - name: SelectorSpreadPriority
  69. weight: 1
  70. - name: Zone
  71. weight: 2
  72. argument:
  73. serviceAntiAffinity:
  74. label: zone
  75. # osm_older_priorities_no_region are the set of priorities that have previously
  76. # been hard-coded into openshift_facts, with the Zone priority removed
  77. osm_older_priorities_no_zone:
  78. - - name: LeastRequestedPriority
  79. weight: 1
  80. - name: SelectorSpreadPriority
  81. weight: 1
  82. openshift_master_config_file: "/etc/origin/master/master-config.yaml"
  83. openshift_master_scheduler_conf: "/etc/origin/master/scheduler.json"
  84. openshift_master_session_secrets_file: "/etc/origin/master/session-secrets.yaml"