spring-cloud-skipper : 如何删除和重新部署包

spring-cloud-skipper : How to delete and re-deploy a package

我想重新部署一个包,但出现错误:

skipper:>package install --package-name sg-cloud-MbakTestworld --package-version 0.0.1 --release-name MbakTestworld --file E:\skipper\apps\MbakTestworld-upgrade-local.yml

结果:

Release with the name [] already exists and it is not deleted. Details of the error have been omitted. You can use the stacktrace command to print the full stacktrace.

我的 yml 文件:

spec:
  applicationProperties:
    server.port: 8029
    spring.profiles.active: mbakCloud
  deploymentProperties:
    spring.cloud.deployer.memory: 512m

我找到了答案:

skipper:>release delete --release-name MbakTestworld

MbakTestworld 已删除。

来源:https://docs.spring.io/spring-cloud-skipper/docs/current/reference/htmlsingle/