{"id":20042502,"url":"https://github.com/code4mk/k8s-easy-prometheus-setup","last_synced_at":"2026-05-14T20:06:57.549Z","repository":{"id":242404734,"uuid":"809455111","full_name":"code4mk/k8s-easy-prometheus-setup","owner":"code4mk","description":"easily setup prometheus (kube-prometheus-stack) on k8s","archived":false,"fork":false,"pushed_at":"2024-06-06T11:45:55.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T22:09:59.873Z","etag":null,"topics":["grafana","k8s-monitoring","k8s-prometheus-grafana","prometheus","sdeops"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code4mk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-02T18:26:50.000Z","updated_at":"2024-12-20T08:59:04.000Z","dependencies_parsed_at":"2026-02-23T15:05:35.718Z","dependency_job_id":null,"html_url":"https://github.com/code4mk/k8s-easy-prometheus-setup","commit_stats":null,"previous_names":["code4mk/k8s-easy-prometheus-setup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code4mk/k8s-easy-prometheus-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fk8s-easy-prometheus-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fk8s-easy-prometheus-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fk8s-easy-prometheus-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fk8s-easy-prometheus-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code4mk","download_url":"https://codeload.github.com/code4mk/k8s-easy-prometheus-setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fk8s-easy-prometheus-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33041255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grafana","k8s-monitoring","k8s-prometheus-grafana","prometheus","sdeops"],"created_at":"2024-11-13T10:51:59.504Z","updated_at":"2026-05-14T20:06:57.534Z","avatar_url":"https://github.com/code4mk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Setup Prometheus (kube-prometheus-stack) on Kubernetes\n\nEasily set up Prometheus (kube-prometheus-stack) on Kubernetes and configure Prometheus, Grafana, and Alertmanager.\n\n# 🔧 Manual Process\n\n## 📥 Add Helm Repo \n\n```bash\nhelm repo add prometheus-community https://prometheus-community.github.io/helm-charts\nhelm repo update\n```\n\n## 🏷️ Create Namespace\n```bash\nkubectl create namespace monitoring\n```\n\n## 🔑 Add Grafana Secrets (Alert Credentials: Email, Slack, etc.)\n```bash\nkubectl apply -f grafana-secret.yml\n```\n\n### 🔐 Base64 Generate\n\n```bash\necho -n 'the_data' | base64\n```\n\n## 🛠️ Configuration\nYou can modify the config data inside the config folder.\n\n\n\n\n\n```bash\nhelm uninstall prometheus -n monitoring\n```\n\n# Automate Process with bash script\n\n```bash\n./setup-prometheus.sh\n```\n\n## 📈 Install Prometheus\n\n```bash\nhelm install prometheus prometheus-community/kube-prometheus-stack -n monitoring -f config/grafana.yml -f config/prometheus.yml -f config/alert-manager.yml\n```\n\n## ⬆️ Upgrade\n\n```bash\nhelm upgrade prometheus prometheus-community/kube-prometheus-stack -n monitoring -f config/grafana.yml -f config/prometheus.yml -f config/alert-manager.yml\n```\n\n## ❌ Uninstall\n\n```bash\nhelm uninstall prometheus -n monitoring\n```\n\n# 🤖 Automate Process with Bash Script\n\n```bash\n./setup-prometheus.sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode4mk%2Fk8s-easy-prometheus-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode4mk%2Fk8s-easy-prometheus-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode4mk%2Fk8s-easy-prometheus-setup/lists"}