linera-service: remove linera net up --kubernetes#6325
Merged
Conversation
ma2bd
approved these changes
May 22, 2026
ndr-ds
force-pushed
the
ndr-ds/remove-kubernetes-net-up
branch
from
May 26, 2026 18:34
3d5a0bb to
4783f4f
Compare
ndr-ds
marked this pull request as ready for review
May 26, 2026 18:34
ndr-ds
enabled auto-merge
May 26, 2026 18:41
ndr-ds
added a commit
that referenced
this pull request
Jun 26, 2026
…#6564) ## 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_case`s 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 - main PR: #6325 - closes #5911 (the flaky `remote-kubernetes-net-test` reliability issue — resolved by removing the feature) - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
linera net up --kuberneteslaunched 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.Proposal
Remove the
kubernetesfeature and all code exclusively used by that path:linera-service/src/cli_wrappers/{local_kubernetes_net,docker,helmfile,kind,kubectl,util}.rskubernetes: trueCLI match arm and relatedNetCommand::Upfields fromcommand.rshandle_net_up_kubernetesfromnet_up_utils.rskubernetesfeature and its optional deps (k8s-openapi,kube,pathdiff,fs_extra) fromlinera-service/Cargo.tomland workspaceCargo.toml.github/workflows/remote-kubernetes-net-test.ymlchanged-files-kubernetesjob andcargo clippy --features kubernetesfrom.github/workflows/rust.ymlkubernetes/linera-validator/(the Helm chart + Helmfile config that backed this feature)Net: ~-77k lines.
cargo check -p linera-serviceandcargo clippy -p linera-serviceboth exit 0.Test Plan
CI.
Release Plan