Skip to content

Commit

Permalink
Fixed the ingress spec for k8s deployment, added graceful shutdown to…
Browse files Browse the repository at this point in the history
… spring server (#13)
  • Loading branch information
MormonJesus69420 authored Jul 15, 2024
1 parent 2619444 commit dbbfc06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/prod/wls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ spec:
paths:
- backend:
service:
name: wls
name: wls-service
port:
name: rest-port
path: /hermes
Expand Down
2 changes: 1 addition & 1 deletion k8s/stage/wls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ spec:
paths:
- backend:
service:
name: wls
name: wls-service
port:
name: rest-port
path: /hermes
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spring:
# Server port for the main application
server:
port: 8080
shutdown: graceful

# Enable actuator endpoints and set the port
management:
Expand Down

0 comments on commit dbbfc06

Please sign in to comment.