- Add namespace, PVC, deployment, service, and kustomization for Ollama - ClusterIP only (internal), no ingress - 10Gi PVC mounted at /root/.ollama - Resource limits: 700Mi-1500Mi memory, 500m-1000m CPU - Add ArgoCD Application CR for ollama - Update backend configmap with OLLAMA_BASE_URL and OLLAMA_CHAT_MODEL
29 lines
1.5 KiB
YAML
29 lines
1.5 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: nxtgauge-backend-rust-config
|
|
namespace: nxtgauge
|
|
data:
|
|
RUST_LOG: "info"
|
|
FRONTEND_URL: "https://nxtgauge.com"
|
|
ADMIN_URL: "https://admin.nxtgauge.com"
|
|
USERS_SERVICE_URL: "http://nxtgauge-rust-users:9101"
|
|
COMPANIES_SERVICE_URL: "http://nxtgauge-rust-companies:9102"
|
|
JOBS_SERVICE_URL: "http://nxtgauge-rust-jobs:9103"
|
|
LEADS_SERVICE_URL: "http://nxtgauge-rust-leads:9118"
|
|
JOB_SEEKERS_SERVICE_URL: "http://nxtgauge-rust-job-seekers:9104"
|
|
CUSTOMERS_SERVICE_URL: "http://nxtgauge-rust-customers:9105"
|
|
EMPLOYEES_SERVICE_URL: "http://nxtgauge-rust-employees:9106"
|
|
PHOTOGRAPHERS_SERVICE_URL: "http://nxtgauge-rust-photographers:9107"
|
|
TUTORS_SERVICE_URL: "http://nxtgauge-rust-tutors:9108"
|
|
MAKEUP_ARTISTS_SERVICE_URL: "http://nxtgauge-rust-makeup-artists:9109"
|
|
DEVELOPERS_SERVICE_URL: "http://nxtgauge-rust-developers:9110"
|
|
VIDEO_EDITORS_SERVICE_URL: "http://nxtgauge-rust-video-editors:9111"
|
|
GRAPHIC_DESIGNERS_SERVICE_URL: "http://nxtgauge-rust-graphic-designers:9112"
|
|
SOCIAL_MEDIA_MANAGERS_SERVICE_URL: "http://nxtgauge-rust-social-media-managers:9113"
|
|
FITNESS_TRAINERS_SERVICE_URL: "http://nxtgauge-rust-fitness-trainers:9114"
|
|
CATERING_SERVICES_SERVICE_URL: "http://nxtgauge-rust-catering-services:9115"
|
|
PAYMENTS_SERVICE_URL: "http://nxtgauge-rust-payments:9116"
|
|
UGC_CONTENT_CREATORS_SERVICE_URL: "http://nxtgauge-rust-ugc-content-creators:9117"
|
|
OLLAMA_BASE_URL: "http://ollama.nxtgauge-ai.svc.cluster.local:11434"
|
|
OLLAMA_CHAT_MODEL: "gemma3:270m"
|