This commit is contained in:
parent
ef4d4cc740
commit
cf77ff0f89
@ -43,7 +43,7 @@ class JobView(FlaskView):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _controller_to_pod_name(controller: Controller) -> str:
|
def _controller_to_pod_name(controller: Controller) -> str:
|
||||||
return f"ursim-controller-{controller.id}"
|
return f"ursim-controller-{controller.id}a" # Needs to be a valid DNS-1123 name
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _create_k8s_pod_api_object(controller: Controller, controller_desc: dict) -> dict:
|
def _create_k8s_pod_api_object(controller: Controller, controller_desc: dict) -> dict:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user