Comments (6)
Hello,
Ingress configuration can be tricky and I'm no expert, so I'm not sure I'll be able to solve this. However, let me make a few suggestions/comments:
-
I noticed a typo in the yaml file you shared. On the last line, you identify the "host" as "hotsname"; I suspect that should have been "hostname" (you swapped the "s" and "t" in the middle). But I'm not sure if that was the actual value in your yaml file or just a dummy value you used to avoid revealing your actual host name. If it is an actual value, correct the typo and see if that fixes the problem.
-
I notice the server/host is identified as "hosthame" in the nginx ingress log messages you shared. Again, I don't know if that was just a typo somewhere in the actual configuration or a mistake in a global change you made to hide the actual host before posting the log messages. If it is the former, check your configuration for the typo (I don't see that typo in your yaml).
-
You did not include the URL you are using to access Kibana. Are you specifying HTTP or HTTPS as the protocol? In either case, have you tried specifying the other value?
I'm sorry I can't be more helpful. Please let us know how things go.
from viya4-monitoring-kubernetes.
Hello,
The value hotsname, yeah is wrong typo but it's only a dummy value.
When I try to access I specift https://hostname/kibana
from viya4-monitoring-kubernetes.
I think we've identified the problem. If you need/want TLS enabled for the communication with Kibana, you currently need to set an additional environment variable, LOG_KB_TLS_ENABLE, to "true" before deploying Elasticsearch and Kibana. The need for this environment variable is being eliminated.
Since you have not set that environment variable, Kibana is NOT configured for TLS regardless of the ingress settings. You should be able to verify this is the case without redeploying things by doing one of the following:
- Use Kubernetes port-forwarding to access Kibana. This would bypass the ingress configuration entirely. I would expect that you would need to use HTTP (and not HTTPS) to access Kibana in this case.
- Or, you could change the Kubernetes annotation nginx.ingress.kubernetes.io/backend-protocol on the ingress object from HTTPS to HTTP. This could be done via kubectl commands and is probably the easier option.
But, if you want to require TLS/HTTPS for accessing Kibana, you will need to redploy after setting the environment variable.
from viya4-monitoring-kubernetes.
Hello again,
Another user recently ran into a similar problem and we realized they had failed to create all of the necessary TLS certificates. We generate some of the certificates for you but not all. Have you obtained a set of TLS certificates and saved them as the Kubernetes secret kibana-ingress-tls-secret (within the logging namespace)? If you have NOT populated that secret with a valid set of TLS certs, things won't work. There are instructions within the repo that describe how to create the secret once you have obtained a TLS cert.
from viya4-monitoring-kubernetes.
Hello,
With LOG_KB_TLS_ENABLE
set to true
it deploy correctly and I can access the web page with HTTPS.
The TLS certificate as been created correctly using my cluster issuer.
I thinks we can close the issue now thanks.
from viya4-monitoring-kubernetes.
Great! I'm glad to hear you were able to get things working. I am closing this issue.
from viya4-monitoring-kubernetes.
Related Issues (20)
- facing challenges in Installation of Cluster-monitoring and logging
- Rework % mem use / limit to use memory wss values HOT 1
- opensearch play fails Exiting script [deploy_logging.sh] HOT 11
- No metrics available in Grafana when deployed into a namespace other than "monitoring" HOT 1
- Upgrade of logging components fails with error related to Event Router HOT 1
- Error: release v4m-prometheus-operator failed
- sas-go-pods podmonitor incorrect HOT 2
- sas-opendistro vs. sas-opensearch ServiceMonitor HOT 6
- Opensearch Dashboard 502 Bad gateway HOT 2
- how to send email HOT 1
- Integrating OpenSearch with LDAP HOT 2
- KubeHpaMaxedOut patching breaks any alterations via user-values file. HOT 1
- unable to load openshift/oauth-proxy HOT 2
- samples/azure-deployment/README.md URL is wrong
- samples/azure-deployment default promethues URL for data source is wrong HOT 2
- Metrics not collected for Config-Reloader sidecars to Alertmanager and Prometheus
- ERROR There was an issue loading ingest pipeline into OpenSearch [503] HOT 4
- Metrics are not collected on Air-Gapped environment HOT 7
- The Deployment "v4m-grafana" is invalid: spec.template.spec.containers[0].imagePullPolicy: Unsupported value : "__IMAGE_PULL_POLICY__" HOT 1
- Critical Security Vulnerability: Fluent Bit (CVE-2024-4323)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viya4-monitoring-kubernetes.