Fix Grafana datasource URLs for docker driver
After minikube migration from podman to docker driver, the hostname host.containers.internal no longer resolves. Use host.minikube.internal which is the correct hostname for docker driver. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
5a829e0afd
commit
0c9c306917
1 changed files with 4 additions and 4 deletions
|
|
@ -24,8 +24,8 @@ grafana.ini:
|
|||
check_for_updates: false
|
||||
reporting_enabled: false
|
||||
|
||||
# Datasources - point to indri services via podman host gateway
|
||||
# host.containers.internal resolves to the podman host (indri) from inside minikube
|
||||
# Datasources - point to indri services via docker host gateway
|
||||
# host.minikube.internal resolves to the docker host (indri) from inside minikube
|
||||
datasources:
|
||||
datasources.yaml:
|
||||
apiVersion: 1
|
||||
|
|
@ -35,7 +35,7 @@ datasources:
|
|||
access: proxy
|
||||
orgId: 1
|
||||
uid: prometheus
|
||||
url: http://host.containers.internal:9090
|
||||
url: http://host.minikube.internal:9090
|
||||
isDefault: true
|
||||
editable: false
|
||||
- name: Loki
|
||||
|
|
@ -43,7 +43,7 @@ datasources:
|
|||
access: proxy
|
||||
orgId: 1
|
||||
uid: loki
|
||||
url: http://host.containers.internal:3100
|
||||
url: http://host.minikube.internal:3100
|
||||
editable: false
|
||||
|
||||
# Dashboard provisioning - sidecar watches for ConfigMaps with label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue