File tree Expand file tree Collapse file tree 5 files changed +77
-5
lines changed Expand file tree Collapse file tree 5 files changed +77
-5
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : storage.k8s.io/v1
2+ kind : StorageClass
3+ metadata :
4+ name : gp3
5+ annotations :
6+ storageclass.kubernetes.io/is-default-class : " true"
7+ provisioner : ebs.csi.eks.amazonaws.com
8+ parameters :
9+ type : gp3
10+ fsType : ext4
11+ reclaimPolicy : Delete
12+ volumeBindingMode : WaitForFirstConsumer
Original file line number Diff line number Diff line change 77apiVersion : karpenter.sh/v1
88kind : NodePool
99metadata :
10- name : karpenter-cpu-agent-Graviton
10+ name : karpenter-cpu-agent-graviton
1111spec :
1212 limits :
1313 cpu : 512
5555apiVersion : karpenter.k8s.aws/v1
5656kind : EC2NodeClass
5757metadata :
58- name : karpenter-cpu-agent-Graviton
58+ name : karpenter-cpu-agent-graviton
5959spec :
6060 kubelet :
6161 podsPerCore : 2
Original file line number Diff line number Diff line change 1+ FROM python:3.12-slim
2+
3+ # Set working directory
4+ WORKDIR /app
5+
6+ # Install system dependencies
7+ RUN apt-get update && apt-get install -y \
8+ git \
9+ curl \
10+ wget \
11+ gnupg \
12+ && rm -rf /var/lib/apt/lists/*
13+
14+ # Install Playwright dependencies
15+ RUN apt-get update && apt-get install -y \
16+ libnss3 \
17+ libnspr4 \
18+ libatk1.0-0 \
19+ libatk-bridge2.0-0 \
20+ libcups2 \
21+ libdrm2 \
22+ libdbus-1-3 \
23+ libxkbcommon0 \
24+ libxcomposite1 \
25+ libxdamage1 \
26+ libxfixes3 \
27+ libxrandr2 \
28+ libgbm1 \
29+ libasound2 \
30+ libpango-1.0-0 \
31+ libcairo2 \
32+ && rm -rf /var/lib/apt/lists/*
33+
34+ # Clone the repository
35+ RUN git clone https://github.com/mannaandpoem/OpenManus.git .
36+
37+ # Install Python dependencies
38+ RUN pip install --no-cache-dir -r requirements.txt
39+
40+ # Install Playwright browsers
41+ RUN playwright install
42+
43+ # Create config directory and copy example config
44+ RUN mkdir -p config && \
45+ cp config/config.example.toml config/config.toml
46+
47+ # Set environment variables
48+ ENV PYTHONUNBUFFERED=1
49+
50+ # Expose port for FastAPI (if needed)
51+ EXPOSE 8000
52+
53+ # Create a volume for configuration
54+ VOLUME /app/config
55+
56+ # Set entrypoint
57+ ENTRYPOINT ["python" , "main.py" ]
58+
59+ # Default command (can be overridden)
60+ CMD []
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: Secret
33metadata :
44 name : token
55stringData :
6- token : Hugging Face User Access Token
6+ token : HUGGING_FACE_HUB_TOKEN
77 llm_api_key : sk-1234
88---
99apiVersion : v1
@@ -305,8 +305,8 @@ spec:
305305 pip: ["llama_cpp_python", "transformers"]
306306 env_vars:
307307 LD_LIBRARY_PATH: "/home/ray/anaconda3/lib:$LD_LIBRARY_PATH"
308- MODEL_ID: "unsloth/QwQ-32B -GGUF"
309- MODEL_FILENAME: "QwQ-32B -Q4_K_M.gguf"
308+ MODEL_ID: "unsloth/DeepSeek-R1-Distill-Qwen-7B -GGUF"
309+ MODEL_FILENAME: "DeepSeek-R1-Distill-Qwen-7B -Q4_K_M.gguf"
310310 N_CTX: "0"
311311 N_THREADS : "32"
312312 FORCE_CMAKE: "1"
You can’t perform that action at this time.
0 commit comments