Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command to deploy monitoring stack #2030

Merged
merged 8 commits into from
May 18, 2023

Conversation

hlts2
Copy link
Collaborator

@hlts2 hlts2 commented May 17, 2023

Description:

WHY

Multiple commands must be executed to create a monitoring environment. We would like to be able to execute this with one command.

WHAT

  • Add new make command to deploy monitoring stack

The following is an example

# deploy monitoring stack
$ make k8s/monitoring/deploy

# delete monitoring stack
$  make k8s/monitoring/delete  

Related Issue:

Versions:

  • Go Version: 1.20.3
  • Docker Version: 20.10.8
  • Kubernetes Version: 1.22.0
  • NGT Version: 2.0.11

Checklist:

Special notes for your reviewer:

The following commands can be used to build them

  1. deploy cert-manager
make k8s/external/cert-manager/deploy 
  1. deploy monitoring stack
make k8s/monitoring/deploy 

$ kubectl get pods
NAME                                                         READY   STATUS    RESTARTS      AGE
jaeger-jaeger-operator-76fbf8589f-5q8g5                      1/1     Running   0             17m
jaeger-5878d4d96c-rd6w9                                      1/1     Running   0             17m
prometheus-prometheus-node-exporter-bm9f5                    1/1     Running   0             17m
prometheus-prometheus-node-exporter-hrswv                    1/1     Running   0             17m
prometheus-prometheus-node-exporter-4jsr6                    1/1     Running   0             17m
prometheus-prometheus-node-exporter-8dxg5                    1/1     Running   0             17m
prometheus-prometheus-node-exporter-956fc                    1/1     Running   0             17m
prometheus-prometheus-node-exporter-nr2cp                    1/1     Running   0             17m
prometheus-kube-prometheus-operator-67ddcdbcdc-smpp7         1/1     Running   0             17m
alertmanager-prometheus-kube-prometheus-alertmanager-0       2/2     Running   1 (16m ago)   17m
prometheus-kube-state-metrics-66df9d47b4-qd5qr               1/1     Running   0             17m
prometheus-prometheus-kube-prometheus-prometheus-0           2/2     Running   0             17m
grafana-649c46dfb6-wsrjj                                     1/1     Running   0             16m
opentelemetry-operator-controller-manager-7bd5668c79-pgs9m   2/2     Running   0             16m
opentelemetry-collector-collector-t8c54                      1/1     Running   0             16m
opentelemetry-collector-collector-mzc9j                      1/1     Running   0             16m
opentelemetry-collector-collector-j8rm8                      1/1     Running   0             16m
opentelemetry-collector-collector-rbd6w                      1/1     Running   0             16m
opentelemetry-collector-collector-jl2gb                      1/1     Running   0             16m
opentelemetry-collector-collector-7wdmd                      1/1     Running   0             16m

@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 💌 /changelog - replace the PR body by changelog details
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • /rebase - rebase main
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

@hlts2 hlts2 requested a review from datelier May 17, 2023 05:32
@hlts2 hlts2 self-assigned this May 17, 2023
@hlts2 hlts2 requested review from a team, ykadowak and vankichi and removed request for a team and ykadowak May 17, 2023 05:33
vankichi
vankichi previously approved these changes May 17, 2023
@hlts2 hlts2 requested review from a team and removed request for a team May 17, 2023 06:12
Signed-off-by: hlts2 <[email protected]>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented May 17, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0b0c257
Status: ✅  Deploy successful!
Preview URL: https://fdad612e.vald.pages.dev
Branch Preview URL: https://feature-makefile-add-deploy.vald.pages.dev

View logs

@hlts2 hlts2 requested a review from vankichi May 18, 2023 01:06
datelier
datelier previously approved these changes May 18, 2023
@hlts2 hlts2 merged commit 7029d4c into main May 18, 2023
@hlts2 hlts2 deleted the feature/makefile/add-deploy-command-for-monitoring-stack branch May 18, 2023 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants