|
@@ -54,6 +54,48 @@ ha_svc_template_path: "native-cluster"
|
|
|
|
|
|
openshift_docker_service_name: "{{ 'container-engine' if (openshift_docker_use_system_container | default(False)) else 'docker' }}"
|
|
|
|
|
|
+openshift_master_loopback_config: "{{ openshift_master_config_dir }}/openshift-master.kubeconfig"
|
|
|
+loopback_context_string: "current-context: {{ openshift.master.loopback_context_name }}"
|
|
|
+openshift_master_session_secrets_file: "{{ openshift_master_config_dir }}/session-secrets.yaml"
|
|
|
+openshift_master_policy: "{{ openshift_master_config_dir }}/policy.json"
|
|
|
+
|
|
|
+scheduler_config:
|
|
|
+ kind: Policy
|
|
|
+ apiVersion: v1
|
|
|
+ predicates: "{{ openshift_master_scheduler_predicates
|
|
|
+ | default(openshift_master_scheduler_current_predicates
|
|
|
+ | default(openshift_master_scheduler_default_predicates)) }}"
|
|
|
+ priorities: "{{ openshift_master_scheduler_priorities
|
|
|
+ | default(openshift_master_scheduler_current_priorities
|
|
|
+ | default(openshift_master_scheduler_default_priorities)) }}"
|
|
|
+
|
|
|
+openshift_master_valid_grant_methods:
|
|
|
+- auto
|
|
|
+- prompt
|
|
|
+- deny
|
|
|
+
|
|
|
+openshift_master_is_scaleup_host: False
|
|
|
+
|
|
|
+# These defaults assume forcing journald persistence, fsync to disk once
|
|
|
+# a second, rate-limiting to 10,000 logs a second, no forwarding to
|
|
|
+# syslog or wall, using 8GB of disk space maximum, using 10MB journal
|
|
|
+# files, keeping only a days worth of logs per journal file, and
|
|
|
+# retaining journal files no longer than a month.
|
|
|
+journald_vars_to_replace:
|
|
|
+- { var: Storage, val: persistent }
|
|
|
+- { var: Compress, val: yes }
|
|
|
+- { var: SyncIntervalSec, val: 1s }
|
|
|
+- { var: RateLimitInterval, val: 1s }
|
|
|
+- { var: RateLimitBurst, val: 10000 }
|
|
|
+- { var: SystemMaxUse, val: 8G }
|
|
|
+- { var: SystemKeepFree, val: 20% }
|
|
|
+- { var: SystemMaxFileSize, val: 10M }
|
|
|
+- { var: MaxRetentionSec, val: 1month }
|
|
|
+- { var: MaxFileSec, val: 1day }
|
|
|
+- { var: ForwardToSyslog, val: no }
|
|
|
+- { var: ForwardToWall, val: no }
|
|
|
+
|
|
|
+
|
|
|
# NOTE
|
|
|
# r_openshift_master_*_default may be defined external to this role.
|
|
|
# openshift_use_*, if defined, may affect other roles or play behavior.
|