Skip to content

Using an Existing Cluster

If you already have a Kubernetes cluster, you only need to create the secrets Cosine expects. Everything else can stay as‑is.

Terminal window
kubectl create secret docker-registry cosine-enterprise-registry \
--docker-server=registry.cosine.enterprises \
--docker-username='readOnlyUser' \
--docker-password='<your-password>' \
--docker-email='readOnlyUser@cosine.sh' \
-n <namespace>
Terminal window
kubectl create secret generic llm-auth \
--from-literal=token=<your-llm-api-token> \
-n <namespace>

Within Azure Portal you have to create an application registration for Cosine and grant it the necessary permissions to access Azure DevOps resources. Once you have the client ID, client secret, and tenant ID from the application registration, create a Kubernetes secret with those values:

Terminal window
kubectl create secret generic azure-devops-auth \
--from-literal=AZURE_DEVOPS_CLIENT_ID=<client-id> \
--from-literal=AZURE_DEVOPS_CLIENT_SECRET=<client-secret> \
--from-literal=AZURE_TENANT_ID=<tenant-id> \
-n <namespace>