mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	enforce node quorum to prevent es split brain problem
This commit is contained in:
		@@ -20,7 +20,7 @@ spec:
 | 
			
		||||
        kubernetes.io/cluster-service: "true"
 | 
			
		||||
    spec:
 | 
			
		||||
      containers:
 | 
			
		||||
      - image: gcr.io/google_containers/elasticsearch:1.7
 | 
			
		||||
      - image: gcr.io/google_containers/elasticsearch:1.8
 | 
			
		||||
        name: elasticsearch-logging         
 | 
			
		||||
        resources:
 | 
			
		||||
          limits:
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 | 
			
		||||
# The current value of the tag to be used for building and
 | 
			
		||||
# pushing an image to gcr.io
 | 
			
		||||
TAG = 1.7
 | 
			
		||||
TAG = 1.8
 | 
			
		||||
 | 
			
		||||
build:	elasticsearch_logging_discovery
 | 
			
		||||
	docker build -t gcr.io/google_containers/elasticsearch:$(TAG) .
 | 
			
		||||
 
 | 
			
		||||
@@ -4,4 +4,5 @@ node.data: ${NODE_DATA}
 | 
			
		||||
transport.tcp.port: ${TRANSPORT_PORT}
 | 
			
		||||
http.port: ${HTTP_PORT}
 | 
			
		||||
discovery.zen.ping.multicast.enabled: false
 | 
			
		||||
discovery.zen.minimum_master_nodes: 2
 | 
			
		||||
path.data: /data
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user