Skip to content

A simple Terraform project to provision a cluster Kubernetes with Prometheus Operator via Helm in Google Cloud.

License

Notifications You must be signed in to change notification settings

hermeto/prometheus-operator-setup

Repository files navigation

Prometheus Operator Setup

Tools validation

  • Decrypting files
git-crypt unlock getup.pem
  • Kubectl setup
export  KUBECONFIG=$KUBECONFIG:kubeconfig.yaml
  • Grafana dashboard:
kubectl -n monitoring port-forward deployment/getup-grafana 3000:3000
  • Alertmanager panel:
kubectl -n monitoring port-forward alertmanager-getup-prometheus-operator-alertmanager-0 9093:9093
  • Prometheus operator panel:
kubectl -n monitoring port-forward prometheus-getup-prometheus-operator-prometheus-0 9090:9090

About

Requirements

References

Files to review

prometheus-operator-setup/
├── backend
│   ├── firewall
│   │   ├── main.tf
│   │   └── variables.tf
│   ├── subnet
│   │   ├── main.tf
│   │   ├── outputs.tf
│   │   └── variables.tf
│   └── vpc
│       ├── main.tf
│       └── outputs.tf
├── credentials
│   └── getup.json
├── gke
│   ├── main.tf
│   ├── outputs.tf
│   └── variables.tf
├── helm
│   ├── alertmanager.values.yaml
│   ├── main.tf
│   └── prometheus-operator.tf
├── kubeconfig.yaml
├── kubernetes
│   ├── cluster-role-bindings.tf
│   ├── namespaces.tf
│   ├── outputs.tf
│   └── service-accounts.tf
├── LICENSE
├── main.tf
├── README.md
├── terraform.tfstate
├── terraform.tfstate.backup
└── variables.tf

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub

Author

Hermeto Romano - [email protected]

About

A simple Terraform project to provision a cluster Kubernetes with Prometheus Operator via Helm in Google Cloud.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages