Comments (6)
This is not documentation but code and I didn't see where they removed the serviceAccount
. It's working for me.
from kubernetes-elasticsearch-cluster.
I will look into this. Really weird, working with my Kubernetes set-up. Otherwise, wouldn't be able to start it and update the documentation according to the latest versions.
from kubernetes-elasticsearch-cluster.
@changx can you please point me where in the documentation or examples one finds such serviceAccountName
instead of serviceAccount
? Does your cluster allow for tokens?
from kubernetes-elasticsearch-cluster.
i also changed in my rc because they have this in there api reference https://godoc.org/github.com/GoogleCloudPlatform/kubernetes/pkg/api#PodSpec
from kubernetes-elasticsearch-cluster.
and, sure it is changed in commit
14 days ago....
from kubernetes-elasticsearch-cluster.
I've tried once more with 1.0.1 as per https://github.com/pires/kubernetes-vagrant-coreos-cluster and the Elasticsearch cluster works as is. I'll close this but please do provide more feedback.
$ kubectl create -f service-account.yaml
$ kubectl create -f elasticsearch-discovery-service.yaml
$ kubectl create -f elasticsearch-service.yaml
$ kubectl create -f elasticsearch-master-controller.yaml
# I've waited until master was up
$ kubectl create -f elasticsearch-lb-controller.yaml
$ kubectl create -f elasticsearch-data-controller.yaml
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
elasticsearch-data-1b1c8 1/1 Running 0 3m
elasticsearch-lb-9wypd 1/1 Running 0 4m
elasticsearch-master-qc5h3 1/1 Running 0 6m
kube-dns-sezkg 3/3 Running 0 21m
$ kubectl logs elasticsearch-master-qc5h3
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
[2015-07-31 10:55:18,495][WARN ][bootstrap ] Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out. Increase RLIMIT_MEMLOCK (ulimit).
[2015-07-31 10:55:18,634][INFO ][node ] [Haywire] version[1.7.1], pid[1], build[b88f43f/2015-07-29T09:54:16Z]
[2015-07-31 10:55:18,634][INFO ][node ] [Haywire] initializing ...
[2015-07-31 10:55:18,773][INFO ][plugins ] [Haywire] loaded [cloud-kubernetes], sites []
[2015-07-31 10:55:18,819][INFO ][env ] [Haywire] using [1] data paths, mounts [[/data (/dev/sda9)]], net usable_space [14.4gb], net total_space [15.5gb], types [ext4]
[2015-07-31 10:55:23,013][INFO ][node ] [Haywire] initialized
[2015-07-31 10:55:23,013][INFO ][node ] [Haywire] starting ...
[2015-07-31 10:55:23,249][INFO ][transport ] [Haywire] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/10.244.37.2:9300]}
[2015-07-31 10:55:23,297][INFO ][discovery ] [Haywire] elasticsearch-k8s/xeKR97QjSxWT7VHQRr7XPQ
[2015-07-31 10:55:29,229][INFO ][cluster.service ] [Haywire] new_master [Haywire][xeKR97QjSxWT7VHQRr7XPQ][elasticsearch-master-qc5h3][inet[/10.244.37.2:9300]]{data=false, master=true}, reason: zen-disco-join (elected_as_master)
[2015-07-31 10:55:29,252][INFO ][node ] [Haywire] started
[2015-07-31 10:55:29,278][INFO ][gateway ] [Haywire] recovered [0] indices into cluster_state
[2015-07-31 10:57:15,289][INFO ][cluster.service ] [Haywire] added {[Wong][ywCmbOyoSei2ihFeLG0ZqA][elasticsearch-lb-9wypd][inet[/10.244.37.3:9300]]{data=false, master=false},}, reason: zen-disco-receive(join from node[[Wong][ywCmbOyoSei2ihFeLG0ZqA][elasticsearch-lb-9wypd][inet[/10.244.37.3:9300]]{data=false, master=false}])
[2015-07-31 10:58:07,333][INFO ][cluster.service ] [Haywire] added {[Mister Hyde][snmCO8TcS_GSm2u6BEBSEg][elasticsearch-data-1b1c8][inet[/10.244.37.4:9300]]{master=false},}, reason: zen-disco-receive(join from node[[Mister Hyde][snmCO8TcS_GSm2u6BEBSEg][elasticsearch-data-1b1c8][inet[/10.244.37.4:9300]]{master=false}])
$ kubectl get service elasticsearch
NAME LABELS SELECTOR IP(S) PORT(S)
elasticsearch component=elasticsearch,role=load-balancer component=elasticsearch,role=load-balancer 10.100.227.7 9200/TCP
$ vagrant ssh node-01
CoreOS valpha (758.1.0)
Update Strategy: No Reboots
core@node-01 ~ $ curl http://10.100.227.7:9200/_cluster/health?pretty
{
"cluster_name" : "elasticsearch-k8s",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 3,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0
}
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.