Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
service for web-server pod
Browse files Browse the repository at this point in the history
  • Loading branch information
didierofrivia committed Nov 27, 2020
1 parent 348b4d9 commit 6f30087
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion web-server_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ spec:
containers:
- name: web-server
image: quay.io/didierofrivia/go-fetch-products:latest
imagePullPolicy: IfNotPresent
env:
- name: PORT
value: "8080"
Expand Down
11 changes: 11 additions & 0 deletions web-server_service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: web-server
spec:
type: NodePort
ports:
- port: 80
targetPort: 8080
selector:
app: web-server

0 comments on commit 6f30087

Please sign in to comment.