-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Kubernetes for anyone to quickly deploy #1711
Comments
Hello @marcellodesales! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor! |
A simple and efficient approach is to use environment variables in the Dockerfile to load 1. Use Environment Variables in the Dockerfile:Define default environment variables in the Dockerfile using the # Set default configuration file paths
ENV ENV_FILE_PATH=/app/config/.env
ENV CHARACTERS_FILE_PATH=/app/config/characters.json 2. Dynamically Load Configurations in the Application:Ensure that the application can dynamically load the 3. Use Different Config in Kubernetes:Example Kubernetes Configuration: apiVersion: v1
kind: Pod
metadata:
name: eliza-instance1
spec:
containers:
- name: eliza-container
image: your-eliza-image
env:
- name: ENV_FILE_PATH
value: "/config/.env1"
- name: CHARACTERS_FILE_PATH
value: "/config/charactersXXX.json"
volumeMounts:
- name: config-volume
mountPath: /config
volumes:
- name: config-volume
configMap:
name: eliza-config-instance1 4. Load Different Configurations for Different Instances:
|
@flingjie thank you! That's a good start! :) I will play with it a bit this weekend... who knows a multi-agent system to do what I need in a shot... |
Im interested in this because of a plug-in im developing. |
@marcellodesales I'm interested, can we connect on discord or slack or any platform, for seamless communication for enhancing this ? |
@vanshpatelx yeah absolutely... I still need to get through the docs from Eliza as I'm still 2 days old on this since I watched the Shaw's interview... @AIFlowML I haven't seen the uAgents, but if they can be deployed as containers in an isolated KXS cluster (K8S or even K3S), there are a couple of use cases we can tackle to create a library of agents that are simpler to deploy in an expected and controlled/safer environment... I'm still going through the docs on my breaks (full-time job + 1-year old baby)... Hope this weekend I will get some time to play with this... |
@marcellodesales Yeah, I will also go through docs, when you are free. just tell me, we discuss next steps. [email protected] |
Is your feature request related to a problem? Please describe.
I'm looking for a team of people interested in deploying multiple Eliza in a Kubernetes cluster
Describe the solution you'd like
Deployment infrastructure using CloudNative. I see we have docker-compose already, so we should be able to build something higher-level.
Describe alternatives you've considered
There's nothing yet
Additional context
After watching Shaw's interview at https://www.youtube.com/watch?v=5GBXS5myXz0, I'm certain we can create something that's quickly deployable for at a large-scale.
The text was updated successfully, but these errors were encountered: