mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-11 10:22:13 +08:00
初始化3.0.0版本
This commit is contained in:
19
km-dist/helm/charts/elasticsearch/examples/upgrade/Makefile
Normal file
19
km-dist/helm/charts/elasticsearch/examples/upgrade/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user