2023-03-20 20:28:08 +00:00
|
|
|
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
|
|
|
|
args:
|
|
|
|
- api
|
2023-03-23 22:22:43 +00:00
|
|
|
image: quay.io/go-skynet/llama-cli:v0.3
|
2023-03-20 20:28:08 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: llama
|
|
|
|
namespace: llama
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: llama
|
|
|
|
type: LoadBalancer
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 8080
|
2023-03-21 20:33:11 +00:00
|
|
|
targetPort: 8080
|