Skip to content

WIP: Updating k8s - #11

Open
bstoll wants to merge 19 commits into
mainfrom
update-k8s-v1.36
Open

WIP: Updating k8s#11
bstoll wants to merge 19 commits into
mainfrom
update-k8s-v1.36

Conversation

@bstoll

@bstoll bstoll commented Jun 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

@coveralls

coveralls commented Jun 30, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 33810315031

Coverage increased (+0.2%) to 43.703%

Details

  • Coverage increased (+0.2%) from the base build.
  • Patch coverage: 57 uncovered changes across 8 files (114 of 171 lines covered, 66.67%).
  • 4 coverage regressions across 3 files.

Uncovered Changes

File Changed Covered %
deploy/deploy.go 69 54 78.26%
topo/topo.go 31 19 61.29%
topo/node/nokia/nokia.go 9 0 0.0%
topo/node/openconfig/openconfig.go 18 11 61.11%
proto/controller/controller.pb.go 5 0 0.0%
topo/node/drivenets/drivenets.go 4 0 0.0%
topo/node/juniper/juniper.go 24 21 87.5%
proto/ciena/ciena.pb.go 2 0 0.0%
Total (12 files) 171 114 66.67%

Coverage Regressions

4 previously-covered lines in 3 files lost coverage.

File Lines Losing Coverage Coverage
deploy/deploy.go 2 62.63%
topo/node/openconfig/openconfig.go 1 84.68%
topo/topo.go 1 81.2%

Coverage Stats

Coverage Status
Relevant Lines: 13292
Covered Lines: 5809
Line Coverage: 43.7%
Coverage Strength: 0.5 hits per line

💛 - Coveralls

octpetre and others added 4 commits August 25, 2026 11:01
* - new ixia-c operator
- new ixiatg configmap
- removed all the rbac-proxy lines from ceos, srlinux and lemming controllers

* lemming controller restored

* style: format manifests with prettier to pass super-linter

---------

Co-authored-by: Brandon Stoll <bstoll@users.noreply.github.com>
This pulls the current meshnet image so it's static in the packer
image, similar to what is done for other images used by KNE. That
will keep meshnet stable for a given KNE machine image, rather
that tracking to the floating ga tag.
renovate-bot and others added 2 commits August 25, 2026 13:49
…validation

- Update default Kubernetes version to v1.36.1 and kind node image to kindest/node:v1.36.1
- Update kind CLI dependency to v0.32.0 in .mk/kind.mk, deployment configs, and packer specs
- Update packer configurations to use Kubernetes v1.36 apt repository
- Add KubernetesVersion field to KubeadmSpec and wire it through controller proto, server, and kubeadm init configuration generator
- Add cluster server version validation during deployment to ensure deployed API server matches configured version spec
- Update meshnet daemonset nodeSelector label to standard kubernetes.io/arch
- Add dynamic host package synchronization in kne_test.sh based on packer configuration
bstoll and others added 13 commits August 25, 2026 22:36
)

* Shift to using dynamic.Interface for meshnet and lemming

This is consistent with what we do for vendor images. (Cisco, Juniper,
Nokia, Arista.) It reduces the number of indirect dependencies we pick
up on K8s API libraries, which simplifies life within Google's monorepo.

Functionally, it changes nothing.

* Specify Kind in dynamic Lemming API
* replace more instances of clientset with dynamic client

Shift to using dynamic.Interface for meshnet and lemming. I seem to have
missed some instances of this in my prior PR.

This is consistent with what we do for vendor images. (Cisco, Juniper,
Nokia, Arista.) It reduces the number of indirect dependencies we pick
up on K8s API libraries, which simplifies life within Google's monorepo.

Functionally, it changes nothing.

* Lint fixes
This picks up key changes:
* Fix controller workqueue rate limits (faster lemming startup)
* Don't allocate nodeports for lemming k8s services (like other
  KNE-created services)
…d response validation for JunOS / cPTX nodes in KNE. (openconfig#763)

Refine KNE Juniper node error handling, cert idempotency, and response lookup

- Fix RE2 regex matching with isJunosError using multi-line and case-insensitive
  mode `(?im)(\berror:|\bcommit error\b|\bsyntax error\b)`. This prevents false
  positives on configuration keywords/descriptions while capturing all JunOS error
  phrasings.
- Handle 'already exists' output idempotently in waitCertInfraReadyAndPushCert so
  node reuses and pod restarts do not trigger 15-minute retry timeout loops.
- Dynamically locate the response matching the generate-self-signed command to
  avoid premature exit when the preceding key-pair generation returns successfully.
- Fix log variable mismatch in waitConfigInfraReadyAndPushConfigs (use
  configModeRetrySleep instead of certGenRetrySleep).
- Add unit tests in juniper_test.go covering isJunosError regex cases, idempotent
  restarts, and a dedicated testdata fixture for key-success/cert-failure scenarios.
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.

7 participants