mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-19 20:57:54 +00:00
80f50e6ccd
Signed-off-by: mudler <mudler@c3os.io>
41 lines
607 B
YAML
41 lines
607 B
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: llama
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: llama
|
|
namespace: llama
|
|
labels:
|
|
app: llama
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: llama
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: llama
|
|
name: llama
|
|
spec:
|
|
containers:
|
|
- name: llama
|
|
image: quay.io/go-skynet/local-ai:latest
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: llama
|
|
namespace: llama
|
|
spec:
|
|
selector:
|
|
app: llama
|
|
type: LoadBalancer
|
|
ports:
|
|
- protocol: TCP
|
|
port: 8080
|
|
targetPort: 8080
|