You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redeployed Kibana resource with config modification (to setup public access to Kibana via k8s ingress on https://xxx.mydomain.com/monitoring/kibana):
Deployed Fleet Server Agent (together with ClusterRole, ClusterRoleBinding and ServiceAccount)
What did you expect to see?
pod is created for the fleet-server agent
no error in operator logs
agent is reported as green
What did you see instead? Under which circumstances?
error in operator log failed to request http://monitoring-kb-http.monitoring-at.svc:5601/api/fleet/setup, status is 404)
Due to the change to server context, the URL path /api/fleet/setup is no longer valid and should have become /monitoring/kibana/api/fleet/setup considering the server.basePath config parameter (or it's env variable equivalent).
no health information on elastic resource
$kubectl -n monitoring-at get elastic
NAME HEALTH AVAILABLE EXPECTED VERSION AGE
agent.agent.k8s.elastic.co/fleet-server 109m
NAME HEALTH NODES VERSION AGE
apmserver.apm.k8s.elastic.co/monitoring green 1 8.14.0 5d21h
NAME HEALTH NODES VERSION PHASE AGE
elasticsearch.elasticsearch.k8s.elastic.co/monitoring green 3 8.14.0 Ready 5d22h
NAME HEALTH NODES VERSION AGE
kibana.kibana.k8s.elastic.co/monitoring green 1 8.14.0 114m
Environment
ECK version: 2.13.0
Kubernetes information: AKS
Client Version: v1.29.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.9
What you are trying to do is currently not supported. The operator, as you have found out is not aware of the server.basePath setting. The only work around I can think of is to try to do the rewrite proxy side with an ingress implementation specific path (e.g for nginx)
We could potentially inspect the Kibana config and adjust the paths. But it is a bit tricky your example shows. You are using environment variables while the more idiomatic way would be to use the config attribute:
Bug Report
What did you do?
Following quickstart
https://xxx.mydomain.com/monitoring/kibana
):What did you expect to see?
What did you see instead? Under which circumstances?
error in operator log
failed to request http://monitoring-kb-http.monitoring-at.svc:5601/api/fleet/setup, status is 404)
Due to the change to server context, the URL path
/api/fleet/setup
is no longer valid and should have become/monitoring/kibana/api/fleet/setup
considering theserver.basePath
config parameter (or it's env variable equivalent).no health information on elastic resource
Environment
ECK version: 2.13.0
Kubernetes information: AKS
SERVER_BASEPATH
The text was updated successfully, but these errors were encountered: