Comments (8)
Did you try this image and it didn't work? At first I thought this was a limitation but after doing a little research on the issue I am under the impression this just works!
from kubernetes-elasticsearch-cluster.
yeah I tried using this image and i haven't seen anywhere in the code where this is referenced so im not sure why it doesn't work but in the ES container logs its trying to connect to the wrong cluster_domain. This could possibly be a kubernetes bug? anyway i think we are just going to change the cluster domain back to default
from kubernetes-elasticsearch-cluster.
@jimmidyson is there any limitation with the discovery plug-in (inherited by fabric8 Kubernetes API)?
@feelobot let's keep this open until Jimmi gets back with an answer.
from kubernetes-elasticsearch-cluster.
There's nothing hard coded in the plugin. Can you share logs? Could be a kubernetes bug in DNS resolution. I'd always suggest using the short DNS name rather than FQDN as the configuration cluster domain will be added as a search suffix in all pods in the cluster if configured.
from kubernetes-elasticsearch-cluster.
@jimmidyson good catch, it may actually be the container DNS misbehaving. @feelobot care to copy the container /etc/resolv.conf
contents and paste them here?
from kubernetes-elasticsearch-cluster.
resolv.conf
/ # cat /etc/resolv.conf
nameserver 127.0.0.1 # added by go-dnsmasq
# nameserver 10.100.0.10
# nameserver 172.16.0.2
search default.svc.cluster.local svc.cluster.local cluster.local ec2.internal
options ndots:5
from kubernetes-elasticsearch-cluster.
also getting this now that ive switched to using cluster.local
[2016-02-08 23:12:14,663][WARN ][io.fabric8.elasticsearch.discovery.kubernetes.KubernetesUnicastHostsProvider] [Forbush Man] Exception caught during discovery: Error executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/endpoints/elasticsearch-discovery. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
io.fabric8.kubernetes.client.KubernetesClientException: Error executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/endpoints/elasticsearch-discovery. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
from kubernetes-elasticsearch-cluster.
search default.svc.cluster.local svc.cluster.local cluster.local ec2.internal
means you're using cluster.local
. Try it with a different domain and let me know here.
Regarding the second error, it seems your Kubernetes install doesn't provide tokens to pods.
from kubernetes-elasticsearch-cluster.
Related Issues (20)
- Deprecated service HOT 1
- Missing required field "selector" in io.k8s.api.apps.v1.StatefulSetSpec HOT 2
- ingest-attachment does not work in Cluster HOT 1
- Master pods refuse to start with memory limits set on AWS EKS HOT 2
- Question: Memory requirements HOT 2
- enable discovery, other nodes to join the cluster HOT 1
- best way to add synonyms to an index
- Reloadable secure settings or restart master
- Unable to set MEMORY_LOCK to true HOT 1
- Statefulset not working with resize of pvc
- Re-election takes over 30 seconds when deleting master pod (but fast when killing the process directly) HOT 2
- how to set attributes HOT 1
- es-data nodes exceeding Xmx memory HOT 2
- Java heap space error for es-client and es-data when we specify memory limit
- plugin install ?
- ES production configuration HOT 2
- ES_PLUGINS_INSTALL breaks boot sequence HOT 2
- Why this project if we have it in an oficial ElasticSearch as Helm package? HOT 5
- Data nodes failing to restart
- es-ingest and es-data not connecting after restarting es-master
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 kubernetes-elasticsearch-cluster.