knative-monitoring kibana-logging deployment
0.6.0
access the url: http://xxx.xxx.xxx:5601 kibana UI will be shown, seems caused by the deployment with SERVER_BASEPATH configured
redirected: http://xxx.xxx.xxx:5601/api/v1/namespaces/knative-monitoring/services/kibana-logging/proxy/app/kibana, and complains: {"statusCode":404,"error":"Not Found","message":"Not Found"}
kubectl edit deployments -n knative-monitoring kibana-logging
Remove:
- name: SERVER_BASEPATH
value: /api/v1/namespaces/knative-monitoring/services/kibana-logging/proxy
kubectl edit services -n knative-monitoring kibana-logging
Change the NodePort to LoadBalancer.
Then:
curl -v http://$(kubectl get services -n knative-monitoring kibana-logging -o go-template='{{ index (index .status.loadBalancer.ingress 0) "ip"}}'):5601/app/kibana | head
Returns:
GET /app/kibana HTTP/1.1
...
HTTP/1.1 200 OK
Does this not work?
it works, what I meant is that by default if we need make it work, or something else considered by adding the config.
By default, Kibana shouldn't be publicly exposed and it is not exposed.
You can change that of course, but then you are responsible for the change.
What we provide by default works.
Anyway, this is outside of Knative scope, it is standard Kibana stuff.
I'll submit a PR to add a comment to third_party/config/monitoring/logging/elasticsearch/elasticsearch.yaml about SERVER_BASEPATH.
Issues go stale after 90 days of inactivity.
Mark the issue as fresh by adding the comment /remove-lifecycle stale.
Stale issues rot after an additional 30 days of inactivity and eventually close.
If this issue is safe to close now please do so by adding the comment /close.
Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/lifecycle stale
Stale issues rot after 30 days of inactivity.
Mark the issue as fresh by adding the comment /remove-lifecycle rotten.
Rotten issues close after an additional 30 days of inactivity.
If this issue is safe to close now please do so by adding the comment /close.
Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/lifecycle rotten
Rotten issues close after 30 days of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh by adding the comment /remove-lifecycle rotten.
Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/close
@knative-housekeeping-robot: Closing this issue.
In response to this:
Rotten issues close after 30 days of inactivity.
Reopen the issue with/reopen.
Mark the issue as fresh by adding the comment/remove-lifecycle rotten.Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Most helpful comment
By default, Kibana shouldn't be publicly exposed and it is not exposed.
You can change that of course, but then you are responsible for the change.
What we provide by default works.
Anyway, this is outside of Knative scope, it is standard Kibana stuff.
I'll submit a PR to add a comment to
third_party/config/monitoring/logging/elasticsearch/elasticsearch.yamlaboutSERVER_BASEPATH.