Default names and how to change them
Know the name that Platforma expects for each object of the cluster, and which input changes it.
Platforma finds each object of the cluster by its name, and almost each name has a default with
the prefix platforma-. When the cluster uses the default names, the installation needs few
values. When a name does not fit the rules of the company, one input changes it.
Two names are different:
- The ServiceAccounts of the BackendBackend — The server program of Platforma. It keeps the projects, runs the Blocks and starts jobs. Glossary and of the jobsjob — One run of a tool on data. The Backend starts jobs on the server where it runs, or in a Kubernetes cluster. Glossary do not have a default. The identity of each one (for example a cloud identitycloud identity — The identity that the cloud gives to the Platforma pod (IAM roles for service accounts on AWS, Workload Identity on Google Cloud). With it, Platforma needs no access keys. Glossary) is bound to its name, so Platforma takes these names as inputs, and a plan without them stops.
- The namespace has the default
platformainplatforma-tf-services. The moduleplatforma-tf-services-clusterdoes not have a default: its list of namespaces is required.
Objects that Platforma expects
The column “Input” gives the input of the Terraform modulesTerraform modules — The Terraform code that MiLaboratories provides to install Platforma. The cloud-specific Terraform modules make the cluster and its cloud parts in AWS or Google Cloud; the cloud-agnostic Terraform modules install Platforma into the cluster. Glossary. Each input of infrastructure and
backend_service has a chart value with the same path in camelCase: for example,
volumes.database.storage_class is volumes.database.storageClass.
| Object | Default | Input |
|---|---|---|
| Namespace of the instance | platforma in platforma-tf-services; none in platforma-tf-services-cluster: required |
namespace and infrastructure.namespaces of platforma-tf-services; cluster_config.namespaces of platforma-tf-services-cluster |
| ClusterQueues | platforma-ui, platforma-batch |
components.kueue.cluster_queues |
| WorkloadPriorityClasses | platforma-ui, platforma-low, platforma-normal, platforma-high |
components.kueue.priority_classes |
| StorageClasses | platforma-database, platforma-logs, platforma-workspace, platforma-scratch |
cluster_config.cloud_values.volumes.<volume>.storage_class |
| Existing volume (static PersistentVolume) | none: the StorageClass makes a new volume | cluster_config.cloud_values.volumes.<volume>.volume_name |
| Gateway | platforma-gateway in the namespace platforma-gateway, listener platforma |
network.entry_points[].gateway.name, .namespace, .section_name |
| IngressClass | none: required for an Ingress | network.entry_points[].ingress.class_name |
| Node pool of the Backend | label platforma.bio/pool=backend |
cluster_config.node_pools.backend |
| Node pools of the jobs | none: required | cluster_config.node_pools.ui, .batch, .gpu |
| ServiceAccount of the Backend | none: required | cluster_config.cloud_values.backend.service_account.name |
| ServiceAccount of the jobs | none: required | cluster_config.cloud_values.jobs.service_account.name |
| ConfigMap of the CA bundleCA bundle — One PEM file with the certificate authorities that a program trusts. In Kubernetes, Platforma can give the Backend and all jobs one bundle with the public and the corporate certificate authorities. Glossary | none: the system bundle | cluster_config.cloud_values.ca_bundle.config_map |
The same keys are in the input infrastructure of platforma-tf-services. A company that writes
infrastructure by hand sets them there. For
how each object is used, see the sibling pages of the contract:
Storage,
Entry point and TLS,
Nodes, job queues and GPU and
Identity, Secrets and outbound access.
Secrets
Platforma expects these Secrets in the namespace of the instance before the installation (see Secrets):
| Secret | Default name | Key | Necessary | Input |
|---|---|---|---|---|
| License key | platforma-license |
MI_LICENSE |
Always | backend_service.secrets.license |
| Master secret | platforma-master-secret |
master-secret |
Always, except with a single-user token | backend_service.secrets.master_secret |
| Single-user token | platforma-single-user-token |
token |
One-user mode only | backend_service.auth.single_user.token |
| Static list of usersstatic list of users — A sign-in provider that is a file with the logins and the password hashes of the users, in the htpasswd format. The Backend reads it again when it changes. Glossary (htpasswd) | none: required | htpasswd |
Sign-insign in — To show the Backend who you are, with a sign-in provider or a single-user token. The verb is "sign in"; the noun and the adjective are "sign-in". Glossary with a static list of users | backend_service.auth.providers[].htpasswd.secret |
| SSOsingle sign-on — Sign-in through the identity service of the company, with the same account as for other company systems. Glossary client secret | none: required | client-secret |
SSO with a client that has a secret | backend_service.auth.providers[].sso.client_secret |
| LDAPLDAP — The directory of users of a company. The Backend can check logins and passwords in it. Glossary bind password | none: required | bind-password |
LDAP in search mode | backend_service.auth.providers[].ldap.bind_password |
| Storage keys | none: the cloud identity | access-key, secret-key |
Storage without a cloud identity | cluster_config.cloud_values.primary_storage.s3.secret |
| Image pull Secrets | none | — | Image mirrors that the nodes cannot reach with a cloud identity | backend_service.backend.image.pull_secrets, backend_service.jobs.image.pull_secrets |
| TLS of the Backend | platforma-backend-tls |
— | TLS on the Backend | backend_service.network.tls.secret.name |
| Secret for the jobs | the Secret of the license | — | When a BlockBlock — A small application for one step of an analysis, for example the import of reads or clustering. It can combine several tools. Glossary asks for a value of it | backend_service.jobs.secrets.name |
Names that do not change
Some names are fixed in the release of a module, and an input cannot change them:
- The Helm release of the Backend is
platforma. One namespace holds one instance, so the name does not conflict. The objects of the chart get their names from it: the Serviceplatforma, the volume claimsplatforma-database,platforma-logsandplatforma-workspace, and the LocalQueuesplatforma-ui-tasksandplatforma-batch-tasks. - The ClusterRole
platforma-namespace-admin, which adds the rights on KueueKueue — A Kubernetes add-on that holds jobs in a queue until the cluster has free CPU, memory and GPU for them. Glossary and AppWrapperAppWrapper — A Kubernetes add-on that wraps the pods of one job into a single unit, so that Kueue admits and starts them together. Glossary objects to the roleadmin. - The namespaces of the components:
kueue-systemandappwrapper-system. - The node label
platforma.bio/node-group, which names the node group of a node in a cluster without an autoscaler.
For how to set each value, see Terraform modules and Chart values.