mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #42467 from chentao1596/change-etcd-version
Automatic merge from submit-queue (batch tested with PRs 43518, 42467)
install/kube-up: fix some errors while install k8s through kube-up/down.sh
What this PR does / why we need it:
     etcd2.3.1 will be installed follow this scripts, but k8s use etcd3 as default storage backend, so the next error will always be apprear: 
     API server: rpc error: code = 13 desc = transport is closing
     so i think we should change the version of etcd
    thank you!
			
			
This commit is contained in:
		@@ -48,7 +48,7 @@ grep -q "^${FLANNEL_VERSION}\$" binaries/.flannel 2>/dev/null || {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ectd
 | 
					# ectd
 | 
				
			||||||
ETCD_VERSION=${ETCD_VERSION:-"2.3.1"}
 | 
					ETCD_VERSION=${ETCD_VERSION:-"3.0.17"}
 | 
				
			||||||
ETCD="etcd-v${ETCD_VERSION}-linux-amd64"
 | 
					ETCD="etcd-v${ETCD_VERSION}-linux-amd64"
 | 
				
			||||||
echo "Prepare etcd ${ETCD_VERSION} release ..."
 | 
					echo "Prepare etcd ${ETCD_VERSION} release ..."
 | 
				
			||||||
grep -q "^${ETCD_VERSION}\$" binaries/.etcd 2>/dev/null || {
 | 
					grep -q "^${ETCD_VERSION}\$" binaries/.etcd 2>/dev/null || {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user