Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
named ports
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek committed Mar 31, 2023
1 parent dc74675 commit 35b3512
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion kubernetes/frontend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ spec:
imagePullPolicy: IfNotPresent
name: frontend
ports:
- containerPort: 80
- name: http
containerPort: 8080
5 changes: 3 additions & 2 deletions kubernetes/frontend/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ metadata:
name: frontend
spec:
ports:
- port: 80
targetPort: 80
- name: http
port: 80
targetPort: 8080
protocol: TCP
type: ClusterIP
selector:
Expand Down

0 comments on commit 35b3512

Please sign in to comment.