Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: optionally, Delete an AS Identifier could clean up resources of an AS Instance, e.g., Persistent Volumes (PVs)


Register K8S Clusters (checking if AAI can be used)

To instantiate an AS on an non-ONAP K8S cluster, a cluster configuration file that is specific to the cluster must be uploaded.

...

  • to verify the connectdion to the target cluster, run the following command from the ONAP K8S cluster
    • kubectl --kubeconfig ${PATH_TO_TARGET_CLUSTER_CONFIGURATION_FILE} get namespaces


Deregister K8S

...

Clusters (checking if AAI can be used)

To remove a cluster configruation file, create a DELETE request. .../aslcm/v1/clusterconfig/{configName}

...

The command returns the HTTP status code 204 No Content


List Registered K8S

...

Clusters (checking if AAI can be used)

To get details about registered clusters, create a GET request .../aslcm/v1/clusterconfigs

The API returns a paginated response, but if a customized response is needed, additional parameters for page, size, sor and filtering could be applied.




Helm Command Support

The Helm library uses the Kubernetes client library to communicate with Kubernetes. Currently, the library uses REST+JSON. It stores information in Secrets located inside of Kubernetes; i.e., it does not need its own database.

  • Helm Install
  • Helm Uninstall
  • Helm Upgrade

...