New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support Kubernetes deployment #152
base: main
Are you sure you want to change the base?
Conversation
pichuang
commented
Aug 17, 2023
- Add Kubernetes Namespace / Deployment / Service (ClusterIP only)
- Add Secret for sensitive data
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
$ kubectl -n big-agi get svc,pod,deployment
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/big-agi ClusterIP 10.0.198.118 <none> 3000/TCP 63m
NAME READY STATUS RESTARTS AGE
pod/big-agi-d4f5d8b7b-jzvq4 1/1 Running 0 39m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/big-agi 1/1 1 1 63m
$ kubectl -n big-agi port-forward service/big-agi 3000
Forwarding from 127.0.0.1:3000 -> 3000
Forwarding from [::1]:3000 -> 3000 |
@pichuang there's a file called I will pull this PR in with one requirement - can you add a docs/deploy-k8s.md file to explain how this works? We have "deploy-docker" and "deploy-couldflare" to explain those, and would love something along those lines. Thanks for this first contribution! |
@enricoros Thank for the feedback, I've added your request to the latest commit. |
- Provide k8s/big-agi-deployment.yaml and env-secrert.yaml - Add deploy-k8s.md to explain the installation process
@pichuang I have two questions for this.
Thanks in advance. |
@pichuang Any updates here? I've deployed on k8s myself by exporting the helm config, but having these docs would have been helpful. |
Hi @PylotLight I don't have the knowledge to understand if this change is correct, clean and high-quality or not. What's your feedback? |
I read through it to review it and have some follow up questions. It looks good for the most part aside from a few documentation questions but otherwise should be fine. |
Can I merge it despite the questions, and what are the questions? |
May as well, its better than nothing, I can submit new PR to fix if needed. |