- Change model value from 'o1-mini-2024-09-12' to 'o3-mini'. This update modifies the model used in the application configuration, which may lead to different behavior or performance improvements depending on the capabilities of the new model.
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: app3
|
|
namespace: cgs
|
|
labels:
|
|
app: cgs3
|
|
spec:
|
|
replicas: 5
|
|
selector:
|
|
matchLabels:
|
|
app: cgs3
|
|
template:
|
|
metadata:
|
|
annotations: {}
|
|
labels:
|
|
app: cgs3
|
|
spec:
|
|
#nodeSelector:
|
|
# region: us
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: region
|
|
operator: NotIn
|
|
values:
|
|
- cn
|
|
- key: kubernetes.io/hostname
|
|
operator: NotIn
|
|
values:
|
|
- claw-hk2
|
|
containers:
|
|
- name: app3
|
|
image: songtianlun/chatgpt-web:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 3002
|
|
name: web
|
|
env:
|
|
- name: OPENAI_API_BASE_URL
|
|
value: "https://www.gptapi.us"
|
|
- name: OPENAI_API_KEY
|
|
value: "sk-ctwJWUefglo8FVeY54A7FeDe86834e728e0cCc3c0f5071D0"
|
|
- name: OPENAI_API_MODEL
|
|
value: " o3-mini"
|
|
- name: TZ
|
|
value: "Asia/Shanghai"
|
|
|
|
|