Compare commits

..

3 Commits

Author SHA1 Message Date
bamanker
078fdf969e fix readinessProbe http path
All checks were successful
Build Push and Deploy Image / build (push) Successful in 4m35s
2025-12-28 17:08:44 +08:00
bamanker
e428f7a05c fix 2025-12-26 17:49:55 +08:00
bamanker
d694d0f7ab 修复端口号错误
Some checks failed
Build Push and Deploy Image / build (push) Failing after 36s
2025-12-26 17:07:01 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -90,6 +90,6 @@ jobs:
run: kubectl get pod -n default -l app=${{ env.APP_NAME }}
- name: k8s Update Deployment
run: kubectl rollout restart deployment ${{ env.APP_NAME }}-${{ gitea.ref_name }}
run: kubectl rollout restart deployment ${{ env.APP_NAME }}

View File

@@ -31,7 +31,7 @@ spec:
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /actuator/health
path: /test
port: 9090
initialDelaySeconds: 1
timeoutSeconds: 10
@@ -56,6 +56,6 @@ spec:
- name: http
protocol: TCP
port: 9090
nodePort: 9090
nodePort: 30909
selector:
app: $APP_NAME