Skip to content

Kubernetes Deployment - #55

Merged
kesshoban3310 merged 18 commits into
Only-Juice:mainfrom
ruien0412:main
Oct 22, 2025
Merged

Kubernetes Deployment#55
kesshoban3310 merged 18 commits into
Only-Juice:mainfrom
ruien0412:main

Conversation

@ruien0412

Copy link
Copy Markdown
Contributor

This pull request introduces a comprehensive Kubernetes deployment setup for the project, along with significant improvements to the Docker build and release workflow. It adds Kubernetes manifests and documentation, refines Dockerfile usage for multi-architecture builds, and updates CI workflows to automate building and publishing Docker images from prebuilt binaries.

The most important changes are:

Kubernetes Deployment Support:

  • Added a full set of Kubernetes manifests in the k8s/ directory, including deployment, service, ingress, configmap, secret, namespace, and kustomization files for both the API and Sandbox components. This enables easy deployment and management of the application on Kubernetes clusters. [1] [2] [3] [4] [5] [6]
  • Introduced a detailed Kubernetes deployment guide in K8S_DEPLOYMENT.md, covering prerequisites, configuration, deployment steps, troubleshooting, scaling, and best practices.

Docker and CI/CD Improvements:

  • Added new Dockerfiles (Dockerfile.prebuilt, Dockerfile.sandbox.prebuilt) for building images from prebuilt binaries, supporting multi-architecture (amd64, arm64) builds and simplifying the image build process. [1] [2]
  • Updated the GitHub Actions workflow to build and upload prebuilt binaries as artifacts, and added a new workflow to build and push Docker images automatically when a release is completed. [1] [2]

Build and Runtime Adjustments:

  • Modified existing Dockerfiles to avoid copying a local .env.local file (which may not exist in CI/CD), replacing it with a touch command to ensure the file is present at runtime. [1] [2]

These changes together enable automated, reproducible, and scalable deployments using Kubernetes, while also streamlining the build and release process for both local development and production environments.

@kesshoban3310
kesshoban3310 merged commit 1949eba into Only-Juice:main Oct 22, 2025
2 checks passed
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