Skip to content

Commit 506e259

Browse files
author
lerndevops
authored
Update and rename svc-pod.yml to svc1.yml
1 parent b64f346 commit 506e259

File tree

2 files changed

+11
-26
lines changed

2 files changed

+11
-26
lines changed

kube/services/svc-pod.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

kube/services/svc1.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
kind: Service
2+
apiVersion: v1
3+
metadata:
4+
name: svc1
5+
spec:
6+
type: ClusterIP ## virtual Loadbalncer that forwards the request into mutiple backend pods
7+
selector:
8+
role: db
9+
ports:
10+
- port: 80 # Virtual LB port, you can define any port of your choice
11+
targetPort: 3000 ## port number inside container

0 commit comments

Comments
 (0)