Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding uninstall information #55

Merged
merged 3 commits into from
Nov 11, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <name-of-your-gameserverbuild>` 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
```
2 changes: 1 addition & 1 deletion operator/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ kind: Kustomization
images:
- name: controller
newName: thundernetes-operator
newTag: 58f6722
newTag: 52d2641