Repository navigation
Open
Description
kubectl ate install makes no assumptions about the cluster. On AKS that leaves a lot to set by hand through Helm values, and some problems only show up after install: AKS ignores NetworkPolicy unless a policy engine runs, and microVM workers need nodes with nested virtualization.
Proposal: add cluster profiles to the installer. profile: generic (the default) keeps today's behavior. profile: aks adds an aks: config section, preflight checks, and wizard questions. --profile sets the profile from the command line.
| Item | What it does | Chart change? | Why |
|---|---|---|---|
| Profiles | profile: generic|aks, --profile, and an aks: config section. The wizard asks for the profile. |
No | Keeps cloud-specific defaults and checks out of generic installs. |
| ACR | aks.acr sets global.imageRegistry for every release and renames the bundled PostgreSQL image. |
No | Clusters that pull only from a private ACR. |
| NetworkPolicy check | Fails install on AKS unless a cilium, azure-npm or calico-node DaemonSet runs. | No | AKS without --network-policy accepts NetworkPolicy objects and ignores them, so the ate-system and WorkerPool policies have no effect. |
| StorageClass | Top-level storageClass for the bundled PostgreSQL and RustFS volumes. The AKS wizard suggests managed-csi-premium. |
Yes: rustfs.storageClassName |
The default StorageClass isn't always the right one. |
| Node pool and KVM check | aks.nodePool sets atelet's nodeSelector to kubernetes.azure.com/agentpool. Install checks that the pool has nodes and, with microVM enabled, that a node advertises ate.dev/kvm. |
No | Dedicated agent node pools. MicroVM workers need a VM size with nested virtualization. |
| ACR credential provider | Opt-in aks.acrCredentialProvider points atelet at the node's acr-credential-provider and the kubelet's own provider config, and mounts /etc/kubernetes/azure.json read-only. The wizard explains the risk. |
Yes: atelet.imageCredentialProviderHostFiles for read-only host file mounts |
Lets actors pull images from ACR. Off by default, since it gives atelet the node's registry credentials. |
| Monitoring | otelEndpoint points atelet and the control plane at an OTLP collector you already run; the wizard asks for it. aks.managedPrometheus renders azmonitoring.coreos.com/v1 PodMonitors, after a preflight check for the API. |
Yes: a podMonitors value and PodMonitor templates in substrate and substrate-atelet |
Metrics in Azure Monitor managed Prometheus (the default during a creation of an AKS cluster, so a lot of people use it). |
Metadata
Metadata
Assignees
Labels
No labels
Activity
AdminTurnedDevOps commentedon Nov 8, 2026
Workload identity update: the installer also sets the pod annotation
azure.workload.identity/skip-containers, toateleton atelet pods andate-api-serveron ate-api-server pods. The charts getatelet.podAnnotationsandateApi.podAnnotationsvalues for it.By default the Azure workload identity webhook mounts the token and sets the
AZURE_*variables in every container of a labeled pod, including init containers (mutateContainersinpkg/webhook/webhook.go). Only theobjectstore-pluginsidecar talks to Azure. Skipping the main container keeps Azure credentials out of atelet and ate-api-server.Azure Workload ID is separate from Substrate's own identity. Pod certificates and actor JWTs don't change, Substrate never accepts the Azure token, and actor pods don't get the label.
Like S3, the identity can access the whole Blob container, and credential exchange returns UNIMPLEMENTED. Per-actor scoping, such as user delegation SAS, would be a follow-up.
AdminTurnedDevOps commentedon Nov 8, 2026
I was originally going to implement the below (per the explanation and screenshot), but I took it out for the time being to figure out a better way to do it (essentially needed to bake the entire Azure SDK for it, and I didn't agree with that approach).
AdminTurnedDevOps commentedon Nov 8, 2026
Found a bug for the Workload Identity implementation.
Azure's webhook injects the identity only when a Pod is created. Changing the annotation on the
ServiceAccount(charts/substrate/templates/ate-api-server.yaml:4) does nothing to Pods that are already running, and Helm only restarts Pods when the Pod template changes.For the PR that's going to go with this issue, workload identity isn't needed because I deferred the Azure Blob work per the comment above. The reason workooad identity is needed for the Azure Blob Storage implementation is for keyless access. The Azure Blob snapshot backend would have logged in with the Pods workload identity, so nobody stores an account key in a Secret.
AdminTurnedDevOps commentedon Nov 8, 2026
When you use
--profilefor example,--profile aks, and then lets say you turn off one of the configurations you specified during the install (e.g., - you specified ACR, but now you no longer use ACR, so you want to turn ACR off) it would turn off the config for you, but what was created when the config was generated with--profile aksdoesn't get deleted. For example, if you turned on ACR and then turned it off, the ACR connection would no longer exist, but the credentials that were stored/used would.Because of that, it made sense to ensure atelet's credential provider settings get set back to the chart defaults if a config is removed. That removes the provider and the
azure.jsonmount on the next install or upgrade.Sidenote: Any of these you set yourself under
releases:still wins, so a deliberate setup isn't wiped.AdminTurnedDevOps commentedon Nov 8, 2026
Specific change needs for
postgres.goand the "why" behind them.AdminTurnedDevOps commentedon Nov 8, 2026
@EItanya
Found a bug in the installer in v1.0.1 (not part of the
profilefeature per this issue). Its about a 5 line fix. Putting it here as it impacts this feature.