- What Grafana version and what operating system are you using?
so i am using aws ec2 for kubernetes, and deployed using kops
- ubuntu 20.04
- kubernetes 1.2
- kops 1.26.6
- What are you trying to achieve?
installing dashboard monitor for kubernetes - How are you trying to achieve it?
- following docs kubernetes using helm chart
- tryiing to edit CustomResourceDefinition adding label, annotation
- tring install manual using helm and terraform
- What happened?
its got same error when trying install using helm chart and terraform
Release “grafana-k8s-monitoring” does not exist. Installing it now.
Error: Unable to continue with install: CustomResourceDefinition “alertmanagerconfigsmonitoringcoreoscom" in namespace “” exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "appkubernetesio/managed-by": must be set to “Helm”; annotation validation error: missing key "metahelmsh/release-name": must be set to “grafana-k8s-monitoring”; annotation validation error: missing key "metahelm*sh/release-namespace”: must be set to “awfui27”
-
What did you expect to happen?
-
Can you copy/paste the configuration(s) that you are having problems with?
helm repo add grafana grafana*github*io/helm-charts &&
helm repo update &&
helm upgrade --install --atomic --timeout 120s grafana-k8s-monitoring grafana/k8s-monitoring \
--namespace "awfui27" --create-namespace --values - <<EOF
cluster:
name: my_cluster_name
externalServices:
prometheus:
host: my_link
basicAuth:
username: "111111"
password: REPLACE_WITH_ACCESS_POLICY_TOKEN
loki:
host: my_link
basicAuth:
username: "1111111"
password: REPLACE_WITH_ACCESS_POLICY_TOKEN
opencost:
opencost:
exporter:
defaultClusterId: my_cluster_name
prometheus:
external:
url: my_link
EOF
- Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
no error on Grafana UI - Did you follow any online instructions? If so, what is the URL?