From 05955887c02fe7101c52863d764615255a190941 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Fri, 5 Apr 2024 13:42:11 -0400 Subject: [PATCH] Fix port assignment --- localai/localai-deployment.yaml | 2 +- localai/localai-service.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/localai/localai-deployment.yaml b/localai/localai-deployment.yaml index 4f26fbc..25a480e 100644 --- a/localai/localai-deployment.yaml +++ b/localai/localai-deployment.yaml @@ -18,7 +18,7 @@ spec: - name: localai image: quay.io/go-skynet/local-ai:latest-aio-gpu-nvidia-cuda-12 ports: - - containerPort: 80 + - containerPort: 8080 #env: resources: limits: diff --git a/localai/localai-service.yaml b/localai/localai-service.yaml index d10e413..0fb05d6 100644 --- a/localai/localai-service.yaml +++ b/localai/localai-service.yaml @@ -8,6 +8,6 @@ spec: selector: app: localai ports: - - port: 80 - targetPort: 80 + - port: 8080 + targetPort: 8080 protocol: TCP