fast2dev 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. f2dev/__init__.py +1 -0
  2. f2dev/__main__.py +5 -0
  3. f2dev/_bundle/platform/.dockerignore +80 -0
  4. f2dev/_bundle/platform/.gitignore +82 -0
  5. f2dev/_bundle/platform/LICENSE +202 -0
  6. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/template_values.yaml +1731 -0
  7. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/Chart.yaml +9 -0
  8. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-airflow-deploy.yaml +60 -0
  9. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-bi-sync.yaml +46 -0
  10. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-checkout.yaml +49 -0
  11. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-console-sync.yaml +41 -0
  12. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-label.yaml +48 -0
  13. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-run.yaml +43 -0
  14. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-teardown.yaml +47 -0
  15. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-governance.yaml +40 -0
  16. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-lint.yaml +37 -0
  17. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-notify.yaml +32 -0
  18. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-quality.yaml +38 -0
  19. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-refresh.yaml +36 -0
  20. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-supersede.yaml +30 -0
  21. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-tags.yaml +44 -0
  22. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-branch.yaml +138 -0
  23. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-main.yaml +150 -0
  24. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-pr.yaml +184 -0
  25. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/NOTES.txt +18 -0
  26. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/settings-configmap.yaml +14 -0
  27. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/workflowtemplates.yaml +31 -0
  28. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/values.yaml +41 -0
  29. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values.yaml +436 -0
  30. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values_extra.yaml +49 -0
  31. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values.yaml +551 -0
  32. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values_extra.yaml +9 -0
  33. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/lightdash/template_values.yaml +359 -0
  34. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/metabase/template_values.yaml +384 -0
  35. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/superset/template_values.yaml +1562 -0
  36. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/template_values.yaml +269 -0
  37. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/.helmignore +15 -0
  38. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/Chart.yaml +20 -0
  39. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/template_values.yaml.j2 +175 -0
  40. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/NOTES.txt +19 -0
  41. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/_helpers.tpl +50 -0
  42. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/cicd-rbac.yaml +30 -0
  43. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/configmap.yaml +142 -0
  44. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/extras.yaml +14 -0
  45. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/ingress.yaml +69 -0
  46. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/promtail-configmap.yaml +68 -0
  47. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/secret.yaml +31 -0
  48. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/service.yaml +15 -0
  49. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/serviceaccount.yaml +12 -0
  50. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/statefulset.yaml +276 -0
  51. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/valkey.yaml +113 -0
  52. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/warehouse-stats-cronjob.yaml +107 -0
  53. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/values.yaml +828 -0
  54. f2dev/_bundle/platform/charts/data_services_charts/data_dbt_server/template_values.yaml +385 -0
  55. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_prerequisites_values.yaml +118 -0
  56. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_values.yaml +1671 -0
  57. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_kafka_values.yaml +112 -0
  58. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_opensearch_values.yaml +662 -0
  59. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_values.yaml +738 -0
  60. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/Chart.yaml +6 -0
  61. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/files/argo-openapi.json +681 -0
  62. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/_helpers.tpl +17 -0
  63. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/argo-rbac.yaml +35 -0
  64. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/backends.yaml +327 -0
  65. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/gateway.yaml +150 -0
  66. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/values.yaml +91 -0
  67. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/template_values.yaml +142 -0
  68. f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values.yaml +1167 -0
  69. f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values_extra.yaml +99 -0
  70. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/Dockerfile +10 -0
  71. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/build.sh +38 -0
  72. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/cleanup.py +452 -0
  73. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/requirements.txt +3 -0
  74. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/docs/keycloak-oidc-setup.md +106 -0
  75. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values.yaml +5536 -0
  76. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values_extra.yaml +379 -0
  77. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/configmap.yaml +459 -0
  78. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_auth.py +285 -0
  79. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_mcp_plugin.py +24 -0
  80. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/webserver_config.py +130 -0
  81. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/Dockerfile +10 -0
  82. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/build.sh +38 -0
  83. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/cleanup.py +749 -0
  84. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/configmap.yaml +24 -0
  85. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/cronjob.yaml +137 -0
  86. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/requirements.txt +3 -0
  87. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/.helmignore +26 -0
  88. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.lock +3 -0
  89. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.yaml +15 -0
  90. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/README.md +243 -0
  91. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/NOTES.txt +31 -0
  92. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_helpers.tpl +245 -0
  93. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_images.tpl +17 -0
  94. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-auth-secret.yaml +35 -0
  95. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/bootloader-secrets.yaml +19 -0
  96. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/pod.yaml +126 -0
  97. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-connector-rollout-worker/deployment.yaml +171 -0
  98. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/cron-secrets.yaml +19 -0
  99. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/deployment.yaml +149 -0
  100. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-db.yaml +88 -0
  101. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/_helpers.tpl +111 -0
  102. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/deployment.yaml +169 -0
  103. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/hpa.yaml +23 -0
  104. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/pdb.yaml +17 -0
  105. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/service.yaml +25 -0
  106. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/serviceaccount.yaml +10 -0
  107. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/deployment.yaml +161 -0
  108. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/service.yaml +25 -0
  109. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/service.yaml +62 -0
  110. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/statefulset.yaml +182 -0
  111. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/_helpers.tpl +54 -0
  112. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/deployment.yaml +152 -0
  113. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/service.yaml +23 -0
  114. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/serviceaccount.yaml +10 -0
  115. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-metrics/deployment.yaml +124 -0
  116. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/deployment.yaml +227 -0
  117. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/service.yaml +29 -0
  118. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/deployment.yaml +184 -0
  119. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/service.yaml +21 -0
  120. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/configmap.yaml +55 -0
  121. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/deployment.yaml +220 -0
  122. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/service.yaml +21 -0
  123. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/deployment.yaml +122 -0
  124. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/service.yaml +23 -0
  125. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/deployment.yaml +146 -0
  126. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/ingress.yaml +63 -0
  127. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/service.yaml +32 -0
  128. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-worker/deployment.yaml +229 -0
  129. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/deployment.yaml +191 -0
  130. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/service.yaml +25 -0
  131. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/deployment.yaml +232 -0
  132. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/jobs-secrets.yaml +21 -0
  133. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_auth.tpl +944 -0
  134. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_aws.tpl +109 -0
  135. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cluster.tpl +82 -0
  136. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_common.tpl +370 -0
  137. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connector.tpl +58 -0
  138. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRollout.tpl +141 -0
  139. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRolloutWorker.tpl +56 -0
  140. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cron.tpl +62 -0
  141. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_customerio.tpl +56 -0
  142. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_database.tpl +375 -0
  143. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_dataplaneGroups.tpl +38 -0
  144. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_directJobRunner.tpl +122 -0
  145. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_featureFlags.tpl +126 -0
  146. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_java.tpl +38 -0
  147. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_jobs.tpl +422 -0
  148. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_keycloak.tpl +542 -0
  149. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_logging.tpl +38 -0
  150. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_metrics.tpl +214 -0
  151. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_micronaut.tpl +43 -0
  152. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_minio.tpl +64 -0
  153. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_secretsManager.tpl +628 -0
  154. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_server.tpl +533 -0
  155. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_shopify.tpl +83 -0
  156. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_stigg.tpl +157 -0
  157. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_storage.tpl +468 -0
  158. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_temporal.tpl +943 -0
  159. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_topology.tpl +98 -0
  160. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_tracking.tpl +82 -0
  161. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_webapp.tpl +38 -0
  162. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_worker.tpl +366 -0
  163. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadApiServer.tpl +62 -0
  164. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadLauncher.tpl +395 -0
  165. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloads.tpl +770 -0
  166. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/env-configmap.yaml +62 -0
  167. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/gcs-log-creds-secret.yaml +19 -0
  168. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/ingress.yaml +69 -0
  169. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/minio.yaml +161 -0
  170. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/secret.yaml +31 -0
  171. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/serviceaccount.yaml +50 -0
  172. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/telemetry-configmap.yaml +32 -0
  173. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/tests/test-webapp.yaml +34 -0
  174. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/values.yaml +3158 -0
  175. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/.helmignore +12 -0
  176. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/Chart.yaml +16 -0
  177. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/README.md +172 -0
  178. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/_helpers.tpl +42 -0
  179. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/deployment.yaml +105 -0
  180. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/externalsecret.yaml +23 -0
  181. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/pdb.yaml +15 -0
  182. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/service.yaml +18 -0
  183. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/values.yaml +97 -0
  184. f2dev/_bundle/platform/charts/data_services_charts/data_replication/feature-flags-configmap.yaml +16 -0
  185. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_metrics_values.yaml +13 -0
  186. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_oauth2proxy_values.yaml +1200 -0
  187. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_values.yaml +3255 -0
  188. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/Chart.yaml +7 -0
  189. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-client.yaml +27 -0
  190. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-master.yaml +38 -0
  191. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-worker.yaml +29 -0
  192. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_client_options +24 -0
  193. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_master_options +6 -0
  194. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_worker_options +6 -0
  195. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/log4j2.properties +109 -0
  196. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/seatunnel.yaml +36 -0
  197. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/_helpers.tpl +70 -0
  198. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/configmap.yaml +11 -0
  199. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-master.yaml +120 -0
  200. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-worker.yaml +118 -0
  201. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/rbac.yaml +32 -0
  202. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/services.yaml +33 -0
  203. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/values.yaml +101 -0
  204. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_oauth2proxy_values.yaml +196 -0
  205. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_values.yaml +75 -0
  206. f2dev/_bundle/platform/charts/data_services_charts/object_storage_operator/template_values.yaml +506 -0
  207. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/csi_driver_values.yaml +193 -0
  208. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_pdns_webhook_values.yaml +91 -0
  209. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values.yaml +1777 -0
  210. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values_extra.yaml +253 -0
  211. f2dev/_bundle/platform/charts/infra_services_charts/cluster_cleaner/template_values.yaml +57 -0
  212. f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values.yaml +476 -0
  213. f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values_extra.yaml +131 -0
  214. f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/realm_template.json +4785 -0
  215. f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/template_values.yaml +657 -0
  216. f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values.yaml +36 -0
  217. f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values_extra.yaml +352 -0
  218. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values.yaml +1218 -0
  219. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values_extra.yaml +845 -0
  220. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values.yaml +561 -0
  221. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values_extra.yaml +23 -0
  222. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_events_values.yaml +59 -0
  223. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_values.yaml +185 -0
  224. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_loki_values.yaml +108 -0
  225. f2dev/_bundle/platform/charts/infra_services_charts/services_metrics/template_values.yaml +1530 -0
  226. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/.gitkeep +0 -0
  227. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/f2d-main.json +2871 -0
  228. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/.gitkeep +0 -0
  229. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-k8s-cluster.json +1751 -0
  230. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-microservices.json +1682 -0
  231. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-pvc-storage.json +1320 -0
  232. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-service.json +1193 -0
  233. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/.gitkeep +0 -0
  234. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-cert-manager.json +755 -0
  235. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-keycloak.json +746 -0
  236. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-object-storage.json +881 -0
  237. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-postgresql.json +1590 -0
  238. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-traefik.json +1375 -0
  239. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/.gitkeep +0 -0
  240. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows-trends.json +1916 -0
  241. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows.json +1330 -0
  242. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-analysis.json +631 -0
  243. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-freshness.json +1362 -0
  244. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-governance.json +1958 -0
  245. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-modeling.json +764 -0
  246. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration-trends.json +2352 -0
  247. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration.json +1506 -0
  248. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-quality.json +1549 -0
  249. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication-trends.json +2799 -0
  250. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication.json +2153 -0
  251. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming-trends.json +1536 -0
  252. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming.json +1209 -0
  253. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse/.gitkeep +0 -0
  254. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/.gitkeep +0 -0
  255. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/f2d-bigquery.json +990 -0
  256. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/.gitkeep +0 -0
  257. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/f2d-logs.json +630 -0
  258. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/folders.yaml +17 -0
  259. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/requirements.yaml +8 -0
  260. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_alerts_cm.yaml +2031 -0
  261. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_values.yaml +1315 -0
  262. f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values.yaml +550 -0
  263. f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values_extra.yaml +742 -0
  264. f2dev/_bundle/platform/charts/infra_services_charts/traefik_lb/template_values.yaml +1758 -0
  265. f2dev/_bundle/platform/cli/README.md +866 -0
  266. f2dev/_bundle/platform/cli/__init__.py +42 -0
  267. f2dev/_bundle/platform/cli/__main__.py +17 -0
  268. f2dev/_bundle/platform/cli/cert_providers.py +369 -0
  269. f2dev/_bundle/platform/cli/command_record.py +144 -0
  270. f2dev/_bundle/platform/cli/config/data_services_config.json +217 -0
  271. f2dev/_bundle/platform/cli/config/environment_profiles.yaml +183 -0
  272. f2dev/_bundle/platform/cli/config/images.json +129 -0
  273. f2dev/_bundle/platform/cli/config/infrastructure_services_config.json +141 -0
  274. f2dev/_bundle/platform/cli/config.py +252 -0
  275. f2dev/_bundle/platform/cli/deployment_configuration_aws_example.yaml +117 -0
  276. f2dev/_bundle/platform/cli/deployment_configuration_gcp_example.yaml +130 -0
  277. f2dev/_bundle/platform/cli/deployment_configuration_onprem_example.yaml +71 -0
  278. f2dev/_bundle/platform/cli/destroy.py +677 -0
  279. f2dev/_bundle/platform/cli/dns_check.py +27 -0
  280. f2dev/_bundle/platform/cli/dns_providers.py +405 -0
  281. f2dev/_bundle/platform/cli/exit_codes.py +32 -0
  282. f2dev/_bundle/platform/cli/fixers.py +56 -0
  283. f2dev/_bundle/platform/cli/generate_only.py +336 -0
  284. f2dev/_bundle/platform/cli/health_report.py +114 -0
  285. f2dev/_bundle/platform/cli/logging.py +206 -0
  286. f2dev/_bundle/platform/cli/main.py +5293 -0
  287. f2dev/_bundle/platform/cli/precheck.py +1523 -0
  288. f2dev/_bundle/platform/cli/prerequisites/README.md +208 -0
  289. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.bat +107 -0
  290. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.ps1 +343 -0
  291. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.sh +207 -0
  292. f2dev/_bundle/platform/cli/prerequisites/linux/install-linux.sh +775 -0
  293. f2dev/_bundle/platform/cli/prerequisites/macos/install-macos.sh +634 -0
  294. f2dev/_bundle/platform/cli/prerequisites/requirements.txt +41 -0
  295. f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.ps1 +150 -0
  296. f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.sh +418 -0
  297. f2dev/_bundle/platform/cli/prerequisites/versions.yaml +43 -0
  298. f2dev/_bundle/platform/cli/prerequisites/windows/install-windows.ps1 +1005 -0
  299. f2dev/_bundle/platform/cli/restore.py +179 -0
  300. f2dev/_bundle/platform/cli/service_gates.py +160 -0
  301. f2dev/_bundle/platform/cli/state.py +332 -0
  302. f2dev/_bundle/platform/cli/wizard.py +782 -0
  303. f2dev/_bundle/platform/cli.py +235 -0
  304. f2dev/_bundle/platform/deployers/__init__.py +4 -0
  305. f2dev/_bundle/platform/deployers/base_deployer.py +8 -0
  306. f2dev/_bundle/platform/deployers/clouds/__init__.py +0 -0
  307. f2dev/_bundle/platform/deployers/clouds/aws_cloud.py +619 -0
  308. f2dev/_bundle/platform/deployers/clouds/azure_cloud.py +0 -0
  309. f2dev/_bundle/platform/deployers/clouds/google_cloud.py +785 -0
  310. f2dev/_bundle/platform/deployers/clouds/terragrunt_progress.py +56 -0
  311. f2dev/_bundle/platform/deployers/services/data_services/1.0_cicd_workload_runner.py +644 -0
  312. f2dev/_bundle/platform/deployers/services/data_services/12.0_control_plane.py +321 -0
  313. f2dev/_bundle/platform/deployers/services/data_services/13.0_data_mcp_hub.py +362 -0
  314. f2dev/_bundle/platform/deployers/services/data_services/2.0_object_storage_operator.py +416 -0
  315. f2dev/_bundle/platform/deployers/services/data_services/2.5_services_logs.py +482 -0
  316. f2dev/_bundle/platform/deployers/services/data_services/3.0_data_cicd_workflows.py +361 -0
  317. f2dev/_bundle/platform/deployers/services/data_services/4.0_data_replication.py +534 -0
  318. f2dev/_bundle/platform/deployers/services/data_services/4.5_data_streaming.py +303 -0
  319. f2dev/_bundle/platform/deployers/services/data_services/5.0_data_orchestration.py +760 -0
  320. f2dev/_bundle/platform/deployers/services/data_services/6.0_data_modeling.py +753 -0
  321. f2dev/_bundle/platform/deployers/services/data_services/7.0_data_governance.py +795 -0
  322. f2dev/_bundle/platform/deployers/services/data_services/8.0_data_analysis.py +587 -0
  323. f2dev/_bundle/platform/deployers/services/infra_services/1.0_secret_operator.py +467 -0
  324. f2dev/_bundle/platform/deployers/services/infra_services/10.0_cluster_pvc_autoscaller.py +500 -0
  325. f2dev/_bundle/platform/deployers/services/infra_services/2.0_cert_manager.py +963 -0
  326. f2dev/_bundle/platform/deployers/services/infra_services/3.0_external_dns.py +823 -0
  327. f2dev/_bundle/platform/deployers/services/infra_services/4.0_traefik_lb.py +604 -0
  328. f2dev/_bundle/platform/deployers/services/infra_services/5.0_stackgres_postgresql.py +652 -0
  329. f2dev/_bundle/platform/deployers/services/infra_services/6.0_services_metrics.py +515 -0
  330. f2dev/_bundle/platform/deployers/services/infra_services/7.0_services_monitoring.py +787 -0
  331. f2dev/_bundle/platform/deployers/services/infra_services/8.0_cluster_cleaner.py +439 -0
  332. f2dev/_bundle/platform/deployers/services/infra_services/9.0_idp_sso_manager.py +790 -0
  333. f2dev/_bundle/platform/readme.md +47 -0
  334. f2dev/_bundle/platform/requirements.txt +14 -0
  335. f2dev/_bundle/platform/terraform/aws_cloud/templates/backend.tf_template +10 -0
  336. f2dev/_bundle/platform/terraform/aws_cloud/templates/defaults.yaml_template +11 -0
  337. f2dev/_bundle/platform/terraform/aws_cloud/templates/env.yaml_template +2 -0
  338. f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_advanced_template +134 -0
  339. f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_basic_template +134 -0
  340. f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_advanced_template +134 -0
  341. f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_basic_template +134 -0
  342. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/01-apps-vpc/terragrunt.hcl +26 -0
  343. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/02-create-dns-ns-record/terragrunt.hcl +16 -0
  344. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/03-eks-cluster/terragrunt.hcl +21 -0
  345. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/04-external_dns_sa/terragrunt.hcl +28 -0
  346. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/01-apps-vpc/terragrunt.hcl +25 -0
  347. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/02-eks-cluster/terragrunt.hcl +32 -0
  348. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/03-external-dns-irsa/terragrunt.hcl +34 -0
  349. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/04-cert-manager-irsa/terragrunt.hcl +34 -0
  350. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +22 -0
  351. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +44 -0
  352. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/empty.yaml +1 -0
  353. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/empty.yaml +1 -0
  354. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/env.hcl +2 -0
  355. f2dev/_bundle/platform/terraform/azure_cloud/README.md +3 -0
  356. f2dev/_bundle/platform/terraform/azure_cloud/templates/_keep_structure.txt +0 -0
  357. f2dev/_bundle/platform/terraform/google_cloud/README.md +20 -0
  358. f2dev/_bundle/platform/terraform/google_cloud/templates/backend.tf_template +7 -0
  359. f2dev/_bundle/platform/terraform/google_cloud/templates/defaults.yaml_template +12 -0
  360. f2dev/_bundle/platform/terraform/google_cloud/templates/env.yaml_template +2 -0
  361. f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_advanced_template +114 -0
  362. f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_basic_template +116 -0
  363. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/.gitignore +3 -0
  364. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/00-create-ou-folder/terragrunt.hcl +15 -0
  365. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/01-create-project/terragrunt.hcl +30 -0
  366. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/02-enable-apis/terragrunt.hcl +25 -0
  367. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/03-0-apps-vpc/terragrunt.hcl +134 -0
  368. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/04-external-ip-traefik/terragrunt.hcl +29 -0
  369. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +25 -0
  370. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +43 -0
  371. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/07-gke-cluster/terragrunt.hcl +103 -0
  372. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/08-dbt_deploy_sa/terragrunt.hcl +36 -0
  373. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/09-dbt_sa/terragrunt.hcl +40 -0
  374. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/10-cert_manager_sa/terragrunt.hcl +34 -0
  375. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/11-external_dns_sa/terragrunt.hcl +30 -0
  376. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/12-monitoring_sa/terragrunt.hcl +52 -0
  377. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/13-data_replication_sa/terragrunt.hcl +35 -0
  378. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/14-data_orchestration_sa/terragrunt.hcl +35 -0
  379. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/15-bi_data_sa/terragrunt.hcl +43 -0
  380. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/16-whitelist-external-ip-on-common/terragrunt.hcl +30 -0
  381. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/17-kubeconfig/terragrunt.hcl +23 -0
  382. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/18-data_streaming_sa/terragrunt.hcl +24 -0
  383. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/empty.yaml +1 -0
  384. f2dev/_bundle/platform/utils/__init__.py +0 -0
  385. f2dev/_bundle/platform/utils/customer_data_platform_repository_operator.py +1098 -0
  386. f2dev/_bundle/platform/utils/customer_secret_manager_operations.py +1635 -0
  387. f2dev/_bundle/platform/utils/environment_profiles.py +58 -0
  388. f2dev/_bundle/platform/utils/helm_utils.py +215 -0
  389. f2dev/_bundle/platform/utils/infrastructure_deployment_operator.py +1532 -0
  390. f2dev/_bundle/platform/utils/keycloak_realm_reconcile.py +320 -0
  391. f2dev/_bundle/platform/utils/kubeconfig_fixer.py +265 -0
  392. f2dev/_bundle/platform/utils/raw_extras.py +34 -0
  393. f2dev/_bundle/platform/utils/readiness.py +330 -0
  394. f2dev/_bundle/platform/utils/secret_structure_upgrade.py +194 -0
  395. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/.gitignore +7 -0
  396. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/README.md +33 -0
  397. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/analyses/.gitkeep +0 -0
  398. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/dbt_project.yml +52 -0
  399. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/.gitkeep +0 -0
  400. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_bq_time_zones.sql +12 -0
  401. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_monitoring_grain.sql +23 -0
  402. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.sql +19 -0
  403. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.yml +25 -0
  404. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.sql +16 -0
  405. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.yml +24 -0
  406. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.sql +12 -0
  407. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.yml +21 -0
  408. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.sql +14 -0
  409. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.yml +22 -0
  410. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.sql +52 -0
  411. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.yml +42 -0
  412. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.sql +74 -0
  413. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.yml +49 -0
  414. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/sources/billing_export.yml +9 -0
  415. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.sql +9 -0
  416. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.yml +4 -0
  417. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/packages.yml +5 -0
  418. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/profiles.yml +15 -0
  419. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/scripts/run_monitoring.py +201 -0
  420. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/seeds/.gitkeep +0 -0
  421. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/snapshots/.gitkeep +0 -0
  422. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/tests/.gitkeep +0 -0
  423. f2dev/_bundle/platform/utils/templates/dry_run/gcp_sa.json +12 -0
  424. f2dev/_bundle/platform/utils/templates/dry_run/kubeconfig.yaml +18 -0
  425. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/README.MD +50 -0
  426. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/dbt/README.MD +47 -0
  427. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/fast2dev_healthcheck.py_template_airflow_3.x +158 -0
  428. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/bitbucket/bitbucket-pipelines.yml_template +144 -0
  429. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/PR_VALIDATION.md +52 -0
  430. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/pull_request_template.md +48 -0
  431. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/argo-workflows.yml_template +143 -0
  432. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/pr-agent.yml +30 -0
  433. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/validate-pr-description.yml +38 -0
  434. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/PR_VALIDATION.md +52 -0
  435. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/pull_request_template.md +48 -0
  436. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/argo-workflows.yml_template +143 -0
  437. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/pr-agent.yml +37 -0
  438. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/validate-pr-description.yml +157 -0
  439. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/PR_VALIDATION.md +43 -0
  440. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/merge_request_templates/Default.md +48 -0
  441. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab-ci.yml_template +181 -0
  442. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.gitignore +21 -0
  443. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.pr_agent.toml +82 -0
  444. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/AGENTS.md +126 -0
  445. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/README.MD +101 -0
  446. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/DR.md +341 -0
  447. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/README.md.j2 +81 -0
  448. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/decrypt_files.py +331 -0
  449. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/encrypt_files.py +321 -0
  450. f2dev/_bundle/platform/utils/templates/secret_structure_template/customer_vault_structure.json +502 -0
  451. f2dev/_bundle/platform/utils/vault_structure_sync.py +96 -0
  452. f2dev/_bundle/terraform-modules/README.md +12 -0
  453. f2dev/_bundle/terraform-modules/aws_cloud/README.md +7 -0
  454. f2dev/_bundle/terraform-modules/aws_cloud/eks/addons-roles.tf +298 -0
  455. f2dev/_bundle/terraform-modules/aws_cloud/eks/main.tf +313 -0
  456. f2dev/_bundle/terraform-modules/aws_cloud/eks/outputs.tf +3 -0
  457. f2dev/_bundle/terraform-modules/aws_cloud/eks/policies/lb-controller-policy.json +219 -0
  458. f2dev/_bundle/terraform-modules/aws_cloud/eks/provider.tf +36 -0
  459. f2dev/_bundle/terraform-modules/aws_cloud/eks/variables.tf +107 -0
  460. f2dev/_bundle/terraform-modules/aws_cloud/eks/versions.tf +10 -0
  461. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/main.tf +25 -0
  462. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/provider.tf +17 -0
  463. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/variables.tf +41 -0
  464. f2dev/_bundle/terraform-modules/aws_cloud/vpc/main.tf +34 -0
  465. f2dev/_bundle/terraform-modules/aws_cloud/vpc/outputs.tf +44 -0
  466. f2dev/_bundle/terraform-modules/aws_cloud/vpc/provider.tf +12 -0
  467. f2dev/_bundle/terraform-modules/aws_cloud/vpc/variables.tf +118 -0
  468. f2dev/_bundle/terraform-modules/aws_cloud/vpc/versions.tf +10 -0
  469. f2dev/_bundle/terraform-modules/azure_cloud/README.md +3 -0
  470. f2dev/_bundle/terraform-modules/google_cloud/README.md +17 -0
  471. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/main.tf +8 -0
  472. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/providers.tf +6 -0
  473. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/variables.tf +17 -0
  474. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/versions.tf +8 -0
  475. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/main.tf +24 -0
  476. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/outputs.tf +25 -0
  477. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/providers.tf +7 -0
  478. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/variables.tf +17 -0
  479. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/versions.tf +9 -0
  480. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/main.tf +38 -0
  481. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/variables.tf +73 -0
  482. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/versions.tf +39 -0
  483. f2dev/_bundle/terraform-modules/google_cloud/composer/main.tf +213 -0
  484. f2dev/_bundle/terraform-modules/google_cloud/composer/outputs.tf +31 -0
  485. f2dev/_bundle/terraform-modules/google_cloud/composer/provider.tf +4 -0
  486. f2dev/_bundle/terraform-modules/google_cloud/composer/variables.tf +192 -0
  487. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/main.tf +29 -0
  488. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/output.tf +4 -0
  489. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/providers.tf +6 -0
  490. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/variables.tf +40 -0
  491. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/versions.tf +8 -0
  492. f2dev/_bundle/terraform-modules/google_cloud/create-project/main.tf +18 -0
  493. f2dev/_bundle/terraform-modules/google_cloud/create-project/output.tf +8 -0
  494. f2dev/_bundle/terraform-modules/google_cloud/create-project/providers.tf +6 -0
  495. f2dev/_bundle/terraform-modules/google_cloud/create-project/variables.tf +27 -0
  496. f2dev/_bundle/terraform-modules/google_cloud/create-project/versions.tf +9 -0
  497. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/README.md +188 -0
  498. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/main.tf +135 -0
  499. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/output.tf +16 -0
  500. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/providers.tf +6 -0
  501. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/variables.tf +54 -0
  502. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/versions.tf +17 -0
  503. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/main.tf +14 -0
  504. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/provider.tf +7 -0
  505. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/variables.tf +13 -0
  506. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/versions.tf +10 -0
  507. f2dev/_bundle/terraform-modules/google_cloud/external-ip/README.md +89 -0
  508. f2dev/_bundle/terraform-modules/google_cloud/external-ip/main.tf +17 -0
  509. f2dev/_bundle/terraform-modules/google_cloud/external-ip/outputs.tf +19 -0
  510. f2dev/_bundle/terraform-modules/google_cloud/external-ip/variables.tf +43 -0
  511. f2dev/_bundle/terraform-modules/google_cloud/fw-add/main.tf +24 -0
  512. f2dev/_bundle/terraform-modules/google_cloud/fw-add/providers.tf +6 -0
  513. f2dev/_bundle/terraform-modules/google_cloud/fw-add/variables.tf +37 -0
  514. f2dev/_bundle/terraform-modules/google_cloud/fw-add/versions.tf +9 -0
  515. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/README.md +10 -0
  516. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/main.tf +459 -0
  517. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/outputs.tf +44 -0
  518. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/provider.tf +19 -0
  519. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/variables.tf +354 -0
  520. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/versions.tf +22 -0
  521. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/README.md +40 -0
  522. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/main.tf +54 -0
  523. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/outputs.tf +10 -0
  524. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/variables.tf +24 -0
  525. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/versions.tf +10 -0
  526. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/README.md +47 -0
  527. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/main.tf +51 -0
  528. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/README.md +103 -0
  529. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/main.tf +71 -0
  530. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/outputs.tf +71 -0
  531. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/variables.tf +82 -0
  532. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/versions.tf +27 -0
  533. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/outputs.tf +35 -0
  534. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/provider.tf +4 -0
  535. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/variables.tf +237 -0
  536. f2dev/_bundle/terraform-modules/oracle_cloud/README.md +3 -0
  537. f2dev/launcher.py +153 -0
  538. fast2dev-1.0.0.dist-info/METADATA +201 -0
  539. fast2dev-1.0.0.dist-info/RECORD +543 -0
  540. fast2dev-1.0.0.dist-info/WHEEL +4 -0
  541. fast2dev-1.0.0.dist-info/entry_points.txt +2 -0
  542. fast2dev-1.0.0.dist-info/licenses/LICENSE +202 -0
  543. fast2dev-1.0.0.dist-info/licenses/NOTICE +6 -0
@@ -0,0 +1,1530 @@
1
+ ## Fast2.Dev Deployment
2
+ # Helm deployment values for Service.
3
+ # Helm Chart name: {{ chart_name }}
4
+ # Helm Chart repo: {{ chart_repo }}
5
+ # Helm Chart version {{ chart_version }}
6
+
7
+
8
+ {% raw %}
9
+ # yaml-language-server: $schema=values.schema.json
10
+ # Default values for prometheus.
11
+ # This is a YAML-formatted file.
12
+ # Declare variables to be passed into your templates.
13
+
14
+ rbac:
15
+ create: true
16
+
17
+ podSecurityPolicy:
18
+ enabled: false
19
+
20
+ imagePullSecrets: []
21
+ # - name: "image-pull-secret"
22
+
23
+ ## Define serviceAccount names for components. Defaults to component's fully qualified name.
24
+ ##
25
+ serviceAccounts:
26
+ server:
27
+ create: true
28
+ name: ""
29
+ annotations: {}
30
+
31
+ ## Opt out of automounting Kubernetes API credentials.
32
+ ## It will be overriden by server.automountServiceAccountToken value, if set.
33
+ # automountServiceAccountToken: false
34
+
35
+ ## Additional labels to attach to all resources
36
+ commonMetaLabels: {}
37
+
38
+ ## Monitors ConfigMap changes and POSTs to a URL
39
+ ## Ref: https://github.com/prometheus-operator/prometheus-operator/tree/main/cmd/prometheus-config-reloader
40
+ ##
41
+ configmapReload:
42
+ ## URL for configmap-reload to use for reloads
43
+ ##
44
+ reloadUrl: ""
45
+
46
+ ## env sets environment variables to pass to the container. Can be set as name/value pairs,
47
+ ## read from secrets or configmaps.
48
+ env: []
49
+ # - name: SOMEVAR
50
+ # value: somevalue
51
+ # - name: PASSWORD
52
+ # valueFrom:
53
+ # secretKeyRef:
54
+ # name: mysecret
55
+ # key: password
56
+ # optional: false
57
+
58
+ prometheus:
59
+ ## If false, the configmap-reload container will not be deployed
60
+ ##
61
+ enabled: true
62
+
63
+ ## configmap-reload container name
64
+ ##
65
+ name: configmap-reload
66
+
67
+ ## configmap-reload container image
68
+ ##
69
+ image:
70
+ repository: quay.io/prometheus-operator/prometheus-config-reloader
71
+ # if not set the chart's pinned config-reloader version is used
72
+ # When digest is set to a non-empty value, images will be pulled by digest (regardless of tag value).
73
+ digest: ""
74
+ pullPolicy: IfNotPresent
75
+
76
+ # containerPort: 9533
77
+
78
+ ## Additional configmap-reload container arguments
79
+ ##
80
+ extraArgs: {}
81
+
82
+ ## Additional configmap-reload volume directories
83
+ ##
84
+ extraVolumeDirs: []
85
+
86
+ ## Additional configmap-reload volume mounts
87
+ ##
88
+ extraVolumeMounts: []
89
+
90
+ ## Additional configmap-reload mounts
91
+ ##
92
+ extraConfigmapMounts: []
93
+ # - name: prometheus-alerts
94
+ # mountPath: /etc/alerts.d
95
+ # subPath: ""
96
+ # configMap: prometheus-alerts
97
+ # readOnly: true
98
+
99
+ ## Security context to be added to configmap-reload container
100
+ containerSecurityContext: {}
101
+
102
+ ## configmap-reload resource requests and limits
103
+ ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
104
+ ##
105
+ resources: {}
106
+
107
+ server:
108
+ ## Prometheus server container name
109
+ ##
110
+ name: server
111
+
112
+ ## Opt out of automounting Kubernetes API credentials.
113
+ ## If set it will override serviceAccounts.server.automountServiceAccountToken value for ServiceAccount.
114
+ # automountServiceAccountToken: false
115
+
116
+ ## Use a ClusterRole (and ClusterRoleBinding)
117
+ ## - If set to false - we define a RoleBinding in the defined namespaces ONLY
118
+ ##
119
+ ## NB: because we need a Role with nonResourceURL's ("/metrics") - you must get someone with Cluster-admin privileges to define this role for you, before running with this setting enabled.
120
+ ## This makes prometheus work - for users who do not have ClusterAdmin privs, but wants prometheus to operate on their own namespaces, instead of clusterwide.
121
+ ##
122
+ ## You MUST also set namespaces to the ones you have access to and want monitored by Prometheus.
123
+ ##
124
+ # useExistingClusterRoleName: nameofclusterrole
125
+
126
+ ## If set it will override prometheus.server.fullname value for ClusterRole and ClusterRoleBinding
127
+ ##
128
+ clusterRoleNameOverride: ""
129
+
130
+ # Enable only the release namespace for monitoring. By default all namespaces are monitored.
131
+ # If releaseNamespace and namespaces are both set a merged list will be monitored.
132
+ releaseNamespace: false
133
+
134
+ ## namespaces to monitor (instead of monitoring all - clusterwide). Needed if you want to run without Cluster-admin privileges.
135
+ # namespaces:
136
+ # - yournamespace
137
+
138
+ # sidecarContainers - add more containers to prometheus server
139
+ # Key/Value where Key is the sidecar `- name: <Key>`
140
+ # Example:
141
+ # sidecarContainers:
142
+ # webserver:
143
+ # image: nginx
144
+ # OR for adding OAuth authentication to Prometheus
145
+ # sidecarContainers:
146
+ # oauth-proxy:
147
+ # image: quay.io/oauth2-proxy/oauth2-proxy:v7.1.2
148
+ # args:
149
+ # - --upstream=http://127.0.0.1:9090
150
+ # - --http-address=0.0.0.0:8081
151
+ # - ...
152
+ # ports:
153
+ # - containerPort: 8081
154
+ # name: oauth-proxy
155
+ # protocol: TCP
156
+ # resources: {}
157
+ sidecarContainers: {}
158
+
159
+ # sidecarTemplateValues - context to be used in template for sidecarContainers
160
+ # Example:
161
+ # sidecarTemplateValues: *your-custom-globals
162
+ # sidecarContainers:
163
+ # webserver: |-
164
+ # {{ include "webserver-container-template" . }}
165
+ # Template for `webserver-container-template` might looks like this:
166
+ # image: "{{ .Values.server.sidecarTemplateValues.repository }}:{{ .Values.server.sidecarTemplateValues.tag }}"
167
+ # ...
168
+ #
169
+ sidecarTemplateValues: {}
170
+
171
+ ## Prometheus server container image
172
+ ##
173
+ image:
174
+ repository: quay.io/prometheus/prometheus
175
+ # if not set appVersion field from Chart.yaml is used
176
+ # When digest is set to a non-empty value, images will be pulled by digest (regardless of tag value).
177
+ digest: ""
178
+ pullPolicy: IfNotPresent
179
+
180
+ ## Prometheus server command
181
+ ##
182
+ command: []
183
+
184
+ ## prometheus server priorityClassName
185
+ ##
186
+ priorityClassName: ""
187
+
188
+ ## EnableServiceLinks indicates whether information about services should be injected
189
+ ## into pod's environment variables, matching the syntax of Docker links.
190
+ ## WARNING: the field is unsupported and will be skipped in K8s prior to v1.13.0.
191
+ ##
192
+ enableServiceLinks: true
193
+
194
+ ## The URL prefix at which the container can be accessed. Useful in the case the '-web.external-url' includes a slug
195
+ ## so that the various internal URLs are still able to access as they are in the default case.
196
+ ## (Optional)
197
+ prefixURL: ""
198
+
199
+ ## External URL which can access prometheus
200
+ ## Maybe same with Ingress host name
201
+ baseURL: ""
202
+
203
+ ## Additional server container environment variables
204
+ ##
205
+ ## You specify this manually like you would a raw deployment manifest.
206
+ ## This means you can bind in environment variables from secrets.
207
+ ##
208
+ ## e.g. static environment variable:
209
+ ## - name: DEMO_GREETING
210
+ ## value: "Hello from the environment"
211
+ ##
212
+ ## e.g. secret environment variable:
213
+ ## - name: USERNAME
214
+ ## valueFrom:
215
+ ## secretKeyRef:
216
+ ## name: mysecret
217
+ ## key: username
218
+ env: []
219
+
220
+ # List of flags to override default parameters, e.g:
221
+ # - --enable-feature=agent
222
+ # - --storage.agent.retention.max-time=30m
223
+ # - --config.file=/etc/config/prometheus.yml
224
+ defaultFlagsOverride:
225
+ - "--log.level=warn"
226
+ - "--config.file=/etc/config/prometheus.yml"
227
+ - "--storage.tsdb.path=/prometheus/data"
228
+ {% endraw %} - "--storage.tsdb.retention.time={{ size.retention }}"
229
+ - "--storage.tsdb.retention.size={{ size.retention_size }}"
230
+ {% raw %} - "--web.enable-lifecycle"
231
+
232
+ extraFlags:
233
+ - web.enable-lifecycle
234
+ ## web.enable-admin-api flag controls access to the administrative HTTP API which includes functionality such as
235
+ ## deleting time series. This is disabled by default.
236
+ # - web.enable-admin-api
237
+ ##
238
+ ## storage.tsdb.no-lockfile flag controls BD locking
239
+ # - storage.tsdb.no-lockfile
240
+ ##
241
+ ## storage.tsdb.wal-compression flag enables compression of the write-ahead log (WAL)
242
+ # - storage.tsdb.wal-compression
243
+
244
+ ## Path to a configuration file on prometheus server container FS
245
+ configPath: /etc/config/prometheus.yml
246
+
247
+ ### The data directory used by prometheus to set --storage.tsdb.path
248
+ ### When empty server.persistentVolume.mountPath is used instead
249
+ storagePath: ""
250
+
251
+ global:
252
+ ## How frequently to scrape targets by default
253
+ ##
254
+ scrape_interval: 1m
255
+ ## How long until a scrape request times out
256
+ ##
257
+ scrape_timeout: 10s
258
+ ## How frequently to evaluate rules
259
+ ##
260
+ evaluation_interval: 1m
261
+ ## https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write
262
+ ##
263
+ remoteWrite: []
264
+ ## https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_read
265
+ ##
266
+ remoteRead: []
267
+
268
+ ## https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tsdb
269
+ ##
270
+ tsdb: {}
271
+ # out_of_order_time_window: 0s
272
+
273
+ ## https://prometheus.io/docs/prometheus/latest/configuration/configuration/#exemplars
274
+ ## Must be enabled via --enable-feature=exemplar-storage
275
+ ##
276
+ exemplars: {}
277
+ # max_exemplars: 100000
278
+
279
+ ## Custom HTTP headers for Liveness/Readiness/Startup Probe
280
+ ##
281
+ ## Useful for providing HTTP Basic Auth to healthchecks
282
+ probeHeaders: []
283
+ # - name: "Authorization"
284
+ # value: "Bearer ABCDEabcde12345"
285
+
286
+ ## Additional Prometheus server container arguments
287
+ ##
288
+ extraArgs: {}
289
+
290
+ ## Additional InitContainers to initialize the pod
291
+ ##
292
+ extraInitContainers: []
293
+
294
+ ## Additional Prometheus server Volume mounts
295
+ ##
296
+ extraVolumeMounts: []
297
+
298
+ ## Additional Prometheus server Volumes
299
+ ##
300
+ extraVolumes: []
301
+
302
+ ## Additional Prometheus server hostPath mounts
303
+ ##
304
+ extraHostPathMounts: []
305
+ # - name: certs-dir
306
+ # mountPath: /etc/kubernetes/certs
307
+ # subPath: ""
308
+ # hostPath: /etc/kubernetes/certs
309
+ # readOnly: true
310
+
311
+ extraConfigmapMounts: []
312
+ # - name: certs-configmap
313
+ # mountPath: /prometheus
314
+ # subPath: ""
315
+ # configMap: certs-configmap
316
+ # readOnly: true
317
+
318
+ ## Additional Prometheus server Secret mounts
319
+ # Defines additional mounts with secrets. Secrets must be manually created in the namespace.
320
+ extraSecretMounts:
321
+ {% endraw %}{% if streaming_enabled %}{% raw %}
322
+ - name: data-streaming-scrape-auth
323
+ mountPath: /etc/secrets/data-streaming
324
+ secretName: data-streaming-scrape-auth
325
+ readOnly: true
326
+ optional: true
327
+ {% endraw %}{% endif %}{% raw %}
328
+ - name: opensearch-scrape-auth
329
+ mountPath: /etc/secrets/opensearch
330
+ secretName: opensearch-scrape-auth
331
+ readOnly: true
332
+ optional: true
333
+ # - name: secret-files
334
+ # mountPath: /etc/secrets
335
+ # subPath: ""
336
+ # secretName: prom-secret-files
337
+ # readOnly: true
338
+
339
+ ## ConfigMap override where fullname is {{.Release.Name}}-{{.Values.server.configMapOverrideName}}
340
+ ## Defining configMapOverrideName will cause templates/server-configmap.yaml
341
+ ## to NOT generate a ConfigMap resource
342
+ ##
343
+ configMapOverrideName: ""
344
+
345
+ ## Extra labels for Prometheus server ConfigMap (ConfigMap that holds serverFiles)
346
+ extraConfigmapLabels: {}
347
+
348
+ ingress:
349
+ ## If true, Prometheus server Ingress will be created
350
+ ##
351
+ enabled: false
352
+
353
+ # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
354
+ # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
355
+ # ingressClassName: nginx
356
+
357
+ ## Prometheus server Ingress annotations
358
+ ##
359
+ annotations: {}
360
+ # kubernetes.io/ingress.class: nginx
361
+ # kubernetes.io/tls-acme: 'true'
362
+
363
+ ## Prometheus server Ingress additional labels
364
+ ##
365
+ extraLabels: {}
366
+
367
+ ## Redirect ingress to an additional defined port on the service
368
+ # servicePort: 8081
369
+
370
+ ## Prometheus server Ingress hostnames with optional path
371
+ ## Must be provided if Ingress is enabled
372
+ ##
373
+ hosts: []
374
+ # - prometheus.domain.com
375
+ # - domain.com/prometheus
376
+
377
+ path: /
378
+
379
+ # pathType is only for k8s >= 1.18
380
+ pathType: Prefix
381
+
382
+ ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
383
+ extraPaths: []
384
+ # - path: /*
385
+ # backend:
386
+ # serviceName: ssl-redirect
387
+ # servicePort: use-annotation
388
+
389
+ ## Prometheus server Ingress TLS configuration
390
+ ## Secrets must be manually created in the namespace
391
+ ##
392
+ tls: []
393
+ # - secretName: prometheus-server-tls
394
+ # hosts:
395
+ # - prometheus.domain.com
396
+
397
+ ## Server Deployment Strategy type
398
+ strategy:
399
+ type: Recreate
400
+
401
+ ## hostAliases allows adding entries to /etc/hosts inside the containers
402
+ hostAliases: []
403
+ # - ip: "127.0.0.1"
404
+ # hostnames:
405
+ # - "example.com"
406
+
407
+ ## Node tolerations for server scheduling to nodes with taints
408
+ ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
409
+ ##
410
+ tolerations: []
411
+ # - key: "key"
412
+ # operator: "Equal|Exists"
413
+ # value: "value"
414
+ # effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
415
+
416
+ ## Node labels for Prometheus server pod assignment
417
+ ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
418
+ ##
419
+ nodeSelector: {}
420
+
421
+ ## Pod affinity
422
+ ##
423
+ affinity: {}
424
+
425
+ ## Pod anti-affinity can prevent the scheduler from placing Prometheus server replicas on the same node.
426
+ ## The value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
427
+ ## The value "hard" means that the scheduler is *required* to not schedule two replica pods onto the same node.
428
+ ## The default value "" will disable pod anti-affinity so that no anti-affinity rules will be configured (unless set in `server.affinity`).
429
+ ##
430
+ podAntiAffinity: ""
431
+
432
+ ## If anti-affinity is enabled sets the topologyKey to use for anti-affinity.
433
+ ## This can be changed to, for example, failure-domain.beta.kubernetes.io/zone
434
+ ##
435
+ podAntiAffinityTopologyKey: kubernetes.io/hostname
436
+
437
+ ## Pod topology spread constraints
438
+ ## ref. https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
439
+ topologySpreadConstraints: []
440
+
441
+ ## PodDisruptionBudget settings
442
+ ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
443
+ ##
444
+ podDisruptionBudget:
445
+ enabled: false
446
+ maxUnavailable: 1
447
+ # minAvailable: 1
448
+ ## unhealthyPodEvictionPolicy is available since 1.27.0 (beta)
449
+ ## https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy
450
+ # unhealthyPodEvictionPolicy: IfHealthyBudget
451
+
452
+ ## Use an alternate scheduler, e.g. "stork".
453
+ ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
454
+ ##
455
+ # schedulerName:
456
+
457
+ persistentVolume:
458
+ ## If true, Prometheus server will create/use a Persistent Volume Claim
459
+ ## If false, use emptyDir
460
+ ##
461
+ enabled: true
462
+
463
+ ## If set it will override the name of the created persistent volume claim
464
+ ## generated by the stateful set.
465
+ ##
466
+ statefulSetNameOverride: ""
467
+
468
+ ## Prometheus server data Persistent Volume access modes
469
+ ## Must match those of existing PV or dynamic provisioner
470
+ ## Ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
471
+ ##
472
+ accessModes:
473
+ - ReadWriteOnce
474
+
475
+ ## Prometheus server data Persistent Volume labels
476
+ ##
477
+ labels: {}
478
+
479
+ ## Prometheus server data Persistent Volume annotations
480
+ ##
481
+ annotations: {}
482
+
483
+ ## Prometheus server data Persistent Volume existing claim name
484
+ ## Requires server.persistentVolume.enabled: true
485
+ ## If defined, PVC must be created manually before volume will be bound
486
+ existingClaim: ""
487
+
488
+ ## Prometheus server data Persistent Volume mount root path
489
+ ##
490
+ mountPath: /prometheus
491
+
492
+ ## Prometheus server data Persistent Volume size
493
+ ##
494
+ size: 5Gi
495
+
496
+ ## Prometheus server data Persistent Volume Storage Class
497
+ ## If defined, storageClassName: <storageClass>
498
+ ## If set to "-", storageClassName: "", which disables dynamic provisioning
499
+ ## If undefined (the default) or set to null, no storageClassName spec is
500
+ ## set, choosing the default provisioner. (gp2 on AWS, standard on
501
+ ## GKE, AWS & OpenStack)
502
+ ##
503
+ # storageClass: "-"
504
+
505
+ ## Prometheus server data Persistent Volume Binding Mode
506
+ ## If defined, volumeBindingMode: <volumeBindingMode>
507
+ ## If undefined (the default) or set to null, no volumeBindingMode spec is
508
+ ## set, choosing the default mode.
509
+ ##
510
+ # volumeBindingMode: ""
511
+
512
+ ## Subdirectory of Prometheus server data Persistent Volume to mount
513
+ ## Useful if the volume's root directory is not empty
514
+ ##
515
+ subPath: ""
516
+
517
+ ## Persistent Volume Claim Selector
518
+ ## Useful if Persistent Volumes have been provisioned in advance
519
+ ## Ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector
520
+ ##
521
+ # selector:
522
+ # matchLabels:
523
+ # release: "stable"
524
+ # matchExpressions:
525
+ # - { key: environment, operator: In, values: [ dev ] }
526
+
527
+ ## Persistent Volume Name
528
+ ## Useful if Persistent Volumes have been provisioned in advance and you want to use a specific one
529
+ ##
530
+ # volumeName: ""
531
+
532
+ emptyDir:
533
+ ## Prometheus server emptyDir volume size limit
534
+ ##
535
+ sizeLimit: ""
536
+
537
+ ## Annotations to be added to Prometheus server pods
538
+ ##
539
+ podAnnotations:
540
+ cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
541
+ # iam.amazonaws.com/role: prometheus
542
+
543
+ ## Labels to be added to Prometheus server pods
544
+ ##
545
+ podLabels: {}
546
+
547
+ ## Prometheus AlertManager configuration
548
+ ##
549
+ alertmanagers: []
550
+
551
+ ## Specify if a Pod Security Policy for node-exporter must be created
552
+ ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/
553
+ ##
554
+ podSecurityPolicy:
555
+ annotations: {}
556
+ ## Specify pod annotations
557
+ ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#apparmor
558
+ ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#seccomp
559
+ ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#sysctl
560
+ ##
561
+ # seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
562
+ # seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
563
+ # apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
564
+
565
+ ## Use a StatefulSet if replicaCount needs to be greater than 1 (see below)
566
+ ##
567
+ replicaCount: 1
568
+
569
+ ## Number of old history to retain to allow rollback
570
+ ## Default Kubernetes value is set to 10
571
+ ##
572
+ revisionHistoryLimit: 10
573
+
574
+ ## Annotations to be added to ConfigMap
575
+ ##
576
+ configMapAnnotations: {}
577
+
578
+ ## Annotations to be added to deployment
579
+ ##
580
+ deploymentAnnotations: {}
581
+
582
+ statefulSet:
583
+ ## If true, use a statefulset instead of a deployment for pod management.
584
+ ## This allows to scale replicas to more than 1 pod
585
+ ##
586
+ enabled: true
587
+
588
+ annotations: {}
589
+ labels: {}
590
+ podManagementPolicy: OrderedReady
591
+
592
+ ## Alertmanager headless service to use for the statefulset
593
+ ##
594
+ headless:
595
+ annotations: {}
596
+ labels: {}
597
+ servicePort: 80
598
+ ## Enable gRPC port on service to allow auto discovery with thanos-querier
599
+ gRPC:
600
+ enabled: false
601
+ servicePort: 10901
602
+ # nodePort: 10901
603
+
604
+ ## Statefulset's persistent volume claim retention policy
605
+ ## pvcDeleteOnStsDelete and pvcDeleteOnStsScale determine whether
606
+ ## statefulset's PVCs are deleted (true) or retained (false) on scaling down
607
+ ## and deleting statefulset, respectively. Requires 1.27.0+.
608
+ ## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
609
+ ##
610
+ pvcDeleteOnStsDelete: false
611
+ pvcDeleteOnStsScale: false
612
+
613
+ ## Prometheus server readiness and liveness probe initial delay and timeout
614
+ ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
615
+ ##
616
+ tcpSocketProbeEnabled: false
617
+ probeScheme: HTTP
618
+ readinessProbeInitialDelay: 30
619
+ readinessProbePeriodSeconds: 5
620
+ readinessProbeTimeout: 4
621
+ readinessProbeFailureThreshold: 3
622
+ readinessProbeSuccessThreshold: 1
623
+ livenessProbeInitialDelay: 30
624
+ livenessProbePeriodSeconds: 15
625
+ livenessProbeTimeout: 10
626
+ livenessProbeFailureThreshold: 3
627
+ livenessProbeSuccessThreshold: 1
628
+ startupProbe:
629
+ enabled: false
630
+ periodSeconds: 5
631
+ failureThreshold: 30
632
+ timeoutSeconds: 10
633
+
634
+ ## Prometheus server resource requests and limits
635
+ ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
636
+ ##
637
+ resources:
638
+ limits:
639
+ cpu: 2000m
640
+ memory: 3096Mi
641
+ requests:
642
+ cpu: 500m
643
+ memory: 512Mi
644
+
645
+ # Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico),
646
+ # because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working
647
+ ##
648
+ hostNetwork: false
649
+
650
+ # When hostNetwork is enabled, this will set to ClusterFirstWithHostNet automatically
651
+ dnsPolicy: ClusterFirst
652
+
653
+ # Use hostPort
654
+ # hostPort: 9090
655
+
656
+ # Use portName
657
+ portName: ""
658
+
659
+ ## Vertical Pod Autoscaler config
660
+ ## Ref: https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler
661
+ verticalAutoscaler:
662
+ ## If true a VPA object will be created for the controller (either StatefulSet or Deployemnt, based on above configs)
663
+ enabled: false
664
+
665
+ # Custom DNS configuration to be added to prometheus server pods
666
+ dnsConfig: {}
667
+ # nameservers:
668
+ # - 1.2.3.4
669
+ # searches:
670
+ # - ns1.svc.cluster-domain.example
671
+ # - my.dns.search.suffix
672
+ # options:
673
+ # - name: ndots
674
+ # value: "2"
675
+ # - name: edns0
676
+
677
+ ## Security context to be added to server pods
678
+ ##
679
+ securityContext:
680
+ runAsUser: 65534
681
+ runAsNonRoot: true
682
+ runAsGroup: 65534
683
+ fsGroup: 65534
684
+
685
+ ## Security context to be added to server container
686
+ ##
687
+ containerSecurityContext: {}
688
+
689
+ service:
690
+ ## If false, no Service will be created for the Prometheus server
691
+ ##
692
+ enabled: true
693
+
694
+ annotations: {}
695
+ labels: {}
696
+ clusterIP: ""
697
+
698
+ ## List of IP addresses at which the Prometheus server service is available
699
+ ## Ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
700
+ ##
701
+ externalIPs: []
702
+
703
+ loadBalancerIP: ""
704
+ loadBalancerSourceRanges: []
705
+ servicePort: 80
706
+ sessionAffinity: None
707
+ type: ClusterIP
708
+
709
+ ## Enable gRPC port on service to allow auto discovery with thanos-querier
710
+ gRPC:
711
+ enabled: false
712
+ servicePort: 10901
713
+ # nodePort: 10901
714
+
715
+ ## If using a statefulSet (statefulSet.enabled=true), configure the
716
+ ## service to connect to a specific replica to have a consistent view
717
+ ## of the data.
718
+ statefulsetReplica:
719
+ enabled: false
720
+ replica: 0
721
+
722
+ ## Additional port to define in the Service
723
+ additionalPorts: []
724
+ # additionalPorts:
725
+ # - name: authenticated
726
+ # port: 8081
727
+ # targetPort: 8081
728
+
729
+ ## Prometheus server pod termination grace period
730
+ ##
731
+ terminationGracePeriodSeconds: 300
732
+
733
+ ## Prometheus data retention period (default if not specified is 15 days)
734
+ ##
735
+ retention: ""
736
+
737
+ ## Prometheus' data retention size. Supported units: B, KB, MB, GB, TB, PB, EB.
738
+ ##
739
+ retentionSize: ""
740
+
741
+ ## Prometheus server ConfigMap entries for rule files (allow prometheus labels interpolation)
742
+ ruleFiles: {}
743
+
744
+ ## Prometheus server ConfigMap entries for scrape_config_files
745
+ ## (allows scrape configs defined in additional files)
746
+ ##
747
+ scrapeConfigFiles: []
748
+
749
+ ## Prometheus server ConfigMap entries
750
+ ##
751
+ serverFiles:
752
+ ## Alerts configuration
753
+ ## Ref: https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
754
+ alerting_rules.yml:
755
+ groups:
756
+ - name: devops alert
757
+ rules:
758
+ - alert: High Pod Memory
759
+ expr: (sum(container_memory_working_set_bytes)/sum(container_memory_usage_bytes)*100) > 95
760
+ for: 1m
761
+ labels:
762
+ severity: slack
763
+ annotations:
764
+ summary: High Memory Usage
765
+ - name: rustfs-alerts
766
+ rules:
767
+ - alert: NodesOffline
768
+ expr: avg_over_time(rustfs_cluster_nodes_offline_total{job="rustfs-job"}[5m]) > 0
769
+ for: 10m
770
+ labels:
771
+ severity: warn
772
+ annotations:
773
+ summary: "Node down in RustFS deployment"
774
+ description: "Node(s) in cluster {{ $labels.instance }} offline for more than 5 minutes"
775
+
776
+ - alert: DisksOffline
777
+ expr: avg_over_time(rustfs_cluster_drive_offline_total{job="rustfs-job"}[5m]) > 0
778
+ for: 10m
779
+ labels:
780
+ severity: warn
781
+ annotations:
782
+ summary: "Disks down in RustFS deployment"
783
+ description: "Disks(s) in cluster {{ $labels.instance }} offline for more than 5 minutes"
784
+
785
+ - name: kubelet-pvc-alerts
786
+ rules:
787
+ - alert: PVCNearlyFull
788
+ expr: |
789
+ kubelet_volume_stats_used_bytes / kubelet_volume_stats_capacity_bytes > 0.8
790
+ for: 5m
791
+ labels:
792
+ severity: warning
793
+ annotations:
794
+ summary: "PVC {{ $labels.namespace }}/{{ $labels.persistentvolumeclaim }} is nearly full"
795
+ description: "PVC {{ $labels.namespace }}/{{ $labels.persistentvolumeclaim }} is {{ $value | humanizePercentage }} full and has less than 20% free space remaining."
796
+
797
+ - alert: PVCWillFillIn7Days
798
+ expr: |
799
+ predict_linear(kubelet_volume_stats_used_bytes[24h], 7 * 24 * 3600) > kubelet_volume_stats_capacity_bytes
800
+ for: 15m
801
+ labels:
802
+ severity: warning
803
+ annotations:
804
+ summary: "PVC {{ $labels.namespace }}/{{ $labels.persistentvolumeclaim }} will fill in 7 days"
805
+ description: "Based on recent growth, PVC {{ $labels.namespace }}/{{ $labels.persistentvolumeclaim }} will fill within the next 7 days."
806
+
807
+ - alert: PVCHighIOPressure
808
+ expr: |
809
+ rate(node_disk_io_time_seconds_total{device=~"sd.*|nvme.*"}[5m]) > 0.9
810
+ for: 10m
811
+ labels:
812
+ severity: warning
813
+ annotations:
814
+ summary: "High disk I/O pressure on node {{ $labels.instance }}"
815
+ description: "Disk I/O utilization is over 90% on {{ $labels.instance }} for 10 minutes. This may affect PVC performance."
816
+ alerts: {}
817
+
818
+ ## Records configuration
819
+ ## Ref: https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/
820
+ recording_rules.yml: {}
821
+ ## DEPRECATED DEFAULT VALUE, unless explicitly naming your files, please use recording_rules.yml
822
+ rules: {}
823
+
824
+ prometheus.yml:
825
+ rule_files:
826
+ - /etc/config/recording_rules.yml
827
+ - /etc/config/alerting_rules.yml
828
+ ## Below two files are DEPRECATED will be removed from this default values file
829
+ - /etc/config/rules
830
+ - /etc/config/alerts
831
+
832
+ scrape_configs:
833
+ - job_name: prometheus
834
+ static_configs:
835
+ - targets:
836
+ - localhost:9090
837
+
838
+ # A scrape configuration for running Prometheus on a Kubernetes cluster.
839
+ # This uses separate scrape configs for cluster components (i.e. API server, node)
840
+ # and services to allow each to use different authentication configs.
841
+ #
842
+ # Kubernetes labels will be added as Prometheus labels on metrics via the
843
+ # `labelmap` relabeling action.
844
+
845
+ # Scrape config for API servers.
846
+ #
847
+ # Kubernetes exposes API servers as endpoints to the default/kubernetes
848
+ # service so this uses `endpoints` role and uses relabelling to only keep
849
+ # the endpoints associated with the default/kubernetes service using the
850
+ # default named port `https`. This works for single API server deployments as
851
+ # well as HA API server deployments.
852
+ - job_name: 'kubernetes-apiservers'
853
+
854
+ kubernetes_sd_configs:
855
+ - role: endpoints
856
+
857
+ # Default to scraping over https. If required, just disable this or change to
858
+ # `http`.
859
+ scheme: https
860
+
861
+ # This TLS & bearer token file config is used to connect to the actual scrape
862
+ # endpoints for cluster components. This is separate to discovery auth
863
+ # configuration because discovery & scraping are two separate concerns in
864
+ # Prometheus. The discovery auth config is automatic if Prometheus runs inside
865
+ # the cluster. Otherwise, more config options have to be provided within the
866
+ # <kubernetes_sd_config>.
867
+ tls_config:
868
+ ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
869
+ # If your node certificates are self-signed or use a different CA to the
870
+ # master CA, then disable certificate verification below. Note that
871
+ # certificate verification is an integral part of a secure infrastructure
872
+ # so this should only be disabled in a controlled environment. You can
873
+ # disable certificate verification by uncommenting the line below.
874
+ #
875
+ insecure_skip_verify: {% endraw %}{% if cert_provider == "selfsigned" %}true{% else %}false{% endif %}{% raw %}
876
+ bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
877
+
878
+ # Keep only the default/kubernetes service endpoints for the https port. This
879
+ # will add targets for each API server which Kubernetes adds an endpoint to
880
+ # the default/kubernetes service.
881
+ relabel_configs:
882
+ - source_labels: [__meta_kubernetes_namespace, __meta_kubernetes_service_name, __meta_kubernetes_endpoint_port_name]
883
+ action: keep
884
+ regex: default;kubernetes;https
885
+
886
+ # NOTE: legacy `kubernetes-nodes` and `kubernetes-nodes-cadvisor` jobs
887
+ # (using `role: node` discovery against the apiserver proxy) were removed.
888
+ # GKE blocks /api/v1/nodes/*/proxy/* with HTTP 403 at the GCP project
889
+ # level — not fixable with RBAC. The `kubernetes-nodes-via-operator` job
890
+ # (added at the end of this list) and the `kubernetes-cadvisor-via-operator`
891
+ # job scrape kubelet via the headless `kube-system/kubelet` Service
892
+ # (pod-network IPs) instead, which GKE does not block. They cover the
893
+ # same metrics: kubelet_* (from /metrics) and container_* (from
894
+ # /metrics/cadvisor).
895
+
896
+ # Scrape config for service endpoints.
897
+ #
898
+ # The relabeling allows the actual service scrape endpoint to be configured
899
+ # via the following annotations:
900
+ #
901
+ # * `prometheus.io/scrape`: Only scrape services that have a value of
902
+ # `true`, except if `prometheus.io/scrape-slow` is set to `true` as well.
903
+ # * `prometheus.io/scheme`: If the metrics endpoint is secured then you will need
904
+ # to set this to `https` & most likely set the `tls_config` of the scrape config.
905
+ # * `prometheus.io/path`: If the metrics path is not `/metrics` override this.
906
+ # * `prometheus.io/port`: If the metrics are exposed on a different port to the
907
+ # service then set this appropriately.
908
+ # * `prometheus.io/param_<parameter>`: If the metrics endpoint uses parameters
909
+ # then you can set any parameter
910
+ - job_name: 'kubernetes-service-endpoints'
911
+ honor_labels: true
912
+
913
+ kubernetes_sd_configs:
914
+ - role: endpoints
915
+
916
+ relabel_configs:
917
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape]
918
+ action: keep
919
+ regex: true
920
+ - source_labels: [__meta_kubernetes_service_label_app_kubernetes_io_name]
921
+ action: drop
922
+ regex: kube-state-metrics
923
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape_slow]
924
+ action: drop
925
+ regex: true
926
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scheme]
927
+ action: replace
928
+ target_label: __scheme__
929
+ regex: (https?)
930
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_path]
931
+ action: replace
932
+ target_label: __metrics_path__
933
+ regex: (.+)
934
+ - source_labels: [__address__, __meta_kubernetes_service_annotation_prometheus_io_port]
935
+ action: replace
936
+ target_label: __address__
937
+ regex: (.+?)(?::\d+)?;(\d+)
938
+ replacement: $1:$2
939
+ - action: labelmap
940
+ regex: __meta_kubernetes_service_annotation_prometheus_io_param_(.+)
941
+ replacement: __param_$1
942
+ - action: labelmap
943
+ regex: __meta_kubernetes_service_label_(.+)
944
+ - source_labels: [__meta_kubernetes_namespace]
945
+ action: replace
946
+ target_label: namespace
947
+ - source_labels: [__meta_kubernetes_service_name]
948
+ action: replace
949
+ target_label: service
950
+ - source_labels: [__meta_kubernetes_pod_node_name]
951
+ action: replace
952
+ target_label: node
953
+
954
+ # Scrape config for slow service endpoints; same as above, but with a larger
955
+ # timeout and a larger interval
956
+ #
957
+ # The relabeling allows the actual service scrape endpoint to be configured
958
+ # via the following annotations:
959
+ #
960
+ # * `prometheus.io/scrape-slow`: Only scrape services that have a value of `true`
961
+ # * `prometheus.io/scheme`: If the metrics endpoint is secured then you will need
962
+ # to set this to `https` & most likely set the `tls_config` of the scrape config.
963
+ # * `prometheus.io/path`: If the metrics path is not `/metrics` override this.
964
+ # * `prometheus.io/port`: If the metrics are exposed on a different port to the
965
+ # service then set this appropriately.
966
+ # * `prometheus.io/param_<parameter>`: If the metrics endpoint uses parameters
967
+ # then you can set any parameter
968
+ - job_name: 'kubernetes-service-endpoints-slow'
969
+ honor_labels: true
970
+
971
+ scrape_interval: 5m
972
+ scrape_timeout: 30s
973
+
974
+ kubernetes_sd_configs:
975
+ - role: endpoints
976
+
977
+ relabel_configs:
978
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape_slow]
979
+ action: keep
980
+ regex: true
981
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scheme]
982
+ action: replace
983
+ target_label: __scheme__
984
+ regex: (https?)
985
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_path]
986
+ action: replace
987
+ target_label: __metrics_path__
988
+ regex: (.+)
989
+ - source_labels: [__address__, __meta_kubernetes_service_annotation_prometheus_io_port]
990
+ action: replace
991
+ target_label: __address__
992
+ regex: (.+?)(?::\d+)?;(\d+)
993
+ replacement: $1:$2
994
+ - action: labelmap
995
+ regex: __meta_kubernetes_service_annotation_prometheus_io_param_(.+)
996
+ replacement: __param_$1
997
+ - action: labelmap
998
+ regex: __meta_kubernetes_service_label_(.+)
999
+ - source_labels: [__meta_kubernetes_namespace]
1000
+ action: replace
1001
+ target_label: namespace
1002
+ - source_labels: [__meta_kubernetes_service_name]
1003
+ action: replace
1004
+ target_label: service
1005
+ - source_labels: [__meta_kubernetes_pod_node_name]
1006
+ action: replace
1007
+ target_label: node
1008
+
1009
+ - job_name: 'prometheus-pushgateway'
1010
+ honor_labels: true
1011
+
1012
+ kubernetes_sd_configs:
1013
+ - role: service
1014
+
1015
+ relabel_configs:
1016
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_probe]
1017
+ action: keep
1018
+ regex: pushgateway
1019
+
1020
+ # Example scrape config for probing services via the Blackbox Exporter.
1021
+ #
1022
+ # The relabeling allows the actual service scrape endpoint to be configured
1023
+ # via the following annotations:
1024
+ #
1025
+ # * `prometheus.io/probe`: Only probe services that have a value of `true`
1026
+ - job_name: 'kubernetes-services'
1027
+ honor_labels: true
1028
+
1029
+ metrics_path: /probe
1030
+ params:
1031
+ module: [http_2xx]
1032
+
1033
+ kubernetes_sd_configs:
1034
+ - role: service
1035
+
1036
+ relabel_configs:
1037
+ - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_probe]
1038
+ action: keep
1039
+ regex: true
1040
+ - source_labels: [__address__]
1041
+ target_label: __param_target
1042
+ - target_label: __address__
1043
+ replacement: blackbox
1044
+ - source_labels: [__param_target]
1045
+ target_label: instance
1046
+ - action: labelmap
1047
+ regex: __meta_kubernetes_service_label_(.+)
1048
+ - source_labels: [__meta_kubernetes_namespace]
1049
+ target_label: namespace
1050
+ - source_labels: [__meta_kubernetes_service_name]
1051
+ target_label: service
1052
+
1053
+ # Example scrape config for pods
1054
+ #
1055
+ # The relabeling allows the actual pod scrape endpoint to be configured via the
1056
+ # following annotations:
1057
+ #
1058
+ # * `prometheus.io/scrape`: Only scrape pods that have a value of `true`,
1059
+ # except if `prometheus.io/scrape-slow` is set to `true` as well.
1060
+ # * `prometheus.io/scheme`: If the metrics endpoint is secured then you will need
1061
+ # to set this to `https` & most likely set the `tls_config` of the scrape config.
1062
+ # * `prometheus.io/path`: If the metrics path is not `/metrics` override this.
1063
+ # * `prometheus.io/port`: Scrape the pod on the indicated port instead of the default of `9102`.
1064
+ - job_name: 'kubernetes-pods'
1065
+ honor_labels: true
1066
+
1067
+ kubernetes_sd_configs:
1068
+ - role: pod
1069
+
1070
+ relabel_configs:
1071
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
1072
+ action: keep
1073
+ regex: true
1074
+ - source_labels: [__meta_kubernetes_namespace]
1075
+ action: drop
1076
+ regex: data-streaming
1077
+ - source_labels: [__meta_kubernetes_pod_label_k8s_app]
1078
+ action: drop
1079
+ regex: kube-dns
1080
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape_slow]
1081
+ action: drop
1082
+ regex: true
1083
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
1084
+ action: replace
1085
+ regex: (https?)
1086
+ target_label: __scheme__
1087
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
1088
+ action: replace
1089
+ target_label: __metrics_path__
1090
+ regex: (.+)
1091
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_port, __meta_kubernetes_pod_ip]
1092
+ action: replace
1093
+ regex: (\d+);(([A-Fa-f0-9]{1,4}::?){1,7}[A-Fa-f0-9]{1,4})
1094
+ replacement: '[$2]:$1'
1095
+ target_label: __address__
1096
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_port, __meta_kubernetes_pod_ip]
1097
+ action: replace
1098
+ regex: (\d+);((([0-9]+?)(\.|$)){4})
1099
+ replacement: $2:$1
1100
+ target_label: __address__
1101
+ - action: labelmap
1102
+ regex: __meta_kubernetes_pod_annotation_prometheus_io_param_(.+)
1103
+ replacement: __param_$1
1104
+ - action: labelmap
1105
+ regex: __meta_kubernetes_pod_label_(.+)
1106
+ - source_labels: [__meta_kubernetes_namespace]
1107
+ action: replace
1108
+ target_label: namespace
1109
+ - source_labels: [__meta_kubernetes_pod_name]
1110
+ action: replace
1111
+ target_label: pod
1112
+ - source_labels: [__meta_kubernetes_pod_phase]
1113
+ regex: Pending|Succeeded|Failed|Completed
1114
+ action: drop
1115
+ - source_labels: [__meta_kubernetes_pod_node_name]
1116
+ action: replace
1117
+ target_label: node
1118
+
1119
+ # Example Scrape config for pods which should be scraped slower. An useful example
1120
+ # would be stackriver-exporter which queries an API on every scrape of the pod
1121
+ #
1122
+ # The relabeling allows the actual pod scrape endpoint to be configured via the
1123
+ # following annotations:
1124
+ #
1125
+ # * `prometheus.io/scrape-slow`: Only scrape pods that have a value of `true`
1126
+ # * `prometheus.io/scheme`: If the metrics endpoint is secured then you will need
1127
+ # to set this to `https` & most likely set the `tls_config` of the scrape config.
1128
+ # * `prometheus.io/path`: If the metrics path is not `/metrics` override this.
1129
+ # * `prometheus.io/port`: Scrape the pod on the indicated port instead of the default of `9102`.
1130
+ - job_name: 'kubernetes-pods-slow'
1131
+ honor_labels: true
1132
+
1133
+ scrape_interval: 5m
1134
+ scrape_timeout: 30s
1135
+
1136
+ kubernetes_sd_configs:
1137
+ - role: pod
1138
+
1139
+ relabel_configs:
1140
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape_slow]
1141
+ action: keep
1142
+ regex: true
1143
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scheme]
1144
+ action: replace
1145
+ regex: (https?)
1146
+ target_label: __scheme__
1147
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
1148
+ action: replace
1149
+ target_label: __metrics_path__
1150
+ regex: (.+)
1151
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_port, __meta_kubernetes_pod_ip]
1152
+ action: replace
1153
+ regex: (\d+);(([A-Fa-f0-9]{1,4}::?){1,7}[A-Fa-f0-9]{1,4})
1154
+ replacement: '[$2]:$1'
1155
+ target_label: __address__
1156
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_port, __meta_kubernetes_pod_ip]
1157
+ action: replace
1158
+ regex: (\d+);((([0-9]+?)(\.|$)){4})
1159
+ replacement: $2:$1
1160
+ target_label: __address__
1161
+ - action: labelmap
1162
+ regex: __meta_kubernetes_pod_annotation_prometheus_io_param_(.+)
1163
+ replacement: __param_$1
1164
+ - action: labelmap
1165
+ regex: __meta_kubernetes_pod_label_(.+)
1166
+ - source_labels: [__meta_kubernetes_namespace]
1167
+ action: replace
1168
+ target_label: namespace
1169
+ - source_labels: [__meta_kubernetes_pod_name]
1170
+ action: replace
1171
+ target_label: pod
1172
+ - source_labels: [__meta_kubernetes_pod_phase]
1173
+ regex: Pending|Succeeded|Failed|Completed
1174
+ action: drop
1175
+ - source_labels: [__meta_kubernetes_pod_node_name]
1176
+ action: replace
1177
+ target_label: node
1178
+
1179
+ # - job_name: airbyte-otel-collector
1180
+ # static_configs:
1181
+ # - targets: ['data-replication-otel-collector.data-replication.svc.cluster.local:8889']
1182
+
1183
+ # The airflow chart's collector Service only exposes OTLP ports, so the
1184
+ # prometheus exporter (:8889) is scraped on the pod IP.
1185
+ - job_name: airflow
1186
+ scrape_interval: 30s
1187
+ kubernetes_sd_configs:
1188
+ - role: pod
1189
+ namespaces:
1190
+ names: [data-orchestration]
1191
+ selectors:
1192
+ - role: pod
1193
+ label: "component=otel-collector"
1194
+ relabel_configs:
1195
+ - source_labels: [__meta_kubernetes_pod_phase]
1196
+ regex: Running
1197
+ action: keep
1198
+ - source_labels: [__meta_kubernetes_pod_ip]
1199
+ regex: (.+)
1200
+ replacement: $1:8889
1201
+ target_label: __address__
1202
+ - source_labels: [__meta_kubernetes_pod_name]
1203
+ target_label: pod
1204
+ metric_relabel_configs:
1205
+ - source_labels: [__name__]
1206
+ regex: airflow_dag_processing_.*
1207
+ target_label: __tmp_generic
1208
+ replacement: "1"
1209
+ - source_labels: [__name__, __tmp_generic]
1210
+ regex: airflow_dag_.+_(duration|scheduled_duration|queued_duration);
1211
+ action: drop
1212
+ - source_labels: [__name__]
1213
+ regex: airflow_(ti_finish_.+_total|ti_queued_.+|ti_running_.+|dagrun_duration_(success|failed)_.+|dagrun_schedule_delay_.+|dagrun_dependency_check_.+|dagrun_.+_first_task_scheduling_delay|dag_processing_last_(duration|run_seconds_ago|num_of_db_queries)_.+|pool_[a-z_]+_slots_.+|pool_starving_tasks_.+)
1214
+ action: drop
1215
+ - regex: (exported_job|otel_scope_name|service_name|telemetry_sdk_language|telemetry_sdk_name|telemetry_sdk_version)
1216
+ action: labeldrop
1217
+
1218
+ # Control-plane homepage sources already scraped via prometheus.io annotations
1219
+ # (kubernetes-service-endpoints). Do not duplicate them in extraScrapeConfigs.
1220
+ # Airbyte exporter data-replication / data-replication-metrics-collector:8000 /metrics
1221
+ # JupyterHub data-modeling / …-hub:8081 /hub/metrics
1222
+ # Keycloak native sso-keycloak / …-metrics:9000 /metrics
1223
+ # Keycloak SPI sso-keycloak / …-spi-metrics:8080 /realms/master/metrics
1224
+
1225
+ - job_name: 'kube-state-metrics'
1226
+ static_configs:
1227
+ - targets: ['prometheus-kube-state-metrics.monitoring.svc.cluster.local:8080']
1228
+
1229
+ - job_name: 'opensearch'
1230
+ metrics_path: /_prometheus/metrics
1231
+ basic_auth:
1232
+ username_file: /etc/secrets/opensearch/user
1233
+ password_file: /etc/secrets/opensearch/password
1234
+ kubernetes_sd_configs:
1235
+ - role: pod
1236
+ namespaces:
1237
+ names: [data-governance]
1238
+ relabel_configs:
1239
+ - source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_name, __meta_kubernetes_pod_phase]
1240
+ regex: opensearch;Running
1241
+ action: keep
1242
+ - source_labels: [__meta_kubernetes_pod_ip]
1243
+ regex: (.+)
1244
+ replacement: $1:9200
1245
+ target_label: __address__
1246
+ - source_labels: [__meta_kubernetes_namespace]
1247
+ target_label: namespace
1248
+ - source_labels: [__meta_kubernetes_pod_name]
1249
+ target_label: pod
1250
+ metric_relabel_configs:
1251
+ - source_labels: [__name__]
1252
+ regex: opensearch_(cluster_.*|jvm_.*|fs_.*|os_.*|process_.*|threadpool_.*|circuitbreaker_.*|index_(doc_number|store_size_bytes|search_query_count|search_query_time_seconds|indexing_index_count|indexing_index_time_seconds))
1253
+ action: keep
1254
+ - source_labels: [index]
1255
+ regex: \..*
1256
+ action: drop
1257
+
1258
+ - job_name: 'temporal'
1259
+ kubernetes_sd_configs:
1260
+ - role: pod
1261
+ relabel_configs:
1262
+ - source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_name, __meta_kubernetes_pod_phase]
1263
+ regex: temporal;Running
1264
+ action: keep
1265
+ - source_labels: [__meta_kubernetes_pod_ip]
1266
+ regex: (.+)
1267
+ replacement: $1:9090
1268
+ target_label: __address__
1269
+ - source_labels: [__meta_kubernetes_namespace]
1270
+ target_label: namespace
1271
+ - source_labels: [__meta_kubernetes_pod_name]
1272
+ target_label: pod
1273
+ metric_relabel_configs:
1274
+ - source_labels: [__name__]
1275
+ regex: (service_requests|service_errors.*|service_latency_(sum|count)|persistence_requests|persistence_errors|persistence_error_with_type|workflow_(success|failed|timeout|terminate|cancel|continued_as_new)|task_schedule_to_start_latency_(sum|count)|task_lag_per_tl|task_queue_started|task_queue_stopped|activity_end_to_end_latency_(sum|count)|lock_latency_(sum|count))
1276
+ action: keep
1277
+
1278
+ - job_name: 'platform-pods'
1279
+ tls_config:
1280
+ insecure_skip_verify: true
1281
+ kubernetes_sd_configs:
1282
+ - role: pod
1283
+ relabel_configs:
1284
+ - source_labels: [__meta_kubernetes_pod_container_port_name]
1285
+ action: keep
1286
+ regex: (metrics|metrics-port|http-metrics|prometheus)
1287
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
1288
+ action: drop
1289
+ regex: true
1290
+ - source_labels: [__meta_kubernetes_namespace]
1291
+ action: drop
1292
+ regex: (monitoring|kube-system|gmp-system|gmp-public|gke-.*)
1293
+ - source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_name]
1294
+ action: drop
1295
+ regex: (airbyte-metrics-fast2dev-ddp|opensearch)
1296
+ - source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_name]
1297
+ regex: argo-workflows-workflow-controller
1298
+ target_label: __scheme__
1299
+ replacement: https
1300
+ - source_labels: [__meta_kubernetes_pod_container_name]
1301
+ regex: datahub-(gms|frontend)
1302
+ target_label: __metrics_path__
1303
+ replacement: /actuator/prometheus
1304
+ - source_labels: [__meta_kubernetes_pod_phase]
1305
+ action: drop
1306
+ regex: (Pending|Succeeded|Failed)
1307
+ - action: labelmap
1308
+ regex: __meta_kubernetes_pod_label_(app_kubernetes_io_name|app_kubernetes_io_component|app_kubernetes_io_instance)
1309
+ - source_labels: [__meta_kubernetes_namespace]
1310
+ target_label: namespace
1311
+ - source_labels: [__meta_kubernetes_pod_name]
1312
+ target_label: pod
1313
+ - source_labels: [__meta_kubernetes_pod_container_name]
1314
+ target_label: container
1315
+
1316
+ - job_name: 'postgresql'
1317
+ kubernetes_sd_configs:
1318
+ - role: pod
1319
+ relabel_configs:
1320
+ - source_labels: [__meta_kubernetes_pod_container_port_name]
1321
+ action: keep
1322
+ regex: pgexporter
1323
+ - source_labels: [__meta_kubernetes_namespace]
1324
+ target_label: namespace
1325
+ - source_labels: [__meta_kubernetes_pod_name]
1326
+ target_label: pod
1327
+ - source_labels: [__meta_kubernetes_pod_label_stackgres_io_cluster_name]
1328
+ target_label: cluster
1329
+ - source_labels: [__meta_kubernetes_pod_label_role]
1330
+ target_label: role
1331
+
1332
+ {% endraw %}{% if streaming_enabled %}{% raw %}
1333
+ - job_name: 'data-streaming'
1334
+ basic_auth:
1335
+ username_file: /etc/secrets/data-streaming/username
1336
+ password_file: /etc/secrets/data-streaming/password
1337
+ kubernetes_sd_configs:
1338
+ - role: pod
1339
+ namespaces:
1340
+ names: [data-streaming]
1341
+ relabel_configs:
1342
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
1343
+ action: keep
1344
+ regex: true
1345
+ - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
1346
+ action: replace
1347
+ target_label: __metrics_path__
1348
+ regex: (.+)
1349
+ - source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
1350
+ action: replace
1351
+ regex: (.+?)(?::\d+)?;(\d+)
1352
+ replacement: $1:$2
1353
+ target_label: __address__
1354
+ - action: labelmap
1355
+ regex: __meta_kubernetes_pod_label_(.+)
1356
+ - source_labels: [__meta_kubernetes_namespace]
1357
+ target_label: namespace
1358
+ - source_labels: [__meta_kubernetes_pod_name]
1359
+ target_label: pod
1360
+
1361
+ {% endraw %}{% endif %}{% raw %}
1362
+ - job_name: 'kubelet'
1363
+ scheme: https
1364
+ tls_config:
1365
+ ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
1366
+ insecure_skip_verify: true
1367
+ bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
1368
+ kubernetes_sd_configs:
1369
+ - role: node
1370
+ relabel_configs:
1371
+ - action: labelmap
1372
+ regex: __meta_kubernetes_node_label_(.+)
1373
+ - source_labels: [__meta_kubernetes_node_name]
1374
+ target_label: node
1375
+
1376
+ - job_name: 'cadvisor'
1377
+ scheme: https
1378
+ metrics_path: /metrics/cadvisor
1379
+ tls_config:
1380
+ ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
1381
+ insecure_skip_verify: true
1382
+ bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
1383
+ kubernetes_sd_configs:
1384
+ - role: node
1385
+ relabel_configs:
1386
+ - action: labelmap
1387
+ regex: __meta_kubernetes_node_label_(.+)
1388
+ - source_labels: [__meta_kubernetes_node_name]
1389
+ target_label: node
1390
+ metric_relabel_configs:
1391
+ - source_labels: [__name__]
1392
+ regex: kubelet_volume_stats_.*
1393
+ action: drop
1394
+
1395
+ # native Prometheus scrape configs (chart 29+ key); null means none
1396
+ scrapeConfigs: null
1397
+
1398
+ # adds additional scrape configs to prometheus.yml
1399
+ # must be a string so you have to add a | after extraScrapeConfigs:
1400
+ # example adds prometheus-blackbox-exporter scrape config
1401
+ extraScrapeConfigs: ""
1402
+ # - job_name: 'prometheus-blackbox-exporter'
1403
+ # metrics_path: /probe
1404
+ # params:
1405
+ # module: [http_2xx]
1406
+ # static_configs:
1407
+ # - targets:
1408
+ # - https://example.com
1409
+ # relabel_configs:
1410
+ # - source_labels: [__address__]
1411
+ # target_label: __param_target
1412
+ # - source_labels: [__param_target]
1413
+ # target_label: instance
1414
+ # - target_label: __address__
1415
+ # replacement: prometheus-blackbox-exporter:9115
1416
+
1417
+ # Adds option to add alert_relabel_configs to avoid duplicate alerts in alertmanager
1418
+ # useful in H/A prometheus with different external labels but the same alerts
1419
+ alertRelabelConfigs: {}
1420
+ # alert_relabel_configs:
1421
+ # - source_labels: [dc]
1422
+ # regex: (.+)\d+
1423
+ # target_label: dc
1424
+
1425
+ networkPolicy:
1426
+ ## Enable creation of NetworkPolicy resources.
1427
+ ##
1428
+ enabled: false
1429
+
1430
+ # Force namespace of namespaced resources
1431
+ forceNamespace: ""
1432
+
1433
+ # Extra manifests to deploy as an array
1434
+ extraManifests:
1435
+ {% endraw %}{% if streaming_enabled %}{% raw %}
1436
+ - |
1437
+ apiVersion: external-secrets.io/v1
1438
+ kind: ExternalSecret
1439
+ metadata:
1440
+ name: data-streaming-scrape-auth
1441
+ namespace: monitoring
1442
+ spec:
1443
+ refreshInterval: 1h
1444
+ secretStoreRef:
1445
+ name: vault-backend
1446
+ kind: ClusterSecretStore
1447
+ target:
1448
+ name: data-streaming-scrape-auth
1449
+ dataFrom:
1450
+ - extract:
1451
+ key: data-streaming/engine-secrets
1452
+ {% endraw %}{% endif %}{% raw %}
1453
+ - |
1454
+ apiVersion: external-secrets.io/v1
1455
+ kind: ExternalSecret
1456
+ metadata:
1457
+ name: opensearch-scrape-auth
1458
+ namespace: monitoring
1459
+ spec:
1460
+ refreshInterval: 1h
1461
+ secretStoreRef:
1462
+ name: vault-backend
1463
+ kind: ClusterSecretStore
1464
+ target:
1465
+ name: opensearch-scrape-auth
1466
+ dataFrom:
1467
+ - extract:
1468
+ key: data-governance/datahub-sys-es-elastic-user
1469
+ # - |
1470
+ # apiVersion: v1
1471
+ # kind: ConfigMap
1472
+ # metadata:
1473
+ # labels:
1474
+ # name: prometheus-extra
1475
+ # data:
1476
+ # extra-data: "value"
1477
+
1478
+ # Configuration of subcharts defined in Chart.yaml
1479
+
1480
+ ## alertmanager sub-chart configurable values
1481
+ ## Please see https://github.com/prometheus-community/helm-charts/tree/main/charts/alertmanager
1482
+ ##
1483
+ alertmanager:
1484
+ ## If false, alertmanager will not be installed
1485
+ ##
1486
+ enabled: true
1487
+
1488
+ persistence:
1489
+ size: 2Gi
1490
+
1491
+ podSecurityContext:
1492
+ runAsUser: 65534
1493
+ runAsNonRoot: true
1494
+ runAsGroup: 65534
1495
+ fsGroup: 65534
1496
+
1497
+ ## kube-state-metrics sub-chart configurable values
1498
+ ## Please see https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-state-metrics
1499
+ ##
1500
+ kube-state-metrics:
1501
+ ## If false, kube-state-metrics sub-chart will not be installed
1502
+ ##
1503
+ enabled: true
1504
+
1505
+ ## prometheus-node-exporter sub-chart configurable values
1506
+ ## Please see https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-node-exporter
1507
+ ##
1508
+ prometheus-node-exporter:
1509
+ ## If false, node-exporter will not be installed
1510
+ ##
1511
+ enabled: true
1512
+
1513
+ rbac:
1514
+ pspEnabled: true
1515
+
1516
+ containerSecurityContext:
1517
+ allowPrivilegeEscalation: false
1518
+
1519
+ ## prometheus-pushgateway sub-chart configurable values
1520
+ ## Please see https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-pushgateway
1521
+ ##
1522
+ prometheus-pushgateway:
1523
+ ## If false, pushgateway will not be installed
1524
+ ##
1525
+ enabled: true
1526
+
1527
+ # Optional service annotations
1528
+ serviceAnnotations:
1529
+ prometheus.io/probe: pushgateway
1530
+ {% endraw %}