Appearance
Appearance
Managing the life cycles of deployments is essential for keeping deployments healthy. There are three actions you can take: install, upgrade, and uninstall.
The install action is used when making a new Deployment into a target Environment in Metaplay Cloud. Please check the Deploy a Game Server section for more details.
When you want to patch an existing Deployment with modified Helm values, or want to migrate to use another release of the metaplay-gameserver Helm chart for certain features, you can simply invoke the same metaplay-auth CLI commands as if making a new Deployment:
metaplay-auth \
deploy-server \ # command for deploying a server
metaplay-idler-develop \ # specify the target Environment, must be in the format of {Organization}-{Project}-{Environment}
$IMAGE_TAG \ # the same image tag of the game server that lives within the existing Deployment
--values=Backend/Deployments/develop-server.yaml \ # updated Helm values file
--helm-chart-version=<metaplay-gameserver Helm chart version to use>
Uninstalling a Deployment requires calling the uninstall-server
command from the metaplay-auth CLI:
metaplay-auth \
uninstall-server \ # command for uninstalling a deployment
metaplay-idler-develop \ # specify the target Environment, must be in the format of {Organization}-{Project}-{Environment}