diff --git a/docs/quickstart.md b/docs/quickstart.md index e639c5cf..9e971bc5 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -228,3 +228,18 @@ You can allocate a game server by using the same command as the fake game server ## Modifying standingBy and max number of servers You can use `kubectl edit gsb ` to modify the max/standingBy numbers. Bear in mind that the count of active+standingBy will never be larger than the max. + +## Uninstalling thundernetes + +You should first remove all your GameServerBuilds. Since each GameServer has a finalizer, removing the controller before removing GameServer instances will make the GameServer instances get stuck if you try to delete them. + +```bash +kubectl delete gsb --all -A # this will delete all GameServerBuilds from all namespaces, which in turn will delete all GameServers +kubectl get gs -A # verify that there are no GameServers in all namespaces +kubectl delete ns thundernetes-system # delete the namespace with all thundernetes resources +# delete RBAC resources. You might need to add namespaces for the service account and the role binding +kubectl delete clusterrole thundernetes-proxy-role thundernetes-metrics-reader thundernetes-manager-role thundernetes-gameserver-editor-role +kubectl delete serviceaccount thundernetes-gameserver-editor +kubectl delete clusterrolebinding thundernetes-manager-rolebinding thundernetes-proxy-rolebinding +kubectl delete rolebinding thundernetes-gameserver-editor-rolebinding +``` \ No newline at end of file diff --git a/operator/config/manager/kustomization.yaml b/operator/config/manager/kustomization.yaml index 2570c2da..9818d6cd 100755 --- a/operator/config/manager/kustomization.yaml +++ b/operator/config/manager/kustomization.yaml @@ -10,5 +10,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization images: - name: controller - newName: ghcr.io/playfab/thundernetes-operator - newTag: 0.0.2.0 + newName: thundernetes-operator + newTag: 52d2641 +