Skip to content

Commit

Permalink
修改k8s deployment配置 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwtc0722 authored Jun 30, 2023
1 parent 4292e1a commit 3ef79ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,12 @@ spec:
app.kubernetes.io/name: domain-admin
spec:
containers:
- envFrom:
- secretRef:
name: env
- name: domain-admin
image: mouday/domain-admin:latest
imagePullPolicy: Always
env:
- name: DB_CONNECT_URL
value: "sqlite:///database/database.db"
livenessProbe:
failureThreshold: 3
httpGet:
Expand All @@ -444,7 +445,6 @@ spec:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: domain-admin
ports:
- containerPort: 8000
name: http
Expand Down

0 comments on commit 3ef79ae

Please sign in to comment.