kube-prometheus
kube-prometheus copied to clipboard
monitoring-kube-prometheus-stack invalid chart reference
What happened? I tried to install kube-prometheus stack as described in FluxCD Guide. I got error like:
$ flux get helmreleases --all-namespaces
NAMESPACE NAME REVISION SUSPENDED READY MESSAGE
monitoring kube-prometheus-stack 41.7.4 False False HelmChart 'monitoring/monitoring-kube-prometheus-stack' is no
t ready
monitoring loki-stack False False dependency 'monitoring/kube-prometheus-stack' is not ready
Helm repositories looks fine:
$ flux get sources helm --all-namespaces
NAMESPACE NAME REVISION SUSPENDED READY MESSAGE
monitoring grafana-charts 7bb2d06c1d08046098a6fb1f60c8652e9dcbe8f4adb8dd53acf5990881eb8406 False True stored artifact for revision '7bb2d06c1d08046098a6fb1f60c8652e9dcbe8f4adb8dd53acf5990881eb8406'
monitoring prometheus-community False True Helm repository is ready
but here's the problem:
$ flux get sources chart --all-namespaces
NAMESPACE NAME REVISION SUSPENDED READY MESSAGE
monitoring monitoring-kube-prometheus-stack 41.7.4 False False invalid chart reference: failed to get chart version for remote reference: could not get tags for "kube-prometheus-stack": could not fetch tags for "oci://ghcr.io/prometheus-community/charts/kube-prometheus-stack": Get "https://ghcr.io/v2/prometheus-community/charts/kube-prometheus-stack/tags/list": dial tcp: lookup ghcr.io on 10.96.0.10:53: server misbehaving
monitoring monitoring-loki-stack 2.8.7 False True pulled 'loki-stack' chart with version '2.8.7'
- Prometheus Operator version:
Image: quay.io/prometheus-operator/prometheus-operator:v0.60.1
- Kubernetes version information:
Client Version: v1.25.2 Kustomize Version: v4.5.7 Server Version: v1.25.2
- Kubernetes cluster kind:
kind create cluster --name staging --config kind-config.yaml
kind-config.yaml:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
- role: worker
- role: worker