Skip to content

Commit

Permalink
Remove game creator step
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Sep 20, 2023
1 parent 3c570db commit 848253c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions clusters_setup/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@ def restart_pods(ingress_yaml, fleet_yaml):
:param ingress_yaml: The dict to create the ingress
:param fleet_yaml: The dict to create the fleet
"""
for rs in apps_api_instance.list_namespaced_replica_set("default").items:
if rs.metadata.name == "aimmo-game-creator":
apps_api_instance.delete_namespaced_replica_set(
body=kubernetes.client.V1DeleteOptions(),
name=rs.metadata.name,
namespace="default",
)
for service in api_instance.list_namespaced_service("default").items:
if service.metadata.name.startswith("game-"):
api_instance.delete_namespaced_service(
Expand Down

0 comments on commit 848253c

Please sign in to comment.