Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
078fdf969e | ||
|
|
e428f7a05c | ||
|
|
d694d0f7ab |
@@ -90,6 +90,6 @@ jobs:
|
|||||||
run: kubectl get pod -n default -l app=${{ env.APP_NAME }}
|
run: kubectl get pod -n default -l app=${{ env.APP_NAME }}
|
||||||
|
|
||||||
- name: k8s Update Deployment
|
- name: k8s Update Deployment
|
||||||
run: kubectl rollout restart deployment ${{ env.APP_NAME }}-${{ gitea.ref_name }}
|
run: kubectl rollout restart deployment ${{ env.APP_NAME }}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ spec:
|
|||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /actuator/health
|
path: /test
|
||||||
port: 9090
|
port: 9090
|
||||||
initialDelaySeconds: 1
|
initialDelaySeconds: 1
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
@@ -56,6 +56,6 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 9090
|
port: 9090
|
||||||
nodePort: 9090
|
nodePort: 30909
|
||||||
selector:
|
selector:
|
||||||
app: $APP_NAME
|
app: $APP_NAME
|
||||||
|
|||||||
Reference in New Issue
Block a user