Skip to content

Commit b682704

Browse files
committed
[update] yml files
1 parent 0cb2ffa commit b682704

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

kubernetes/app.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ spec:
7777
imagePullPolicy: Always
7878
ports:
7979
- containerPort: 8000
80-
envFrom:
81-
- configMapRef:
82-
name: fastapi-config
80+
# envFrom:
81+
# - configMapRef:
82+
# name: fastapi-config
8383
env:
8484
- name: DATABASE_HOST
8585
value: "mysql"
@@ -98,9 +98,9 @@ kind: Service
9898
metadata:
9999
name: fastapi
100100
spec:
101-
type: LoadBalancer
101+
type: NodePort
102102
ports:
103-
- port: 8000
103+
- port: 80
104104
targetPort: 8000
105105
selector:
106106
app: fastapi

0 commit comments

Comments
 (0)