1. Prerequisites
Install and setup kubectl
The Kubernetes command-line tool,
kubectl, allows you to run commands against Kubernetes clusters.Find installation instructions for your OS here.Setup your Kubernetes cluster
There are many flavours of Kubernetes available that you can choose from. Setup the one that best suits your needs. Here are few popular Kubernetes services and distributions.
- Azure Kubernetes Services (AKS)
- Amazon Web Services (EKS)
- Google Cloud Platfrom (GKE)
- Minikube
- MicroK8s
For recommendations on machine type, see our System Requirements Section.
Setup a container registry
Setup a container registry by creating a secret for Limina’s private registry. Only after this step, you’ll be able to pull Limina’s private docker images.See this blog article for more details on pulling images from a private registry.
Kubernetes Command
If you don’t have credentials for the Limina Container Registry, log into the Limina Customer Portal to generate and retrieve them to use
2. Deploying the Container
The container can be deployed via the steps in 2.1 or via a Helm chart described in 2.2.2.1 Deploy the container
Setting up your license file
Log into the Limina Customer portal and download your license file.Once you’ve downloaded the file (license.json), open the file in a text editor and paste the contents of the file in a license manifest Now run the following command to load the ConfigMap with your license into your Kubernetes cluster:
pai-license.yamlIt should look something like this:License Manifest
Kubernetes Command
2.2 Deploy the container via Helm
Limina supports installation to a Kubernetes cluster via Helm. Before you begin, ensure that you have helm installed. Our public Helm chart is hosted here. Simply pull the chart, replace the placeholder license with your license file (from your customer portal) and runHelm Command
<namespace> with the space of your choice in your cluster.
The helm chart for the Limina container can also be used to deploy on OpenShift container platform clusters.
3. Post Deployment
3.1 Checking the status of containers
Once deployed successfully, you’ll be able to check the status of pods with this command:Kubernetes Command
Output
Kubernetes Command
Output
deploy-private-ai.yaml also creates a LoadBalancer service which exposes an IP address to access your application. To check the external IP, run this:
Kubernetes Command
Output
3.2 Making requests
Your can useexternal-ip (from the command above) of LoadBalancer service to make requests to deidentify text.
Response