@@ -4,6 +4,27 @@ localhost ansible_connection=local ansible_python_interpreter="/usr/bin/env pyth
44
55crunchy_debug='false'
66
7+ # ==================
8+ # Kuberenetes and OpenShift Settings
9+ # Note: Either Kubernetes or OpenShift must be used
10+
11+ # Deploy into Openshift
12+ # ==================
13+ # Note: openshift_host can use the format https://URL:PORT
14+ # Note: openshift_token can be used for token authentication
15+ # ==================
16+ # openshift_host=''
17+ # openshift_skip_tls_verify=true
18+ # openshift_user=''
19+ # openshift_password=''
20+
21+ # Deploy into Kubernetes
22+ # ==================
23+ # Note: Context name can be found using:
24+ # kubectl config current-context
25+ # ==================
26+ # kubernetes_context=''
27+
728# ===================
829# PGO Settings
930# The following settings configure the Crunchy PostgreSQL Operator
@@ -12,9 +33,11 @@ crunchy_debug='false'
1233pgo_client_install='true'
1334
1435# Namespace where operator will be deployed
36+ # NOTE: Ansible will create namespaces that don't exist
1537pgo_operator_namespace='pgo'
1638
1739# Comma separated list of namespaces Operator will manage
40+ # NOTE: Ansible will create namespaces that don't exist
1841namespace='pgo'
1942
2043# PGO Admin Credentials
@@ -25,6 +48,8 @@ pgo_admin_password=''
2548pgo_tls_no_verify='false'
2649
2750# Crunchy Container Suite images to use. The tags centos7 and rhel7 are acceptable.
51+ # CentOS7 images can be found in dockerhub: https://hub.docker.com/u/crunchydata
52+ # RHEL7 images are available to Crunchy customers: https://access.crunchydata.com/login/
2853ccp_image_prefix='crunchydata'
2954ccp_image_tag='centos7-11.2-2.4.0'
3055
@@ -96,8 +121,7 @@ prometheus_install='true'
96121# ==================
97122# Which storage definitions to use when creating persistent volumes
98123# for a variety of uses.
99- # Note: it is suggested that backup_storage be configured to a ReadWriteMany
100- # storage provider for pgBackRest to work correctly.
124+
101125backrest_storage='storage1'
102126backup_storage='storage1'
103127primary_storage='storage2'
@@ -107,7 +131,7 @@ storage1_access_mode='ReadWriteMany'
107131storage1_size='1G'
108132storage1_type='dynamic'
109133storage1_class='nfs'
110- # storage1_supplemental_groups=65534
134+ storage1_supplemental_groups=65534
111135#storage1_fs_group=26
112136
113137storage2_access_mode='ReadWriteOnce'
@@ -121,19 +145,26 @@ storage3_access_mode='ReadWriteOnce'
121145storage3_size='1G'
122146storage3_type='dynamic'
123147storage3_class='fast'
148+ storage3_fs_group=26
124149#storage3_supplemental_groups=65534
125- #storage3_fs_group=26
126150
127151# ==================
128- # Deploy into Openshift
129- # Note: openshift_token can be used for token authentication
152+ # Metrics
130153# ==================
131- # openshift_host=''
132- # openshift_skip_tls_verify=true
133- # openshift_user=''
134- # openshift_password=''
154+ # Optional installation of Grafana and Prometheus optimized
155+ # to work with the Crunchy PostgreSQL Operator
135156
136- # ==================
137- # Deploy into Kubernetes
138- # ==================
139- # kubernetes_context=''
157+ # Note: Ansible will create namespaces that don't exist
158+ metrics_namespace='metrics'
159+
160+ grafana_install='false'
161+ grafana_admin_username='admin'
162+ grafana_admin_password=''
163+ #grafana_storage_access_mode='ReadWriteOnce'
164+ #grafana_storage_class_name='fast'
165+ #grafana_volume_size='1G'
166+
167+ prometheus_install='false'
168+ #prometheus_storage_access_mode='ReadWriteOnce'
169+ #prometheus_storage_class_name='fast'
170+ #prometheus_volume_size='1G'
0 commit comments