Skip to content

Conversation

@skudasov
Copy link
Contributor

@skudasov skudasov commented Feb 10, 2026

This pull request introduces Kubernetes (k8s) deployment support for several core framework components (blockchain/anvil, clnode, and postgres), enabling them to run as k8s pods in addition to local Docker containers. It also updates dependencies across multiple Go modules and refactors configuration and secrets handling for clarity and reusability.

Kubernetes Deployment Support:

  • Added k8s deployment logic to framework/components/blockchain/anvil.go so Anvil nodes can be launched as k8s pods, including resource requests, security context, and service URLs. [1] [2] [3]
  • Updated framework/components/clnode/clnode.go to deploy Chainlink nodes as k8s pods when enabled, with detailed config/secrets mounting and security settings. [1] [2] [3]
  • Added k8s deployment support to framework/components/postgres/postgres.go, allowing PostgreSQL to run as a k8s pod with persistent volume claims, config maps, and security context. [1] [2] [3] [4]

Configuration and Secrets Refactoring:

  • Refactored configuration and secrets file generation in clnode.go for clarity, removing now-unnecessary helper functions and improving temporary file handling. [1] [2]

Dependency Updates:

  • Updated numerous dependencies in book/go.mod, framework/components/dockercompose/go.mod, and framework/components/fake/go.mod to newer versions, including testify, gjson, golang.org/x/*, and k8s-related libraries. [1] [2] [3] [4] [5] [6] [7] [8]

CI/CD Improvements:

  • Added a new GitHub Actions workflow .github/workflows/pods-test.yml to run snapshot tests for the framework/pods directory, ensuring k8s support is tested in CI.

Minor Fixes:

  • Fixed a typo in a struct tag comment in blockchain.go and clarified a comment in postgres.go. [1] [2]

@skudasov skudasov marked this pull request as ready for review February 10, 2026 17:05
@skudasov skudasov requested a review from a team as a code owner February 10, 2026 17:05
@skudasov skudasov requested a review from Tofel February 10, 2026 17:31
@skudasov skudasov changed the title K8s integration K8s integration for core components: NodeSet, Anvil, Fake and PostgreSQL Feb 10, 2026
Tofel
Tofel previously approved these changes Feb 11, 2026
Tofel
Tofel previously approved these changes Feb 11, 2026
@Tofel Tofel merged commit f566bbe into main Feb 11, 2026
74 of 76 checks passed
@Tofel Tofel deleted the k8s-integration branch February 11, 2026 13:35
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.

2 participants