TLS Secret

This guide explains how to create a TLS secret for secure communication between the API and the Controller. The secret must be configured in the same namespace as HPE Machine Learning Inferencing Software will be installed and provided to the chart via the tlsSecret attribute.

Before You Start

  • Ensure you have completed Developer System Setup.
  • You have a valid certificate and private key for the API.
  • You have the kubectl command-line tool installed and configured to use your Kubernetes cluster.

How to Create a TLS Secret

  1. You can create the TLS secret with the following command:
    kubectl create secret tls tlsconfig --cert=path/to/cert/file --key=path/to/key/file
  2. Verify that the secret was created:
    kubectl get secret tlsconfig
  3. You can now use the tlsconfig secret to enable TLS for the API.
    helm install mlis <SKU>_aioli-helm-chart<release/majorMinorPatchNumber>}}.tgz --set tlsSecret=tlsconfig