Skip to content

test(tmachine): add a K3s HA conformance lane with PostgreSQL and mTLS #4443

Closed

Description

@matthewgrossman

User Story

I maintain OpenShell's tmachine conformance lanes. I need a tmachine environment that runs a multi-replica Kubernetes gateway, so that the shared conformance suite tests the supported HA configuration on every branch and release run, instead of only through an opt-in kind job.

Description

Add a tmachine k3s-ha installer for the ubuntu-k3s environment. It runs the supported HA configuration: three gateway replicas on shared PostgreSQL, with chart-generated TLS and a CLI that connects over mTLS. Run the existing conformance suite on it in the core conformance matrix.

Today, tmachine's only Kubernetes installer (k3s) deploys a single plaintext gateway. HA is covered only by the script-based kind harness (e2e:kubernetes:ha-rebalancing). That job runs in plaintext, only when a PR has the test:e2e-kubernetes label, and not in Release Dev or Release Tag.

Context

Definition of Done

  • nix run .#tmachine -- test ubuntu-k3s k3s-ha conformance provisions three gateway replicas on PostgreSQL with TLS, and the guest CLI connects over mTLS.
  • The baseline k3s lane is unchanged.
  • k3s-ha runs in the core conformance matrix for Branch E2E, Release Dev, Release Tag, and the Integration Tests defaults.
  • K3s failure diagnostics include logs from every gateway Pod.
  • CI.md describes the k3s and k3s-ha lanes.

Activity

  1. added
    state:pr-opened
    area:build
    topic:testing
    on Oct 12, 2026
  2. moved this from Planning to In progress in OpenShell Roadmapon Oct 12, 2026
  3. moved this from In progress to Done in OpenShell Roadmapon Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:buildstate:pr-openedtopic:testing

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions