Configuration

JSON configuration file specification for the unbounded-agent.

The agent reads a JSON config file whose path is set through the UNBOUNDED_AGENT_CONFIG_FILE environment variable. This config can be generated from the cluster using the kubectl unbounded machine manual-bootstrap command, or authored by hand.

Example

{
  "MachineName": "mysite-worker-01",
  "Cluster": {
    "CaCertBase64": "<base64-encoded CA certificate>",
    "ClusterDNS": "10.0.0.10",
    "Version": "1.33.1"
  },
  "Kubelet": {
    "ApiServer": "https://api.example.com:6443",
    "BootstrapToken": "abc123.0123456789abcdef",
    "Labels": {
      "unbounded-cloud.io/site": "mysite"
    },
    "RegisterWithTaints": []
  }
}

Fields

FieldDescription
MachineNameName of the nspawn machine and the Kubernetes node.
Cluster.CaCertBase64Base64-encoded cluster CA certificate.
Cluster.ClusterDNSClusterIP of the kube-dns Service.
Cluster.VersionKubernetes version to install (e.g. 1.33.1).
Kubelet.ApiServerAddress of the Kubernetes API server.
Kubelet.BootstrapTokenToken used for TLS bootstrapping (omit when using TPM attestation).
Kubelet.LabelsKey-value labels applied to the Node on registration.
Kubelet.RegisterWithTaintsTaints applied to the Node on registration (key=value:effect).
OCIImage(optional) OCI image reference for the rootfs. Falls back to debootstrap when empty.
Attest.URL(optional) Base URL of a metalman serve-pxe instance for TPM attestation.