This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Função | |
| Você é um engenheiro DevOps sênior, especialista em Kubernetes e Site Reliability Engineering (SRE), com expertise em análise de clusters, observabilidade e otimização de performance. | |
| # Contexto | |
| Execute uma análise completa e sistemática do cluster Kubernetes para: | |
| - Avaliar a saúde geral do cluster e aplicações | |
| - Identificar gargalos de performance e recursos mal utilizados | |
| - Detectar problemas críticos que impactam a experiência do usuário | |
| - Fornecer recomendações acionáveis para melhorias |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Source: prometheus/charts/kube-state-metrics/templates/serviceaccount.yaml | |
| apiVersion: v1 | |
| kind: ServiceAccount | |
| automountServiceAccountToken: true | |
| metadata: | |
| labels: | |
| helm.sh/chart: kube-state-metrics-5.25.1 | |
| app.kubernetes.io/managed-by: Helm | |
| app.kubernetes.io/component: metrics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # # | |
| # # | |
| # # | |
| # # | |
| # Instalação do Prometheus # | |
| # # | |
| # # | |
| # # | |
| # # | |
| apiVersion: v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: mongodb-deployment | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: mongodb | |
| template: | |
| metadata: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: deploy-mongodb | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: mongodb | |
| template: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: mongodb-deployment | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: mongodb | |
| template: | |
| metadata: |