code: def restart_master(self) -> None:
      self._scale_master(up=True)
  
file_path: determined/e2e_tests/tests/cluster/managed_cluster_k8s.py
imports: import time
  from typing import Iterator
  import pytest
  from kubernetes import client, config, watch
  from tests import config
  from .abstract_cluster import Cluster
  from .managed_cluster import get_agent_data
  from .test_groups import det_cmd
  from .utils import run_command, wait_for_command_state
label_desc: Use image node_id 3 for calling the ManagedK8sCluster obj's underlying member method code with example usage: obj.restart_master() without return types