Skip to content

Conversation

@maschad
Copy link
Member

@maschad maschad commented May 14, 2025

This integrates kubernetes into our proxy setup, most of the relevant details are in the README.md

jorgeantonio21 and others added 9 commits May 6, 2025 09:06
* chore(deps): bump atoma-utils from `d59ea1f` to `dfe0830`

Bumps [atoma-utils](https://github.com/atoma-network/atoma-node) from `d59ea1f` to `dfe0830`.
- [Release notes](https://github.com/atoma-network/atoma-node/releases)
- [Commits](AtomaAI/atoma-node@d59ea1f...dfe0830)

---
updated-dependencies:
- dependency-name: atoma-utils
  dependency-version: dfe0830ecffc5429b4c131bc88b18fb8016cd5b9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump atoma-p2p from `d59ea1f` to `dfe0830`

Bumps [atoma-p2p](https://github.com/atoma-network/atoma-node) from `d59ea1f` to `dfe0830`.
- [Release notes](https://github.com/atoma-network/atoma-node/releases)
- [Commits](AtomaAI/atoma-node@d59ea1f...dfe0830)

---
updated-dependencies:
- dependency-name: atoma-p2p
  dependency-version: dfe0830ecffc5429b4c131bc88b18fb8016cd5b9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump atoma-sui from `d59ea1f` to `dfe0830`

Bumps [atoma-sui](https://github.com/atoma-network/atoma-node) from `d59ea1f` to `dfe0830`.
- [Release notes](https://github.com/atoma-network/atoma-node/releases)
- [Commits](AtomaAI/atoma-node@d59ea1f...dfe0830)

---
updated-dependencies:
- dependency-name: atoma-sui
  dependency-version: dfe0830ecffc5429b4c131bc88b18fb8016cd5b9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* ppcie verifier logic

* add tables for fiat (#442)

* fix: ensure 400 is returned on cancelled streams

* chore: removed unnecessary 400 response

* chore: remove unnecessary comment and clone

* feat: add metrics to track latency from proxy to node (#444)

* feat: add metrics to track latency from proxy to node

* fix: move network ticker to seperate thread

* chore: added docs + removed unnecessary port

* fix: remove unnecessary prepend

* fix: add model names to stream cancellations (#447)

* handle PR comments

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Stefcek <35243812+Cifko@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
* fix: update fiat

* million
* feat: use fiat when available

* address comments
@maschad maschad changed the base branch from main to develop May 14, 2025 18:47
@maschad maschad requested review from Cifko and removed request for Cifko May 14, 2025 18:49
@maschad maschad self-assigned this May 14, 2025
@maschad maschad force-pushed the mc/kubernetes-setup branch from a7563d1 to d9b6dbc Compare May 17, 2025 02:03
Cifko and others added 6 commits May 19, 2025 14:24
* feat: split tokens into input/output

* fix clippy

* fix openapi.yml

* address comments

---------

Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
@maschad maschad force-pushed the mc/kubernetes-setup branch 2 times, most recently from 9391781 to bc124fb Compare May 26, 2025 19:29
* squash commits and sync with develop

* update cargo lock

* resolve failing tests

* resolve failing tests

* resolve failing tests
@maschad maschad force-pushed the mc/kubernetes-setup branch from bc124fb to 55d9519 Compare May 27, 2025 17:24
@maschad maschad requested review from Cifko and jorgeantonio21 May 27, 2025 17:32
Base automatically changed from develop to main May 27, 2025 21:28
@maschad maschad changed the base branch from main to release/v0.1.14 May 28, 2025 19:31
Copy link
Collaborator

@Cifko Cifko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to test this before we use it?

@Cifko Cifko requested a review from Copilot June 12, 2025 12:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR integrates Kubernetes support for the atoma-proxy project by introducing Helm charts, environment-specific values files, and necessary Kubernetes manifests for components such as MetalLB and OpenTelemetry. Key changes include new infrastructure YAMLs for MetalLB, updated Helm configuration and templates for atoma-proxy, and several helper shell scripts to manage cluster setup, RBAC, addons, and deployments.

Reviewed Changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
helm/infrastructure/metallb-install.yaml Adds MetalLB namespace and deployments/daemonsets for controller and speaker
helm/infrastructure/metallb-config.yaml Introduces IPAddressPool and L2Advertisement resources for MetalLB
helm/atoma-proxy/values*.yaml Provides environment-specific configurations for dev, prod, and global settings
helm/atoma-proxy/templates/* Adds and updates Kubernetes manifests (ConfigMaps, Deployments, Services, Ingress, etc.)
helm/atoma-proxy/scripts/* Introduces multiple scripts to simplify cluster setup, RBAC fixes, addon installation, and deployment

namespace: "atoma"
loki:
endpoint: http://loki:3100/loki/api/v1/push
otlp/tempo:
Copy link

Copilot AI Jun 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider quoting the key 'otlp/tempo' (e.g., "otlp/tempo") to avoid potential YAML parsing issues with the slash character.

Suggested change
otlp/tempo:
"otlp/tempo":

Copilot uses AI. Check for mistakes.
{{- else if eq .service "credentials" }}
name: credentials
{{- else if eq .service "prover" }}
number: 8080
Copy link

Copilot AI Jun 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a values reference for the port instead of hardcoding 8080 for the 'prover' service to maintain consistency and configurability across environments.

Suggested change
number: 8080
number: {{ $.Values.atomaProxy.proverPort }}

Copilot uses AI. Check for mistakes.
@jorgeantonio21 jorgeantonio21 changed the base branch from release/v0.1.14 to main June 17, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants