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

fix yaml download cmds in grafana docs #873

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Conversation

bwagner5
Copy link
Contributor

1. Issue, if available:
N/A

2. Description of changes:

  • Save grafana and prometheus curl'd values.yaml files to a file so the next line can be copy and pasted.

3. Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: link to issue
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@netlify
Copy link

netlify bot commented Nov 29, 2021

✔️ Deploy Preview for karpenter-docs-prod ready!

🔨 Explore the source changes: cc28acf

🔍 Inspect the deploy log: https://app.netlify.com/sites/karpenter-docs-prod/deploys/61abf3f5a7d4b80007d16760

😎 Browse the preview: https://deploy-preview-873--karpenter-docs-prod.netlify.app

@geoffcline
Copy link
Contributor

I thought we decided to delete those?

ellistarn
ellistarn previously approved these changes Nov 29, 2021
@ellistarn
Copy link
Contributor

I thought we decided to delete those?

I was a bit confused too. I think we removed the specific grafana page, but left it in the getting started guide. We should probably remove for the time being.

@chrisnegus
Copy link
Member

@ellistarn You suggested we remove the grafana docs for now. They are not in the pre-docs that we are about to move over for GA.

@@ -184,10 +184,10 @@ helm repo update

kubectl create namespace monitoring

curl -fsSL https://karpenter.sh/docs/getting-started/prometheus-values.yaml
curl -fsSL https://karpenter.sh/docs/getting-started/prometheus-values.yaml | tee prometheus-values.yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused - when I try to curl that path I get a 404. Also is tee really needed here? Why isn't curl outputting to the right filename in the first place?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The files were removed, I've added them back in this PR.

Regarding the tee, I wanted the user to see what they are configuring rather than blindly passing the values files to the helm command.

Revert "delete Grafana docs  (aws#868)"

This reverts commit 003ecc6.

fix docs and remove stand-alone grafana docs
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

kubectl create namespace monitoring
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we create this in the helm command? --create-namespace

```sh
kubectl get secret --namespace monitoring grafana -o jsonpath="{.data.admin-password}" | base64 --decode
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a curl command that we can run to load the karpenter dashboards into grafana?

@akestner akestner added feature New feature or request observability labels Dec 6, 2021
@ellistarn ellistarn merged commit 7d74c42 into aws:main Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request observability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants