20 lines
330 B
YAML
20 lines
330 B
YAML
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
|