After you relocate the Supervisor Services to a private container image registry, you can install and use them.

To use the Supervisor Service, first add the private registry and then register and install the Supervisor Service.

Prerequisites

Verify that you have the following privileges:
  • The SupervisorServices.Manage to register the YAML with vCenter Server.
  • The SupervisorServices.Install on the Supervisor to be able to install, upgrade, or unistall intances of the service.

Procedure

  1. Add the private registry.
    1. From the vSphere Client home menu, select Workload Management.
    2. Click the Supervisors tab and select a Supervisor from the list.
    3. Click the Configure tab and click Container Registries and then Add.
    4. Enter a name for your private registry.
    5. Enter the registry URL in Registry Host URL.
    6. Optionally enter the CA, user name, and password.
  2. Add the Supervisor Service to vCenter Server.
    1. From the vSphere Client home menu, select Workload Management.
    2. Select Services.
    3. Select a vCenter Server system from the drop-down menu at the top.
    4. Drag and drop the service YAML file in the Add New Service card.
  3. Install the Supervisor Service
    1. From the vSphere Client home menu, select Workload Management.
    2. Select Services.
    3. In the card of the Supervisor Service that you want to install, select Actions > Install on Supervisors.
    4. Select the Supervisor where you want to install the service.
    5. In the YAML Service Config field, enter configuration properties if the service requires any.
      Enter the registryName, registryUsername, and registryPasswd properties if the Supervisor Service is in the SupervisorServiceDefinition format and the registry requires authentication.
      Note: This is not required for services packaged using Carvel.