Adding a New Global Kubernetes Source Control Configuration

This topic describes adding a global source control configuration for use by individual source controls in HPE Ezmeral Container Platform deployments that implement HPE Ezmeral ML Ops on Kubernetes.

Prerequisites

Required access rights: Kubernetes Project Administrator

About this task

As described in Getting Started with AI and MI in Kubernetes, you must set up source control for a project before creating Kubernetes Notebook clusters in that project. Kubernetes Notebook clusters do not detect source control configurations that are added after the notebook cluster is deployed.

At least one global configuration must be added before Project Member users can create individual source control repositories (see Adding a New Individual Kubernetes Source Control).

Procedure

  1. On the Kubernetes Source Controls screen, click Create.

    The Create Source Control screen is displayed.


    Create Source Control screen for a global source control
  2. In Configuration Name, enter the name of the repository.
  3. In Description, enter a brief description of the repository.
  4. In Source Control Repo Type, select the repository type (either Github or Bitbucket).
  5. In Repository URL, enter the repository URL.
  6. In Authentication Type, select the type of authentication to use for the repository (either Token or Password).
    Important:

    When creating a global source control, do not enter user-specific information such as the user name, email, or user token or password. If you enter this information, this source control is interpreted to be a local (individual) source control instead of a global source control configuration. Changing the local source control to a global source control requires deleting the KubeDirector cluster, deleting the source control configuration, and then creating them again.

  7. Click Submit to finish adding the new global source control configuration.
  8. Verify that the configuration you created is a global source control configuration:
    1. On the Kubernetes Source Controls screen, find the source control that you created.
    2. Verify that Source Control Configuration (Source Control Type in HPE Ezmeral Container Platform 5.3.1) is global.
      For example:
      Example of a global source control configuration

      If Source Control Configuration (Source Control Type) is local, it is not available to use when creating individual (local) source controls.