Adding a New Individual Kubernetes Source Control

This topic describes adding an individual source control in HPE Ezmeral Container Platform deployments that implement HPE Ezmeral ML Ops on Kubernetes.

Prerequisites

About this task

As described in Getting Started with AI and ML in Kubernetes, you must set up source control for a project before creating Kubernetes Notebook clusters in that project.

An individual (local) source control configuration must be based on an existing global source control configuration.

Procedure

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

    The Create Source Control screen is displayed.


    Create Source Control screen for an individual source control
  2. In Configuration Name, enter the name of the repository.
  3. In Description, enter a brief description of the repository.
  4. In Global Configuration, select the global configuration on which to base this individual source control. If there are no global configurations to select, or if the global configuration you want to use is not listed, contact the Kubernetes Project Administrator. Kubernetes Notebook clusters do not detect source control configurations that were added after the notebook cluster was deployed.
  5. In Branch, enter the name of the project repository branch.
  6. In Working Directory enter the directory that will be used as the working directory for the spawned Notebooks in this project. Enter the directory relative to the source control root directory.
  7. In Proxy Protocol, enter the protocol to use for the proxy host (e.g. http or https).
  8. In Proxy Host, enter the hostname or IP address of the proxy host.
  9. In Proxy Port, enter the port number to use on the proxy host.
  10. In Username, enter the shared repository username for this project.
  11. In Email, enter the shared repository email address for this project.

    This field is required for check-in.

  12. The next step depends on the authentication type that was selected for the global source control configuration:
    • Token authentication: If the global Authentication Type is set to Token, then every repository user can configure an API token to allow other users to access the source control. Copy this token from Github or Bitbucket and paste it into this field. In Github, you will find the token under Settings > Developer Settings > Personal Access Settings.
    • Password: If the global Authentication Type is Password, then enter the password to use with the specified Username in the Password field.
  13. Click Submit to finish adding the new individual source control repository.