We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b64f346 commit 506e259Copy full SHA for 506e259
kube/services/svc-pod.yml
kube/services/svc1.yml
@@ -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