-f file of kubox cluster create and the configYAML of a Cluster resource. Its shape is internal/model.Config, the type that parses it.
Every field, from internal/model.Config’s yaml tags and doc comments. A field this document does not list is ignored rather than reported, so check each name against this list — a misspelled key is silently dropped, not applied.
Config
Identity makes this cluster trust a console, so kubectl works with the same sign-in as everything else. Absent means it trusts nobody and the sealed admin kubeconfig remains the only way in.
All types
Every type in the document, in the order the root reaches them. Each is also linked from the field that uses it above.ConfigApps
AwsConfig
See IngressConfig.
InstanceMetadata is how the nodes’ IMDS answers pods. Unset leaves AWS’s defaults, under which any pod can read the node’s credentials.
See InstanceMetadataConfig.
See AwsNodeGroup.
See Route53Config.
See AwsSecret.
AzureConfig
See AzureNodeGroup.
ControllerConfig
ControllerConfig holds the configuration for a system controller.Name identifies this entry. It is also the controller to install unless Type says otherwise, so an entry naming a controller directly keeps working.
RoleBindings declare ClusterRoleBindings to apply alongside this controller. The subject is a Kubernetes Group (e.g., a Teleport team group).
See RoleBinding.
Type is the controller implementation to install. It defaults to Name, and lets a cluster run two instances of one controller under different names — an nvidia and a gVisor RuntimeClass, say.
DNSConfig
DNSConfig configures global DNS settings.ConfigGitOps
See WaitForCRD.
IdentityConfig
IdentityConfig makes a cluster trust a console, so a person can use kubectl with the same sign-in they use everywhere else.CABundle validates the discovery fetch, when the serving certificate is not one the node already trusts. Empty means the in-cluster mirror is served by a certificate from the cluster’s own CA.
DiscoveryURL is where THIS cluster fetches the issuer’s keys. Defaults to the in-cluster mirror, which is what almost every deployment should use.
GroupBindings grants a ClusterRole to everyone in a group, so access belongs to an organisation rather than a person and removing someone there removes it here.
See GroupBinding.
Metadata
Pulumi identifies where the cluster’s infrastructure state is stored: which organisation and project it is kept under, and its location.
See MetadataPulumi.
RbacRole
RbacRole is a declarative ClusterRole definition loaded from the cluster config.See RbacPolicyRule.
SecretsConfig
SecretsConfig declares secrets kubox itself materialises at create time, as opposed to aws.secrets which are fetched from AWS Secrets Manager.See GeneratedSecret.
ConfigTags
ConfigTalos
See Machine.
IngressConfig
IngressConfig configures internet ingress through the load balancer.AppAuth puts the console’s sign-in in front of every route this gateway serves.
See AppAuthConfig.
HostSubdomains are the names this gateway serves, each one label under the gateway hostname: [“app”, “urban”] is served at app.<gateway> and urban.<gateway>. ”@” is the gateway hostname itself, and needs a Routes entry because it has no name to default a backend from.
Routes overrides the backend for a host-subdomain. By default a subdomain routes to Service <subdomain>:80 in the gateway namespace (“kubox”).
See IngressRoute.
InstanceMetadataConfig
InstanceMetadataConfig is the IMDS boundary on a node.AwsNodeGroup
AwsNodeGroup extends NodeGroup with AWS-specific configuration.AwsIAMInstanceProfile is the IAM instance profile this group’s nodes launch with. Empty means the cloud connection’s node profile on a cluster built through one, and no profile on a laptop build; “none” means no profile either way.
Pool names this group of workers as a pool that grows and shrinks with demand. Count is how many workers it starts with. Set its smallest and largest size on the cluster’s node pools; changing those takes effect without a rebuild. Adding, removing or renaming a pool here rebuilds the cluster.
SpotInstance defaults to true, so a node group is spot unless it opts out with spotInstance: “false”.
SystemExtensions are Talos system extensions baked into this group’s boot image, e.g. “siderolabs/gvisor”.
See Taint.
Route53Config
Route53Config configures AWS Route53 DNS record creation.AwsSecret
AwsSecret pulls a secret from AWS Secrets Manager into the cluster.Maps each key in the created Secret to a key inside the AWS JSON secret. Empty copies the whole value.
AzureNodeGroup
AzureNodeGroup extends NodeGroup with Azure-specific configuration.Pool names this group of workers as a pool that grows and shrinks with demand. Count is how many workers it starts with. Set its smallest and largest size on the cluster’s node pools; changing those takes effect without a rebuild. Adding, removing or renaming a pool here rebuilds the cluster.
SystemExtensions are Talos system extensions baked into this group’s boot image, e.g. “siderolabs/gvisor”.
See Taint.
RoleBinding
RoleBinding is a declarative ClusterRoleBinding that grants a role to a group.WaitForCRD
GroupBinding
GroupBinding grants a ClusterRole to everyone in a group.MetadataPulumi
RbacPolicyRule
RbacPolicyRule mirrors the fields of a Kubernetes rbacv1.PolicyRule.GeneratedSecret
GeneratedSecret is a Secret whose values are created once, on firstkubox admin create, and then left alone: a value that already exists in the cluster is never regenerated, so re-running create (or rotating by hand) does not break anything that holds the old value. Copies are always re-synced from the primary so they cannot drift.
See SecretCopy.
Machine
See KubeletConfig.
AppAuthConfig
AppAuthConfig makes the gateway ask the console who somebody is before an app behind it sees the request.AuthoriseURL is the console endpoint the gateway asks about each request, e.g. https://app.kubox.cloud/api/gateway/authorize
IngressRoute
IngressRoute overrides where a host-subdomain’s HTTPRoute sends traffic. Every field is optional; an unset field keeps the default (Service named after the subdomain, gateway namespace, port 80, gateway default timeout).ModelGrant passes the console’s model grant to this route’s backend. Turn it on only for an app that spends its own users’ model access; any other app is safer never seeing one, since whoever holds a grant can open a model session as that user. Needs appAuth, which is what asks the console for the grant in the first place.