TAK-OS integration

Documentation home · Administrator guide · Tenant guide

The neighbouring TAK-OS projects document a common workflow: build application images in a source repository, select those images in a Git deployment source, and let an OrbitDeployment reconcile that source. Some projects keep workload templates under their own default/ directory instead. Always identify the actual source URL and path used by the OD rather than assuming repository names or a common layout determine what is deployed.

These notes describe repository integration, not a claim that a particular image has been published or rolled out. A source commit, an image release, a deployment-source change and the installed cluster version are separate facts.

Application source and deployment source

Repository or artifact Purpose
tak-os-containers/orbit-deploy Python controller, admin UI, tests, Dockerfile, bootstrap manifests and this documentation.
tak-os-orbit-deployments/orbit-deploy Companion deployment templates for Orbit itself, including image mapping and self-referential OD.
Container image The controller build actually pulled by Kubernetes; identify it by reviewed release/digest.
Live kube-system/orbit-deploy OD Selects the deployment repository/ref/path that controls the running installation.
Live kube-system/orbit-deploy Deployment Actual replica count, rollout strategy, image and runtime settings.

Changing the Python source alone does not update an installed cluster. Changing the bootstrap YAML alone does not permanently override a Deployment managed by a different active Git source. Promote the corresponding deployment source after the intended image is available.

For a conventional component deployment:

  1. Build and publish the reviewed image through that component's release process.
  2. Update its deployment source's deployment.json image map and any changed manifests, CRDs or RBAC together.
  3. Run Orbit's offline lint from that deployment checkout, using the exact source URL, selected path and required tokens.
  4. Promote through the deployment repository's own staging/production process. Inspect the selected live OD ref; do not assume every project uses the same branch name.
  5. Verify selected commits in Orbit logs, rendered resources, actual image IDs and the component's own readiness and functional checks.

Templates using <!token!> or <!ifod ...!> must be rendered by Orbit. A .yaml.jinja2 source template is not a workload file Orbit will process; convert it through the component's documented preparation step. File ordering is not a substitute for establishing dependent APIs, storage or admission services.

Orbit self-management

The companion deployment repository is https://gitlab.com/tak-os-platform/tak-os-orbit-deployments/orbit-deploy.git. Its documentation registers the controller as an unrestricted OD:

apiVersion: k8s.tlspu.com/v1
kind: OrbitDeployment
metadata:
  name: orbit-deploy
  namespace: kube-system
spec:
  source: https://gitlab.com/tak-os-platform/tak-os-orbit-deployments/orbit-deploy.git

In the inspected companion layout, default/deployment.json selects the orbit-deploy image; 200-orbit-deploy-rbac.yaml supplies permissions, 400-orbit-deploy-exec.yaml supplies the runtime and exposure templates, and 999-orbit-deploy.yaml contains the self-reference. Registry PVC/agent templates with a .disabled suffix are not active .yaml workload files. The embedded registry setting is explicitly false.

Review these files in the deployment revision you will promote. The companion runtime inspected for this guide uses RollingUpdate with maxSurge: 0 and maxUnavailable: 1, whereas this repository's bootstrap manifest uses Recreate. They are not the same configuration. This controller's intended deployment is one replica with Recreate; account for that requirement in the actual deployment source rather than assuming bootstrap settings persist after self-management begins. No companion files are changed by this documentation.

The companion self-reference and controller resources carry no-delete flags. Those flags protect Orbit-issued target deletions; they do not prevent allowed spec changes, direct administrator deletes or Namespace removal. A Git self-reference can also restore source/path/ref/pause values changed manually.

Ingress and external authentication

The companion runtime defines a tak-os-class Ingress with a root-path route to the controller Service on 8080, using host orbit-deploy.<!domain!>. It declares TLS and a letsencrypt-prod ClusterIssuer annotation. Those templates assume your platform supplies working DNS, the ingress controller, cert-manager and the referenced issuer; Orbit does not install those dependencies just by rendering the Ingress.

Authentication annotations are conditional on an OD named oauth2-proxy. The condition checks OD name existence, not OAuth availability or a successful authentication policy. If the condition is absent, those auth annotations are not rendered. Confirm the live Ingress protects UI and API requests before exposing the admin listener. HTTPS alone does not add authorization.

For gateway-specific behavior, use the TAK-OS Ingress administrator guide and its annotation reference. These links open another project's source documentation; that project's release and installed configuration must be checked independently.

Storage and dependent platform components

Components such as Keel, ingress and CSI drivers need cluster-scoped resources or privileged workloads. Their complete installation sources belong in an unrestricted platform OD, or must be split so administrators provision shared infrastructure and tenants receive only allowed namespaced resources. A tenant's own Kubernetes permissions do not change Orbit's namespace filter.

An application PVC is a managed Kubernetes object, but its storage reclaim policy, data protection and recovery belong to the storage implementation. Orbit no-delete on a PVC and a StorageClass/PV Retain policy are different controls. Neither is an application-consistent backup. When removing an OD that contains a Namespace, consider Kubernetes cascade deletion as well as the storage driver's reclaim semantics.

Relevant component guides include:

Read the current support and compatibility scope in the selected component's guide before changing its image or removing its infrastructure. Orbit reporting a successful pass is not acceptance evidence for that component's data path.

Tool What it adds Interpretation boundary
Orbit Deploy Console Worker state, errors, tracked objects and lifecycle actions for this controller. No cluster selector, Pod log viewer or Kubernetes object editor.
Orbit Console General Kubernetes browsing using registered kubeconfigs, object inspection/edit/delete, Pod logs and shells. Its Why? view can connect workloads to ODs. Uses that console's registered credentials. Its inferred OD relationship does not replace Orbit's shared owner authority.
TAK-OS cluster map Visual resource relationships, including arrows from ODs to status-tracked objects. A graph from separate API calls and supported kinds, not an atomic inventory, reachability test or readiness guarantee.

Both related tools can use OD status.managedObjects to explain relationships. That map can lag a successful resource write after a status failure, and normal protected removal releases the parent's tracking. Missing an arrow or a "Why Exists?" link therefore does not prove an object is orphaned or safe to delete. For a destructive decision, inspect the current live resource, OD tracking, shared ownership and target's protection as described in the operator guide.