Skip to content

Commit

Permalink
Create service.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devopstrainingbanglore authored Jun 28, 2020
1 parent e63d7c3 commit db0f76e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
name: javawebapp-ENVIRONMENT-svc-BUILD_NUMBER
namespace: default
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 8080
name: http
- name: "https"
port: 443
targetPort: 8080
protocol: "TCP"
selector:
app: javawebapp
version: "BUILD_NUMBER"

0 comments on commit db0f76e

Please sign in to comment.