mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-08-16 21:24:09 +00:00
53 lines
1013 B
YAML
53 lines
1013 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: dev-zfunctions-service
|
|
labels:
|
|
app: dev-zfunctions
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: dev-zfunctions
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: dev-zfunctions
|
|
spec:
|
|
serviceAccountName: ziveai-sa
|
|
containers:
|
|
- name: zfunctions-dev
|
|
image: <IMAGE>
|
|
ports:
|
|
- containerPort: 8080
|
|
envFrom:
|
|
- configMapRef:
|
|
name: dev-zfunctions-configmap
|
|
resources:
|
|
requests:
|
|
memory: "2Gi"
|
|
cpu: "1"
|
|
limits:
|
|
memory: "4Gi"
|
|
cpu: "2"
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: dev-zfunctions-service
|
|
labels:
|
|
app: dev-zfunctions
|
|
spec:
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
selector:
|
|
app: dev-zfunctions
|
|
ports:
|
|
- protocol: TCP
|
|
port: 8080
|
|
targetPort: 8080
|
|
sessionAffinity: None
|
|
type: ClusterIP
|