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