Added Ollama LB Service
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: ollama-lb
|
||||||
|
namespace: ollama
|
||||||
|
labels:
|
||||||
|
app: ollama
|
||||||
|
io.cilium/static-ip: "true"
|
||||||
|
annotations:
|
||||||
|
lbipam.cilium.io/ips: 10.2.0.123
|
||||||
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
|
selector:
|
||||||
|
app: ollama
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 11434
|
||||||
|
targetPort: 11434
|
||||||
|
protocol: TCP
|
||||||
Reference in New Issue
Block a user