mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Fix ports in migration script
This commit is contained in:
parent
d5014c3f21
commit
83d83ebb47
@ -101,12 +101,12 @@ fi
|
|||||||
start_etcd() {
|
start_etcd() {
|
||||||
# Use random ports, so that apiserver cannot connect to etcd.
|
# Use random ports, so that apiserver cannot connect to etcd.
|
||||||
ETCD_PORT=18629
|
ETCD_PORT=18629
|
||||||
ETCD_PEER_PORT=18630
|
ETCD_PEER_PORT=2380
|
||||||
# Avoid collisions between etcd and event-etcd.
|
# Avoid collisions between etcd and event-etcd.
|
||||||
case "${DATA_DIRECTORY}" in
|
case "${DATA_DIRECTORY}" in
|
||||||
*event*)
|
*event*)
|
||||||
ETCD_PORT=18631
|
ETCD_PORT=18631
|
||||||
ETCD_PEER_PORT=18632
|
ETCD_PEER_PORT=2381
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
local ETCD_CMD="${ETCD:-/usr/local/bin/etcd-${START_VERSION}}"
|
local ETCD_CMD="${ETCD:-/usr/local/bin/etcd-${START_VERSION}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user