Thanks to visit codestin.com
Credit goes to github.com

Skip to content

linera-service: remove linera net up --kubernetes (backport of #6325)#6564

Merged
ndr-ds merged 1 commit into
testnet_conwayfrom
ndr-ds/backport-remove-kubernetes-net-up
Jun 26, 2026
Merged

linera-service: remove linera net up --kubernetes (backport of #6325)#6564
ndr-ds merged 1 commit into
testnet_conwayfrom
ndr-ds/backport-remove-kubernetes-net-up

Conversation

@ndr-ds

@ndr-ds ndr-ds commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Motivation

linera net up --kubernetes and the in-tree kubernetes/linera-validator Helm chart are obsolete: validator deployment is now driven by the ArgoCD setup in linera-infra. The feature also carried a flaky, disabled CI job (remote-kubernetes-net-test) and a stack of cli_wrappers (helmfile/kind/kubectl/docker/local_kubernetes_net) that nothing else uses.

This backports #6325 (already merged to main) to testnet_conway so the two branches do not diverge.

Proposal

Remove linera net up --kubernetes and everything specific to it:

  • the kubernetes/linera-validator Helm chart directory;
  • the kubernetes cargo feature and its k8s-openapi / kube / pathdiff / fs_extra deps;
  • cli_wrappers/{helmfile,kind,kubectl,docker,local_kubernetes_net,util}.rs;
  • handle_net_up_kubernetes and the --kubernetes CLI branch;
  • the remote-kubernetes-net-test workflow and the kubernetes-gated test_cases in linera_net_tests.rs.

Native (net up) and remote-net paths are untouched.

Test Plan

CI. Locally on the testnet_conway toolchain: cargo check -p linera-service --all-features --tests and cargo clippy -p linera-service --all-features --tests both pass, cargo fmt --check clean.

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

Links

`linera net up --kubernetes` launched a local KinD cluster via Helmfile
to test infra config changes. Since infra now lives in ArgoCD with
automated sync on merge, any change to linera-infra deploys immediately
to the real clusters — testing via a local KinD cluster no longer serves
a purpose.

Remove the `kubernetes` feature and all code exclusively used by that
path:

- Delete
`linera-service/src/cli_wrappers/{local_kubernetes_net,docker,helmfile,kind,kubectl,util}.rs`
- Remove the `kubernetes: true` CLI match arm and related
`NetCommand::Up` fields from `command.rs`
- Remove `handle_net_up_kubernetes` from `net_up_utils.rs`
- Remove the `kubernetes` feature and its optional deps (`k8s-openapi`,
`kube`, `pathdiff`, `fs_extra`) from `linera-service/Cargo.toml` and
workspace `Cargo.toml`
- Delete `.github/workflows/remote-kubernetes-net-test.yml`
- Remove `changed-files-kubernetes` job and `cargo clippy --features
kubernetes` from `.github/workflows/rust.yml`
- Delete `kubernetes/linera-validator/` (the Helm chart + Helmfile
config that backed this feature)

Net: ~-77k lines. `cargo check -p linera-service` and `cargo clippy -p
linera-service` both exit 0.

CI.

- Nothing to do / These changes follow the usual release cycle.
@ndr-ds ndr-ds marked this pull request as ready for review June 26, 2026 17:31
@ndr-ds ndr-ds merged commit 934547d into testnet_conway Jun 26, 2026
79 of 81 checks passed
@ndr-ds ndr-ds deleted the ndr-ds/backport-remove-kubernetes-net-up branch June 26, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant