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,1751 @@
1
+ {
2
+ "uid": "f2d-k8s-cluster",
3
+ "title": "Kubernetes Cluster",
4
+ "description": "Cluster capacity, node health and workload problems. Filter by layer (infrastructure or data services) and namespace.",
5
+ "tags": [
6
+ "fast2dev",
7
+ "platform",
8
+ "kubernetes"
9
+ ],
10
+ "editable": true,
11
+ "graphTooltip": 1,
12
+ "refresh": "1m",
13
+ "schemaVersion": 41,
14
+ "time": {
15
+ "from": "now-6h",
16
+ "to": "now"
17
+ },
18
+ "timezone": "browser",
19
+ "templating": {
20
+ "list": [
21
+ {
22
+ "name": "layer",
23
+ "label": "Layer",
24
+ "type": "custom",
25
+ "hide": 0,
26
+ "query": "All : .*,Infrastructure : (kube-system|gmp-.*|gke-.*|cert-manager|external-dns|global-postgresql|k8s-cleanup|monitoring|pvc-autoscaler|global-object-storage|sso-keycloak|traefik-ingress|vault),Data services : (data-.*)",
27
+ "options": [
28
+ {
29
+ "text": "All",
30
+ "value": ".*",
31
+ "selected": false
32
+ },
33
+ {
34
+ "text": "Infrastructure",
35
+ "value": "(kube-system|gmp-.*|gke-.*|cert-manager|external-dns|global-postgresql|k8s-cleanup|monitoring|pvc-autoscaler|global-object-storage|sso-keycloak|traefik-ingress|vault)",
36
+ "selected": false
37
+ },
38
+ {
39
+ "text": "Data services",
40
+ "value": "(data-.*)",
41
+ "selected": false
42
+ }
43
+ ],
44
+ "current": {
45
+ "text": "All",
46
+ "value": ".*"
47
+ },
48
+ "includeAll": false,
49
+ "multi": false
50
+ },
51
+ {
52
+ "name": "namespace",
53
+ "label": "Namespace",
54
+ "type": "query",
55
+ "hide": 0,
56
+ "datasource": {
57
+ "type": "prometheus",
58
+ "uid": "prometheus"
59
+ },
60
+ "definition": "label_values(kube_namespace_status_phase{namespace=~\"$layer\"}, namespace)",
61
+ "query": {
62
+ "query": "label_values(kube_namespace_status_phase{namespace=~\"$layer\"}, namespace)",
63
+ "refId": "v"
64
+ },
65
+ "refresh": 2,
66
+ "regex": "",
67
+ "sort": 1,
68
+ "multi": true,
69
+ "includeAll": true,
70
+ "current": {
71
+ "text": [
72
+ "All"
73
+ ],
74
+ "value": [
75
+ "$__all"
76
+ ]
77
+ }
78
+ }
79
+ ]
80
+ },
81
+ "panels": [
82
+ {
83
+ "type": "row",
84
+ "title": "Health",
85
+ "id": 2,
86
+ "collapsed": false,
87
+ "gridPos": {
88
+ "x": 0,
89
+ "y": 0,
90
+ "w": 24,
91
+ "h": 1
92
+ },
93
+ "panels": []
94
+ },
95
+ {
96
+ "type": "stat",
97
+ "title": "Nodes not ready",
98
+ "id": 3,
99
+ "description": "Nodes that are not Ready. Any value above 0 means pods on that node may be down.",
100
+ "gridPos": {
101
+ "x": 0,
102
+ "y": 1,
103
+ "w": 3,
104
+ "h": 4
105
+ },
106
+ "datasource": {
107
+ "type": "prometheus",
108
+ "uid": "prometheus"
109
+ },
110
+ "targets": [
111
+ {
112
+ "refId": "A",
113
+ "datasource": {
114
+ "type": "prometheus",
115
+ "uid": "prometheus"
116
+ },
117
+ "expr": "count(kube_node_info) - sum(kube_node_status_condition{condition=\"Ready\", status=\"true\"})",
118
+ "legendFormat": "",
119
+ "instant": true,
120
+ "range": false
121
+ }
122
+ ],
123
+ "fieldConfig": {
124
+ "defaults": {
125
+ "unit": "short",
126
+ "thresholds": {
127
+ "mode": "absolute",
128
+ "steps": [
129
+ {
130
+ "color": "green",
131
+ "value": null
132
+ },
133
+ {
134
+ "color": "red",
135
+ "value": 1
136
+ }
137
+ ]
138
+ },
139
+ "mappings": [],
140
+ "noValue": "0"
141
+ },
142
+ "overrides": []
143
+ },
144
+ "options": {
145
+ "reduceOptions": {
146
+ "calcs": [
147
+ "lastNotNull"
148
+ ],
149
+ "fields": "",
150
+ "values": false
151
+ },
152
+ "colorMode": "background",
153
+ "graphMode": "none",
154
+ "textMode": "value",
155
+ "justifyMode": "center",
156
+ "orientation": "auto"
157
+ }
158
+ },
159
+ {
160
+ "type": "stat",
161
+ "title": "Pods running",
162
+ "id": 4,
163
+ "description": "",
164
+ "gridPos": {
165
+ "x": 3,
166
+ "y": 1,
167
+ "w": 3,
168
+ "h": 4
169
+ },
170
+ "datasource": {
171
+ "type": "prometheus",
172
+ "uid": "prometheus"
173
+ },
174
+ "targets": [
175
+ {
176
+ "refId": "A",
177
+ "datasource": {
178
+ "type": "prometheus",
179
+ "uid": "prometheus"
180
+ },
181
+ "expr": "sum(kube_pod_status_phase{phase=\"Running\", namespace=~\"$namespace\"})",
182
+ "legendFormat": "",
183
+ "instant": true,
184
+ "range": false
185
+ }
186
+ ],
187
+ "fieldConfig": {
188
+ "defaults": {
189
+ "unit": "short",
190
+ "thresholds": {
191
+ "mode": "absolute",
192
+ "steps": [
193
+ {
194
+ "color": "blue",
195
+ "value": null
196
+ }
197
+ ]
198
+ },
199
+ "mappings": [],
200
+ "noValue": "0"
201
+ },
202
+ "overrides": []
203
+ },
204
+ "options": {
205
+ "reduceOptions": {
206
+ "calcs": [
207
+ "lastNotNull"
208
+ ],
209
+ "fields": "",
210
+ "values": false
211
+ },
212
+ "colorMode": "value",
213
+ "graphMode": "none",
214
+ "textMode": "value",
215
+ "justifyMode": "center",
216
+ "orientation": "auto"
217
+ }
218
+ },
219
+ {
220
+ "type": "stat",
221
+ "title": "Pods pending / failed",
222
+ "id": 5,
223
+ "description": "Pending pods usually mean not enough CPU/memory on nodes or a missing volume.",
224
+ "gridPos": {
225
+ "x": 6,
226
+ "y": 1,
227
+ "w": 3,
228
+ "h": 4
229
+ },
230
+ "datasource": {
231
+ "type": "prometheus",
232
+ "uid": "prometheus"
233
+ },
234
+ "targets": [
235
+ {
236
+ "refId": "A",
237
+ "datasource": {
238
+ "type": "prometheus",
239
+ "uid": "prometheus"
240
+ },
241
+ "expr": "sum(kube_pod_status_phase{phase=~\"Pending|Failed|Unknown\", namespace=~\"$namespace\"})",
242
+ "legendFormat": "",
243
+ "instant": true,
244
+ "range": false
245
+ }
246
+ ],
247
+ "fieldConfig": {
248
+ "defaults": {
249
+ "unit": "short",
250
+ "thresholds": {
251
+ "mode": "absolute",
252
+ "steps": [
253
+ {
254
+ "color": "green",
255
+ "value": null
256
+ },
257
+ {
258
+ "color": "orange",
259
+ "value": 1
260
+ },
261
+ {
262
+ "color": "red",
263
+ "value": 5
264
+ }
265
+ ]
266
+ },
267
+ "mappings": [],
268
+ "noValue": "0"
269
+ },
270
+ "overrides": []
271
+ },
272
+ "options": {
273
+ "reduceOptions": {
274
+ "calcs": [
275
+ "lastNotNull"
276
+ ],
277
+ "fields": "",
278
+ "values": false
279
+ },
280
+ "colorMode": "background",
281
+ "graphMode": "none",
282
+ "textMode": "value",
283
+ "justifyMode": "center",
284
+ "orientation": "auto"
285
+ }
286
+ },
287
+ {
288
+ "type": "stat",
289
+ "title": "Restarts in range",
290
+ "id": 6,
291
+ "description": "Container restarts in the selected time range. Repeated restarts mean crash loops or OOM kills.",
292
+ "gridPos": {
293
+ "x": 9,
294
+ "y": 1,
295
+ "w": 3,
296
+ "h": 4
297
+ },
298
+ "datasource": {
299
+ "type": "prometheus",
300
+ "uid": "prometheus"
301
+ },
302
+ "targets": [
303
+ {
304
+ "refId": "A",
305
+ "datasource": {
306
+ "type": "prometheus",
307
+ "uid": "prometheus"
308
+ },
309
+ "expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=~\"$namespace\"}[$__range]))",
310
+ "legendFormat": "",
311
+ "instant": true,
312
+ "range": false
313
+ }
314
+ ],
315
+ "fieldConfig": {
316
+ "defaults": {
317
+ "unit": "short",
318
+ "thresholds": {
319
+ "mode": "absolute",
320
+ "steps": [
321
+ {
322
+ "color": "green",
323
+ "value": null
324
+ },
325
+ {
326
+ "color": "orange",
327
+ "value": 1
328
+ },
329
+ {
330
+ "color": "red",
331
+ "value": 10
332
+ }
333
+ ]
334
+ },
335
+ "mappings": [],
336
+ "noValue": "0",
337
+ "decimals": 0
338
+ },
339
+ "overrides": []
340
+ },
341
+ "options": {
342
+ "reduceOptions": {
343
+ "calcs": [
344
+ "lastNotNull"
345
+ ],
346
+ "fields": "",
347
+ "values": false
348
+ },
349
+ "colorMode": "background",
350
+ "graphMode": "none",
351
+ "textMode": "value",
352
+ "justifyMode": "center",
353
+ "orientation": "auto"
354
+ }
355
+ },
356
+ {
357
+ "type": "stat",
358
+ "title": "OOM killed (last exit)",
359
+ "id": 7,
360
+ "description": "Containers whose last exit was an out-of-memory kill. Raise their memory limit or fix the leak.",
361
+ "gridPos": {
362
+ "x": 12,
363
+ "y": 1,
364
+ "w": 3,
365
+ "h": 4
366
+ },
367
+ "datasource": {
368
+ "type": "prometheus",
369
+ "uid": "prometheus"
370
+ },
371
+ "targets": [
372
+ {
373
+ "refId": "A",
374
+ "datasource": {
375
+ "type": "prometheus",
376
+ "uid": "prometheus"
377
+ },
378
+ "expr": "count(kube_pod_container_status_last_terminated_reason{reason=\"OOMKilled\", namespace=~\"$namespace\"} == 1)",
379
+ "legendFormat": "",
380
+ "instant": true,
381
+ "range": false
382
+ }
383
+ ],
384
+ "fieldConfig": {
385
+ "defaults": {
386
+ "unit": "short",
387
+ "thresholds": {
388
+ "mode": "absolute",
389
+ "steps": [
390
+ {
391
+ "color": "green",
392
+ "value": null
393
+ },
394
+ {
395
+ "color": "red",
396
+ "value": 1
397
+ }
398
+ ]
399
+ },
400
+ "mappings": [],
401
+ "noValue": "0"
402
+ },
403
+ "overrides": []
404
+ },
405
+ "options": {
406
+ "reduceOptions": {
407
+ "calcs": [
408
+ "lastNotNull"
409
+ ],
410
+ "fields": "",
411
+ "values": false
412
+ },
413
+ "colorMode": "background",
414
+ "graphMode": "none",
415
+ "textMode": "value",
416
+ "justifyMode": "center",
417
+ "orientation": "auto"
418
+ }
419
+ },
420
+ {
421
+ "type": "stat",
422
+ "title": "Deployments unavailable",
423
+ "id": 8,
424
+ "description": "",
425
+ "gridPos": {
426
+ "x": 15,
427
+ "y": 1,
428
+ "w": 3,
429
+ "h": 4
430
+ },
431
+ "datasource": {
432
+ "type": "prometheus",
433
+ "uid": "prometheus"
434
+ },
435
+ "targets": [
436
+ {
437
+ "refId": "A",
438
+ "datasource": {
439
+ "type": "prometheus",
440
+ "uid": "prometheus"
441
+ },
442
+ "expr": "count(kube_deployment_status_replicas_unavailable{namespace=~\"$namespace\"} > 0)",
443
+ "legendFormat": "",
444
+ "instant": true,
445
+ "range": false
446
+ }
447
+ ],
448
+ "fieldConfig": {
449
+ "defaults": {
450
+ "unit": "short",
451
+ "thresholds": {
452
+ "mode": "absolute",
453
+ "steps": [
454
+ {
455
+ "color": "green",
456
+ "value": null
457
+ },
458
+ {
459
+ "color": "red",
460
+ "value": 1
461
+ }
462
+ ]
463
+ },
464
+ "mappings": [],
465
+ "noValue": "0"
466
+ },
467
+ "overrides": []
468
+ },
469
+ "options": {
470
+ "reduceOptions": {
471
+ "calcs": [
472
+ "lastNotNull"
473
+ ],
474
+ "fields": "",
475
+ "values": false
476
+ },
477
+ "colorMode": "background",
478
+ "graphMode": "none",
479
+ "textMode": "value",
480
+ "justifyMode": "center",
481
+ "orientation": "auto"
482
+ }
483
+ },
484
+ {
485
+ "type": "stat",
486
+ "title": "StatefulSets degraded",
487
+ "id": 9,
488
+ "description": "",
489
+ "gridPos": {
490
+ "x": 18,
491
+ "y": 1,
492
+ "w": 3,
493
+ "h": 4
494
+ },
495
+ "datasource": {
496
+ "type": "prometheus",
497
+ "uid": "prometheus"
498
+ },
499
+ "targets": [
500
+ {
501
+ "refId": "A",
502
+ "datasource": {
503
+ "type": "prometheus",
504
+ "uid": "prometheus"
505
+ },
506
+ "expr": "count((kube_statefulset_replicas{namespace=~\"$namespace\"} - kube_statefulset_status_replicas_ready{namespace=~\"$namespace\"}) > 0)",
507
+ "legendFormat": "",
508
+ "instant": true,
509
+ "range": false
510
+ }
511
+ ],
512
+ "fieldConfig": {
513
+ "defaults": {
514
+ "unit": "short",
515
+ "thresholds": {
516
+ "mode": "absolute",
517
+ "steps": [
518
+ {
519
+ "color": "green",
520
+ "value": null
521
+ },
522
+ {
523
+ "color": "red",
524
+ "value": 1
525
+ }
526
+ ]
527
+ },
528
+ "mappings": [],
529
+ "noValue": "0"
530
+ },
531
+ "overrides": []
532
+ },
533
+ "options": {
534
+ "reduceOptions": {
535
+ "calcs": [
536
+ "lastNotNull"
537
+ ],
538
+ "fields": "",
539
+ "values": false
540
+ },
541
+ "colorMode": "background",
542
+ "graphMode": "none",
543
+ "textMode": "value",
544
+ "justifyMode": "center",
545
+ "orientation": "auto"
546
+ }
547
+ },
548
+ {
549
+ "type": "stat",
550
+ "title": "PVCs not bound",
551
+ "id": 10,
552
+ "description": "",
553
+ "gridPos": {
554
+ "x": 21,
555
+ "y": 1,
556
+ "w": 3,
557
+ "h": 4
558
+ },
559
+ "datasource": {
560
+ "type": "prometheus",
561
+ "uid": "prometheus"
562
+ },
563
+ "targets": [
564
+ {
565
+ "refId": "A",
566
+ "datasource": {
567
+ "type": "prometheus",
568
+ "uid": "prometheus"
569
+ },
570
+ "expr": "count(kube_persistentvolumeclaim_status_phase{phase!=\"Bound\", namespace=~\"$namespace\"} == 1)",
571
+ "legendFormat": "",
572
+ "instant": true,
573
+ "range": false
574
+ }
575
+ ],
576
+ "fieldConfig": {
577
+ "defaults": {
578
+ "unit": "short",
579
+ "thresholds": {
580
+ "mode": "absolute",
581
+ "steps": [
582
+ {
583
+ "color": "green",
584
+ "value": null
585
+ },
586
+ {
587
+ "color": "red",
588
+ "value": 1
589
+ }
590
+ ]
591
+ },
592
+ "mappings": [],
593
+ "noValue": "0"
594
+ },
595
+ "overrides": []
596
+ },
597
+ "options": {
598
+ "reduceOptions": {
599
+ "calcs": [
600
+ "lastNotNull"
601
+ ],
602
+ "fields": "",
603
+ "values": false
604
+ },
605
+ "colorMode": "background",
606
+ "graphMode": "none",
607
+ "textMode": "value",
608
+ "justifyMode": "center",
609
+ "orientation": "auto"
610
+ }
611
+ },
612
+ {
613
+ "type": "row",
614
+ "title": "Capacity",
615
+ "id": 11,
616
+ "collapsed": false,
617
+ "gridPos": {
618
+ "x": 0,
619
+ "y": 5,
620
+ "w": 24,
621
+ "h": 1
622
+ },
623
+ "panels": []
624
+ },
625
+ {
626
+ "type": "stat",
627
+ "title": "CPU used",
628
+ "id": 12,
629
+ "description": "Actual CPU used by all containers as a share of node allocatable CPU.",
630
+ "gridPos": {
631
+ "x": 0,
632
+ "y": 6,
633
+ "w": 6,
634
+ "h": 4
635
+ },
636
+ "datasource": {
637
+ "type": "prometheus",
638
+ "uid": "prometheus"
639
+ },
640
+ "targets": [
641
+ {
642
+ "refId": "A",
643
+ "datasource": {
644
+ "type": "prometheus",
645
+ "uid": "prometheus"
646
+ },
647
+ "expr": "sum(rate(container_cpu_usage_seconds_total{container!=\"\", image!=\"\"}[5m])) / sum(kube_node_status_allocatable{resource=\"cpu\"})",
648
+ "legendFormat": ""
649
+ }
650
+ ],
651
+ "fieldConfig": {
652
+ "defaults": {
653
+ "unit": "percentunit",
654
+ "thresholds": {
655
+ "mode": "absolute",
656
+ "steps": [
657
+ {
658
+ "color": "green",
659
+ "value": null
660
+ },
661
+ {
662
+ "color": "orange",
663
+ "value": 0.7
664
+ },
665
+ {
666
+ "color": "red",
667
+ "value": 0.85
668
+ }
669
+ ]
670
+ },
671
+ "mappings": [],
672
+ "noValue": "0"
673
+ },
674
+ "overrides": []
675
+ },
676
+ "options": {
677
+ "reduceOptions": {
678
+ "calcs": [
679
+ "lastNotNull"
680
+ ],
681
+ "fields": "",
682
+ "values": false
683
+ },
684
+ "colorMode": "value",
685
+ "graphMode": "area",
686
+ "textMode": "value",
687
+ "justifyMode": "center",
688
+ "orientation": "auto"
689
+ }
690
+ },
691
+ {
692
+ "type": "stat",
693
+ "title": "CPU requested",
694
+ "id": 13,
695
+ "description": "CPU reserved by pod requests. When this nears 100% new pods cannot be scheduled even if real usage is low.",
696
+ "gridPos": {
697
+ "x": 6,
698
+ "y": 6,
699
+ "w": 6,
700
+ "h": 4
701
+ },
702
+ "datasource": {
703
+ "type": "prometheus",
704
+ "uid": "prometheus"
705
+ },
706
+ "targets": [
707
+ {
708
+ "refId": "A",
709
+ "datasource": {
710
+ "type": "prometheus",
711
+ "uid": "prometheus"
712
+ },
713
+ "expr": "sum(kube_pod_container_resource_requests{resource=\"cpu\"}) / sum(kube_node_status_allocatable{resource=\"cpu\"})",
714
+ "legendFormat": ""
715
+ }
716
+ ],
717
+ "fieldConfig": {
718
+ "defaults": {
719
+ "unit": "percentunit",
720
+ "thresholds": {
721
+ "mode": "absolute",
722
+ "steps": [
723
+ {
724
+ "color": "green",
725
+ "value": null
726
+ },
727
+ {
728
+ "color": "orange",
729
+ "value": 0.8
730
+ },
731
+ {
732
+ "color": "red",
733
+ "value": 0.95
734
+ }
735
+ ]
736
+ },
737
+ "mappings": [],
738
+ "noValue": "0"
739
+ },
740
+ "overrides": []
741
+ },
742
+ "options": {
743
+ "reduceOptions": {
744
+ "calcs": [
745
+ "lastNotNull"
746
+ ],
747
+ "fields": "",
748
+ "values": false
749
+ },
750
+ "colorMode": "value",
751
+ "graphMode": "area",
752
+ "textMode": "value",
753
+ "justifyMode": "center",
754
+ "orientation": "auto"
755
+ }
756
+ },
757
+ {
758
+ "type": "stat",
759
+ "title": "Memory used",
760
+ "id": 14,
761
+ "description": "",
762
+ "gridPos": {
763
+ "x": 12,
764
+ "y": 6,
765
+ "w": 6,
766
+ "h": 4
767
+ },
768
+ "datasource": {
769
+ "type": "prometheus",
770
+ "uid": "prometheus"
771
+ },
772
+ "targets": [
773
+ {
774
+ "refId": "A",
775
+ "datasource": {
776
+ "type": "prometheus",
777
+ "uid": "prometheus"
778
+ },
779
+ "expr": "sum(container_memory_working_set_bytes{container!=\"\", image!=\"\"}) / sum(kube_node_status_allocatable{resource=\"memory\"})",
780
+ "legendFormat": ""
781
+ }
782
+ ],
783
+ "fieldConfig": {
784
+ "defaults": {
785
+ "unit": "percentunit",
786
+ "thresholds": {
787
+ "mode": "absolute",
788
+ "steps": [
789
+ {
790
+ "color": "green",
791
+ "value": null
792
+ },
793
+ {
794
+ "color": "orange",
795
+ "value": 0.75
796
+ },
797
+ {
798
+ "color": "red",
799
+ "value": 0.9
800
+ }
801
+ ]
802
+ },
803
+ "mappings": [],
804
+ "noValue": "0"
805
+ },
806
+ "overrides": []
807
+ },
808
+ "options": {
809
+ "reduceOptions": {
810
+ "calcs": [
811
+ "lastNotNull"
812
+ ],
813
+ "fields": "",
814
+ "values": false
815
+ },
816
+ "colorMode": "value",
817
+ "graphMode": "area",
818
+ "textMode": "value",
819
+ "justifyMode": "center",
820
+ "orientation": "auto"
821
+ }
822
+ },
823
+ {
824
+ "type": "stat",
825
+ "title": "Memory requested",
826
+ "id": 15,
827
+ "description": "",
828
+ "gridPos": {
829
+ "x": 18,
830
+ "y": 6,
831
+ "w": 6,
832
+ "h": 4
833
+ },
834
+ "datasource": {
835
+ "type": "prometheus",
836
+ "uid": "prometheus"
837
+ },
838
+ "targets": [
839
+ {
840
+ "refId": "A",
841
+ "datasource": {
842
+ "type": "prometheus",
843
+ "uid": "prometheus"
844
+ },
845
+ "expr": "sum(kube_pod_container_resource_requests{resource=\"memory\"}) / sum(kube_node_status_allocatable{resource=\"memory\"})",
846
+ "legendFormat": ""
847
+ }
848
+ ],
849
+ "fieldConfig": {
850
+ "defaults": {
851
+ "unit": "percentunit",
852
+ "thresholds": {
853
+ "mode": "absolute",
854
+ "steps": [
855
+ {
856
+ "color": "green",
857
+ "value": null
858
+ },
859
+ {
860
+ "color": "orange",
861
+ "value": 0.8
862
+ },
863
+ {
864
+ "color": "red",
865
+ "value": 0.95
866
+ }
867
+ ]
868
+ },
869
+ "mappings": [],
870
+ "noValue": "0"
871
+ },
872
+ "overrides": []
873
+ },
874
+ "options": {
875
+ "reduceOptions": {
876
+ "calcs": [
877
+ "lastNotNull"
878
+ ],
879
+ "fields": "",
880
+ "values": false
881
+ },
882
+ "colorMode": "value",
883
+ "graphMode": "area",
884
+ "textMode": "value",
885
+ "justifyMode": "center",
886
+ "orientation": "auto"
887
+ }
888
+ },
889
+ {
890
+ "type": "timeseries",
891
+ "title": "CPU per node (used / allocatable)",
892
+ "id": 16,
893
+ "description": "",
894
+ "gridPos": {
895
+ "x": 0,
896
+ "y": 10,
897
+ "w": 12,
898
+ "h": 8
899
+ },
900
+ "datasource": {
901
+ "type": "prometheus",
902
+ "uid": "prometheus"
903
+ },
904
+ "targets": [
905
+ {
906
+ "refId": "A",
907
+ "datasource": {
908
+ "type": "prometheus",
909
+ "uid": "prometheus"
910
+ },
911
+ "expr": "sum by (node) (rate(container_cpu_usage_seconds_total{id=\"/\"}[5m])) / on (node) sum by (node) (kube_node_status_allocatable{resource=\"cpu\"})",
912
+ "legendFormat": "{{node}}"
913
+ }
914
+ ],
915
+ "fieldConfig": {
916
+ "defaults": {
917
+ "unit": "percentunit",
918
+ "custom": {
919
+ "fillOpacity": 10,
920
+ "lineWidth": 1,
921
+ "drawStyle": "line",
922
+ "showPoints": "never",
923
+ "spanNulls": true,
924
+ "stacking": {
925
+ "mode": "none"
926
+ },
927
+ "thresholdsStyle": {
928
+ "mode": "line"
929
+ }
930
+ },
931
+ "thresholds": {
932
+ "mode": "absolute",
933
+ "steps": [
934
+ {
935
+ "color": "green",
936
+ "value": null
937
+ },
938
+ {
939
+ "color": "red",
940
+ "value": 0.85
941
+ }
942
+ ]
943
+ },
944
+ "max": 1
945
+ },
946
+ "overrides": []
947
+ },
948
+ "options": {
949
+ "legend": {
950
+ "displayMode": "table",
951
+ "placement": "right",
952
+ "calcs": [
953
+ "mean",
954
+ "max",
955
+ "lastNotNull"
956
+ ]
957
+ },
958
+ "tooltip": {
959
+ "mode": "multi",
960
+ "sort": "desc"
961
+ }
962
+ }
963
+ },
964
+ {
965
+ "type": "timeseries",
966
+ "title": "Memory per node (used / allocatable)",
967
+ "id": 17,
968
+ "description": "",
969
+ "gridPos": {
970
+ "x": 12,
971
+ "y": 10,
972
+ "w": 12,
973
+ "h": 8
974
+ },
975
+ "datasource": {
976
+ "type": "prometheus",
977
+ "uid": "prometheus"
978
+ },
979
+ "targets": [
980
+ {
981
+ "refId": "A",
982
+ "datasource": {
983
+ "type": "prometheus",
984
+ "uid": "prometheus"
985
+ },
986
+ "expr": "sum by (node) (container_memory_working_set_bytes{id=\"/\"}) / on (node) sum by (node) (kube_node_status_allocatable{resource=\"memory\"})",
987
+ "legendFormat": "{{node}}"
988
+ }
989
+ ],
990
+ "fieldConfig": {
991
+ "defaults": {
992
+ "unit": "percentunit",
993
+ "custom": {
994
+ "fillOpacity": 10,
995
+ "lineWidth": 1,
996
+ "drawStyle": "line",
997
+ "showPoints": "never",
998
+ "spanNulls": true,
999
+ "stacking": {
1000
+ "mode": "none"
1001
+ },
1002
+ "thresholdsStyle": {
1003
+ "mode": "line"
1004
+ }
1005
+ },
1006
+ "thresholds": {
1007
+ "mode": "absolute",
1008
+ "steps": [
1009
+ {
1010
+ "color": "green",
1011
+ "value": null
1012
+ },
1013
+ {
1014
+ "color": "red",
1015
+ "value": 0.9
1016
+ }
1017
+ ]
1018
+ },
1019
+ "max": 1
1020
+ },
1021
+ "overrides": []
1022
+ },
1023
+ "options": {
1024
+ "legend": {
1025
+ "displayMode": "table",
1026
+ "placement": "right",
1027
+ "calcs": [
1028
+ "mean",
1029
+ "max",
1030
+ "lastNotNull"
1031
+ ]
1032
+ },
1033
+ "tooltip": {
1034
+ "mode": "multi",
1035
+ "sort": "desc"
1036
+ }
1037
+ }
1038
+ },
1039
+ {
1040
+ "type": "row",
1041
+ "title": "Workloads",
1042
+ "id": 18,
1043
+ "collapsed": false,
1044
+ "gridPos": {
1045
+ "x": 0,
1046
+ "y": 18,
1047
+ "w": 24,
1048
+ "h": 1
1049
+ },
1050
+ "panels": []
1051
+ },
1052
+ {
1053
+ "type": "timeseries",
1054
+ "title": "CPU by namespace",
1055
+ "id": 19,
1056
+ "description": "",
1057
+ "gridPos": {
1058
+ "x": 0,
1059
+ "y": 19,
1060
+ "w": 12,
1061
+ "h": 8
1062
+ },
1063
+ "datasource": {
1064
+ "type": "prometheus",
1065
+ "uid": "prometheus"
1066
+ },
1067
+ "targets": [
1068
+ {
1069
+ "refId": "A",
1070
+ "datasource": {
1071
+ "type": "prometheus",
1072
+ "uid": "prometheus"
1073
+ },
1074
+ "expr": "sum by (namespace) (rate(container_cpu_usage_seconds_total{container!=\"\", image!=\"\", namespace=~\"$namespace\"}[5m]))",
1075
+ "legendFormat": "{{namespace}}"
1076
+ }
1077
+ ],
1078
+ "fieldConfig": {
1079
+ "defaults": {
1080
+ "unit": "cores",
1081
+ "custom": {
1082
+ "fillOpacity": 30,
1083
+ "lineWidth": 1,
1084
+ "drawStyle": "line",
1085
+ "showPoints": "never",
1086
+ "spanNulls": true,
1087
+ "stacking": {
1088
+ "mode": "normal"
1089
+ },
1090
+ "thresholdsStyle": {
1091
+ "mode": "off"
1092
+ }
1093
+ },
1094
+ "thresholds": {
1095
+ "mode": "absolute",
1096
+ "steps": [
1097
+ {
1098
+ "color": "green",
1099
+ "value": null
1100
+ }
1101
+ ]
1102
+ }
1103
+ },
1104
+ "overrides": []
1105
+ },
1106
+ "options": {
1107
+ "legend": {
1108
+ "displayMode": "table",
1109
+ "placement": "right",
1110
+ "calcs": [
1111
+ "mean",
1112
+ "max",
1113
+ "lastNotNull"
1114
+ ]
1115
+ },
1116
+ "tooltip": {
1117
+ "mode": "multi",
1118
+ "sort": "desc"
1119
+ }
1120
+ }
1121
+ },
1122
+ {
1123
+ "type": "timeseries",
1124
+ "title": "Memory by namespace",
1125
+ "id": 20,
1126
+ "description": "",
1127
+ "gridPos": {
1128
+ "x": 12,
1129
+ "y": 19,
1130
+ "w": 12,
1131
+ "h": 8
1132
+ },
1133
+ "datasource": {
1134
+ "type": "prometheus",
1135
+ "uid": "prometheus"
1136
+ },
1137
+ "targets": [
1138
+ {
1139
+ "refId": "A",
1140
+ "datasource": {
1141
+ "type": "prometheus",
1142
+ "uid": "prometheus"
1143
+ },
1144
+ "expr": "sum by (namespace) (container_memory_working_set_bytes{container!=\"\", image!=\"\", namespace=~\"$namespace\"})",
1145
+ "legendFormat": "{{namespace}}"
1146
+ }
1147
+ ],
1148
+ "fieldConfig": {
1149
+ "defaults": {
1150
+ "unit": "bytes",
1151
+ "custom": {
1152
+ "fillOpacity": 30,
1153
+ "lineWidth": 1,
1154
+ "drawStyle": "line",
1155
+ "showPoints": "never",
1156
+ "spanNulls": true,
1157
+ "stacking": {
1158
+ "mode": "normal"
1159
+ },
1160
+ "thresholdsStyle": {
1161
+ "mode": "off"
1162
+ }
1163
+ },
1164
+ "thresholds": {
1165
+ "mode": "absolute",
1166
+ "steps": [
1167
+ {
1168
+ "color": "green",
1169
+ "value": null
1170
+ }
1171
+ ]
1172
+ }
1173
+ },
1174
+ "overrides": []
1175
+ },
1176
+ "options": {
1177
+ "legend": {
1178
+ "displayMode": "table",
1179
+ "placement": "right",
1180
+ "calcs": [
1181
+ "mean",
1182
+ "max",
1183
+ "lastNotNull"
1184
+ ]
1185
+ },
1186
+ "tooltip": {
1187
+ "mode": "multi",
1188
+ "sort": "desc"
1189
+ }
1190
+ }
1191
+ },
1192
+ {
1193
+ "type": "table",
1194
+ "title": "Restarting containers",
1195
+ "id": 21,
1196
+ "description": "Containers that restarted in the selected range. Open the pod logs in 05 Logs to see why.",
1197
+ "gridPos": {
1198
+ "x": 0,
1199
+ "y": 27,
1200
+ "w": 12,
1201
+ "h": 9
1202
+ },
1203
+ "datasource": {
1204
+ "type": "prometheus",
1205
+ "uid": "prometheus"
1206
+ },
1207
+ "targets": [
1208
+ {
1209
+ "refId": "A",
1210
+ "datasource": {
1211
+ "type": "prometheus",
1212
+ "uid": "prometheus"
1213
+ },
1214
+ "expr": "sort_desc(sum by (namespace, pod, container) (increase(kube_pod_container_status_restarts_total{namespace=~\"$namespace\"}[$__range])) > 0)",
1215
+ "legendFormat": "",
1216
+ "instant": true,
1217
+ "range": false,
1218
+ "format": "table"
1219
+ }
1220
+ ],
1221
+ "transformations": [
1222
+ {
1223
+ "id": "organize",
1224
+ "options": {
1225
+ "excludeByName": {
1226
+ "Time": true
1227
+ },
1228
+ "renameByName": {
1229
+ "Value": "Restarts"
1230
+ }
1231
+ }
1232
+ }
1233
+ ],
1234
+ "fieldConfig": {
1235
+ "defaults": {
1236
+ "thresholds": {
1237
+ "mode": "absolute",
1238
+ "steps": [
1239
+ {
1240
+ "color": "orange",
1241
+ "value": null
1242
+ },
1243
+ {
1244
+ "color": "red",
1245
+ "value": 5
1246
+ }
1247
+ ]
1248
+ },
1249
+ "custom": {
1250
+ "align": "auto",
1251
+ "filterable": true
1252
+ }
1253
+ },
1254
+ "overrides": [
1255
+ {
1256
+ "matcher": {
1257
+ "id": "byName",
1258
+ "options": "Restarts"
1259
+ },
1260
+ "properties": [
1261
+ {
1262
+ "id": "custom.cellOptions",
1263
+ "value": {
1264
+ "type": "color-background"
1265
+ }
1266
+ }
1267
+ ]
1268
+ }
1269
+ ]
1270
+ },
1271
+ "options": {
1272
+ "showHeader": true,
1273
+ "cellHeight": "sm",
1274
+ "sortBy": [
1275
+ {
1276
+ "displayName": "Restarts",
1277
+ "desc": true
1278
+ }
1279
+ ]
1280
+ }
1281
+ },
1282
+ {
1283
+ "type": "table",
1284
+ "title": "Pods not running",
1285
+ "id": 22,
1286
+ "description": "Pods stuck outside Running. Pending: scheduling or volume problem. Failed: check events and logs.",
1287
+ "gridPos": {
1288
+ "x": 12,
1289
+ "y": 27,
1290
+ "w": 12,
1291
+ "h": 9
1292
+ },
1293
+ "datasource": {
1294
+ "type": "prometheus",
1295
+ "uid": "prometheus"
1296
+ },
1297
+ "targets": [
1298
+ {
1299
+ "refId": "A",
1300
+ "datasource": {
1301
+ "type": "prometheus",
1302
+ "uid": "prometheus"
1303
+ },
1304
+ "expr": "sum by (namespace, pod, phase) (kube_pod_status_phase{phase=~\"Pending|Failed|Unknown\", namespace=~\"$namespace\"} == 1)",
1305
+ "legendFormat": "",
1306
+ "instant": true,
1307
+ "range": false,
1308
+ "format": "table"
1309
+ }
1310
+ ],
1311
+ "transformations": [
1312
+ {
1313
+ "id": "organize",
1314
+ "options": {
1315
+ "excludeByName": {
1316
+ "Time": true,
1317
+ "Value": true
1318
+ },
1319
+ "renameByName": {}
1320
+ }
1321
+ }
1322
+ ],
1323
+ "fieldConfig": {
1324
+ "defaults": {
1325
+ "thresholds": {
1326
+ "mode": "absolute",
1327
+ "steps": [
1328
+ {
1329
+ "color": "green",
1330
+ "value": null
1331
+ }
1332
+ ]
1333
+ },
1334
+ "custom": {
1335
+ "align": "auto",
1336
+ "filterable": true
1337
+ }
1338
+ },
1339
+ "overrides": []
1340
+ },
1341
+ "options": {
1342
+ "showHeader": true,
1343
+ "cellHeight": "sm",
1344
+ "sortBy": []
1345
+ }
1346
+ },
1347
+ {
1348
+ "type": "table",
1349
+ "title": "CPU throttling (top 15)",
1350
+ "id": 23,
1351
+ "description": "Share of CPU periods where the container hit its CPU limit. Above 25% the service is slowed down; raise the CPU limit.",
1352
+ "gridPos": {
1353
+ "x": 0,
1354
+ "y": 36,
1355
+ "w": 12,
1356
+ "h": 9
1357
+ },
1358
+ "datasource": {
1359
+ "type": "prometheus",
1360
+ "uid": "prometheus"
1361
+ },
1362
+ "targets": [
1363
+ {
1364
+ "refId": "A",
1365
+ "datasource": {
1366
+ "type": "prometheus",
1367
+ "uid": "prometheus"
1368
+ },
1369
+ "expr": "topk(15, sum by (namespace, pod, container) (rate(container_cpu_cfs_throttled_periods_total{container!=\"\", image!=\"\", namespace=~\"$namespace\"}[5m])) / sum by (namespace, pod, container) (rate(container_cpu_cfs_periods_total{container!=\"\", image!=\"\", namespace=~\"$namespace\"}[5m])) > 0.05)",
1370
+ "legendFormat": "",
1371
+ "instant": true,
1372
+ "range": false,
1373
+ "format": "table"
1374
+ }
1375
+ ],
1376
+ "transformations": [
1377
+ {
1378
+ "id": "organize",
1379
+ "options": {
1380
+ "excludeByName": {
1381
+ "Time": true
1382
+ },
1383
+ "renameByName": {
1384
+ "Value": "Throttled"
1385
+ }
1386
+ }
1387
+ }
1388
+ ],
1389
+ "fieldConfig": {
1390
+ "defaults": {
1391
+ "thresholds": {
1392
+ "mode": "absolute",
1393
+ "steps": [
1394
+ {
1395
+ "color": "green",
1396
+ "value": null
1397
+ },
1398
+ {
1399
+ "color": "orange",
1400
+ "value": 0.25
1401
+ },
1402
+ {
1403
+ "color": "red",
1404
+ "value": 0.5
1405
+ }
1406
+ ]
1407
+ },
1408
+ "custom": {
1409
+ "align": "auto",
1410
+ "filterable": true
1411
+ }
1412
+ },
1413
+ "overrides": [
1414
+ {
1415
+ "matcher": {
1416
+ "id": "byName",
1417
+ "options": "Throttled"
1418
+ },
1419
+ "properties": [
1420
+ {
1421
+ "id": "unit",
1422
+ "value": "percentunit"
1423
+ }
1424
+ ]
1425
+ },
1426
+ {
1427
+ "matcher": {
1428
+ "id": "byName",
1429
+ "options": "Throttled"
1430
+ },
1431
+ "properties": [
1432
+ {
1433
+ "id": "custom.cellOptions",
1434
+ "value": {
1435
+ "type": "color-background"
1436
+ }
1437
+ }
1438
+ ]
1439
+ }
1440
+ ]
1441
+ },
1442
+ "options": {
1443
+ "showHeader": true,
1444
+ "cellHeight": "sm",
1445
+ "sortBy": [
1446
+ {
1447
+ "displayName": "Throttled",
1448
+ "desc": true
1449
+ }
1450
+ ]
1451
+ }
1452
+ },
1453
+ {
1454
+ "type": "table",
1455
+ "title": "Memory vs limit (top 15)",
1456
+ "id": 24,
1457
+ "description": "Containers closest to their memory limit. Near 100% the container will be OOM killed.",
1458
+ "gridPos": {
1459
+ "x": 12,
1460
+ "y": 36,
1461
+ "w": 12,
1462
+ "h": 9
1463
+ },
1464
+ "datasource": {
1465
+ "type": "prometheus",
1466
+ "uid": "prometheus"
1467
+ },
1468
+ "targets": [
1469
+ {
1470
+ "refId": "A",
1471
+ "datasource": {
1472
+ "type": "prometheus",
1473
+ "uid": "prometheus"
1474
+ },
1475
+ "expr": "topk(15, sum by (namespace, pod, container) (container_memory_working_set_bytes{container!=\"\", image!=\"\", namespace=~\"$namespace\"}) / sum by (namespace, pod, container) (kube_pod_container_resource_limits{resource=\"memory\", namespace=~\"$namespace\"}))",
1476
+ "legendFormat": "",
1477
+ "instant": true,
1478
+ "range": false,
1479
+ "format": "table"
1480
+ }
1481
+ ],
1482
+ "transformations": [
1483
+ {
1484
+ "id": "organize",
1485
+ "options": {
1486
+ "excludeByName": {
1487
+ "Time": true
1488
+ },
1489
+ "renameByName": {
1490
+ "Value": "Of limit"
1491
+ }
1492
+ }
1493
+ }
1494
+ ],
1495
+ "fieldConfig": {
1496
+ "defaults": {
1497
+ "thresholds": {
1498
+ "mode": "absolute",
1499
+ "steps": [
1500
+ {
1501
+ "color": "green",
1502
+ "value": null
1503
+ },
1504
+ {
1505
+ "color": "orange",
1506
+ "value": 0.8
1507
+ },
1508
+ {
1509
+ "color": "red",
1510
+ "value": 0.95
1511
+ }
1512
+ ]
1513
+ },
1514
+ "custom": {
1515
+ "align": "auto",
1516
+ "filterable": true
1517
+ }
1518
+ },
1519
+ "overrides": [
1520
+ {
1521
+ "matcher": {
1522
+ "id": "byName",
1523
+ "options": "Of limit"
1524
+ },
1525
+ "properties": [
1526
+ {
1527
+ "id": "unit",
1528
+ "value": "percentunit"
1529
+ }
1530
+ ]
1531
+ },
1532
+ {
1533
+ "matcher": {
1534
+ "id": "byName",
1535
+ "options": "Of limit"
1536
+ },
1537
+ "properties": [
1538
+ {
1539
+ "id": "custom.cellOptions",
1540
+ "value": {
1541
+ "type": "color-background"
1542
+ }
1543
+ }
1544
+ ]
1545
+ }
1546
+ ]
1547
+ },
1548
+ "options": {
1549
+ "showHeader": true,
1550
+ "cellHeight": "sm",
1551
+ "sortBy": [
1552
+ {
1553
+ "displayName": "Of limit",
1554
+ "desc": true
1555
+ }
1556
+ ]
1557
+ }
1558
+ },
1559
+ {
1560
+ "type": "row",
1561
+ "title": "Efficiency (cost)",
1562
+ "id": 25,
1563
+ "collapsed": false,
1564
+ "gridPos": {
1565
+ "x": 0,
1566
+ "y": 45,
1567
+ "w": 24,
1568
+ "h": 1
1569
+ },
1570
+ "panels": []
1571
+ },
1572
+ {
1573
+ "type": "table",
1574
+ "title": "Requests vs usage by namespace",
1575
+ "id": 26,
1576
+ "description": "Requested but unused CPU and memory is paid for but idle. If usage stays well below requests, lower the requests in the service profile (environment_profiles.yaml).",
1577
+ "gridPos": {
1578
+ "x": 0,
1579
+ "y": 46,
1580
+ "w": 24,
1581
+ "h": 10
1582
+ },
1583
+ "datasource": {
1584
+ "type": "prometheus",
1585
+ "uid": "prometheus"
1586
+ },
1587
+ "targets": [
1588
+ {
1589
+ "refId": "A",
1590
+ "datasource": {
1591
+ "type": "prometheus",
1592
+ "uid": "prometheus"
1593
+ },
1594
+ "expr": "sum by (namespace) (rate(container_cpu_usage_seconds_total{container!=\"\", image!=\"\", namespace=~\"$namespace\"}[30m]))",
1595
+ "legendFormat": "",
1596
+ "instant": true,
1597
+ "range": false,
1598
+ "format": "table"
1599
+ },
1600
+ {
1601
+ "refId": "B",
1602
+ "datasource": {
1603
+ "type": "prometheus",
1604
+ "uid": "prometheus"
1605
+ },
1606
+ "expr": "sum by (namespace) (kube_pod_container_resource_requests{resource=\"cpu\", namespace=~\"$namespace\"})",
1607
+ "legendFormat": "",
1608
+ "instant": true,
1609
+ "range": false,
1610
+ "format": "table"
1611
+ },
1612
+ {
1613
+ "refId": "C",
1614
+ "datasource": {
1615
+ "type": "prometheus",
1616
+ "uid": "prometheus"
1617
+ },
1618
+ "expr": "sum by (namespace) (container_memory_working_set_bytes{container!=\"\", image!=\"\", namespace=~\"$namespace\"})",
1619
+ "legendFormat": "",
1620
+ "instant": true,
1621
+ "range": false,
1622
+ "format": "table"
1623
+ },
1624
+ {
1625
+ "refId": "D",
1626
+ "datasource": {
1627
+ "type": "prometheus",
1628
+ "uid": "prometheus"
1629
+ },
1630
+ "expr": "sum by (namespace) (kube_pod_container_resource_requests{resource=\"memory\", namespace=~\"$namespace\"})",
1631
+ "legendFormat": "",
1632
+ "instant": true,
1633
+ "range": false,
1634
+ "format": "table"
1635
+ }
1636
+ ],
1637
+ "transformations": [
1638
+ {
1639
+ "id": "merge",
1640
+ "options": {}
1641
+ },
1642
+ {
1643
+ "id": "organize",
1644
+ "options": {
1645
+ "excludeByName": {
1646
+ "Time": true
1647
+ },
1648
+ "renameByName": {
1649
+ "Value #A": "CPU used",
1650
+ "Value #B": "CPU requested",
1651
+ "Value #C": "Memory used",
1652
+ "Value #D": "Memory requested"
1653
+ }
1654
+ }
1655
+ }
1656
+ ],
1657
+ "fieldConfig": {
1658
+ "defaults": {
1659
+ "thresholds": {
1660
+ "mode": "absolute",
1661
+ "steps": [
1662
+ {
1663
+ "color": "green",
1664
+ "value": null
1665
+ }
1666
+ ]
1667
+ },
1668
+ "custom": {
1669
+ "align": "auto",
1670
+ "filterable": true
1671
+ }
1672
+ },
1673
+ "overrides": [
1674
+ {
1675
+ "matcher": {
1676
+ "id": "byName",
1677
+ "options": "CPU used"
1678
+ },
1679
+ "properties": [
1680
+ {
1681
+ "id": "unit",
1682
+ "value": "cores"
1683
+ }
1684
+ ]
1685
+ },
1686
+ {
1687
+ "matcher": {
1688
+ "id": "byName",
1689
+ "options": "CPU requested"
1690
+ },
1691
+ "properties": [
1692
+ {
1693
+ "id": "unit",
1694
+ "value": "cores"
1695
+ }
1696
+ ]
1697
+ },
1698
+ {
1699
+ "matcher": {
1700
+ "id": "byName",
1701
+ "options": "Memory used"
1702
+ },
1703
+ "properties": [
1704
+ {
1705
+ "id": "unit",
1706
+ "value": "bytes"
1707
+ }
1708
+ ]
1709
+ },
1710
+ {
1711
+ "matcher": {
1712
+ "id": "byName",
1713
+ "options": "Memory requested"
1714
+ },
1715
+ "properties": [
1716
+ {
1717
+ "id": "unit",
1718
+ "value": "bytes"
1719
+ }
1720
+ ]
1721
+ }
1722
+ ]
1723
+ },
1724
+ "options": {
1725
+ "showHeader": true,
1726
+ "cellHeight": "sm",
1727
+ "sortBy": [
1728
+ {
1729
+ "displayName": "CPU requested",
1730
+ "desc": true
1731
+ }
1732
+ ]
1733
+ }
1734
+ }
1735
+ ],
1736
+ "links": [
1737
+ {
1738
+ "title": "Platform",
1739
+ "type": "dashboards",
1740
+ "tags": [
1741
+ "platform"
1742
+ ],
1743
+ "asDropdown": true,
1744
+ "includeVars": false,
1745
+ "keepTime": true
1746
+ }
1747
+ ],
1748
+ "annotations": {
1749
+ "list": []
1750
+ }
1751
+ }