This is the infra repository deploying to a kubernetes cluster.
Note: Changes to this repo's MAIN branch are deployed to kubernetes.
Secrets are managed with SOPS. Sops allows encryption of yaml (and other) files with a public key. A private key that is set in the CI/CD can decrypt the secrets.
sops --encrypt -i apps/amt/overlays/production/secret-postgres.yaml
sops --decrypt -i apps/amt/overlays/production/secret-postgres.yaml
By default sops looks in the .sops.yaml to get the public key to encrypt the files.
The main
branch is deployed to kubernetes with Flux
When you have a lot of resources it is important to label all your kubernetes resources because else the resources becomes un-managable. We use the kubernetes best practices for labbeling.
Every kubernetes has a slightly different setup and services available. We are currenlty working on the digilab cloud. They have the following capabilities added:
To get access you need a pleio account with the correct permissions and pinniped installed.
to install pinniped follow pinniped install tutorial. To get correct access from your pleio account ask a collegue.
The AI Validation team has access to the following namespaces:
The following storage classes are available for persistent storage
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
azurefile file.csi.azure.com Delete Immediate true 364d
azurefile-csi file.csi.azure.com Delete Immediate true 364d
azurefile-csi-nfs file.csi.azure.com Delete Immediate true 364d
azurefile-csi-nfs-retain file.csi.azure.com Retain Immediate true 350d
azurefile-csi-premium file.csi.azure.com Delete Immediate true 364d
azurefile-premium file.csi.azure.com Delete Immediate true 364d
default (default) disk.csi.azure.com Delete WaitForFirstConsumer true 364d
managed disk.csi.azure.com Delete WaitForFirstConsumer true 364d
managed-csi disk.csi.azure.com Delete WaitForFirstConsumer true 364d
managed-csi-premium disk.csi.azure.com Delete WaitForFirstConsumer true 364d
managed-premium disk.csi.azure.com Delete WaitForFirstConsumer true 364d