mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-03 02:52:08 +08:00
20 lines
656 B
Makefile
20 lines
656 B
Makefile
default: test
|
|
|
|
include ../../../helpers/examples.mk
|
|
|
|
CHART := elasticsearch
|
|
RELEASE := helm-es-upgrade
|
|
FROM := 7.17.1 # upgrade from versions before 7.17.1 isn't compatible with 8.x
|
|
|
|
install:
|
|
../../../helpers/upgrade.sh --chart $(CHART) --release $(RELEASE) --from $(FROM)
|
|
# Rolling upgrade doesn't work when upgrading from clusters with security disabled.
|
|
# This is because nodes with security enabled can't join a cluster with security disabled.
|
|
# Every nodes need to be recreated at the same time so they can recreate a cluster with security enabled
|
|
kubectl delete pod --selector=app=upgrade-master
|
|
|
|
test: install goss
|
|
|
|
purge:
|
|
helm del $(RELEASE)
|