Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hakoneriksson authored Aug 11, 2024
1 parent 2958a34 commit 8f5cedd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions nginx/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,21 @@ spec:
image: nginx:1.14.2
ports:
- containerPort: 80

---

apiVersion: v1
kind: Service
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
ports:
- name: nginx
port: 80
protocol: TCP
targetport: 80
selector:
app: nginx
type: LoadBalancer

0 comments on commit 8f5cedd

Please sign in to comment.