Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 1403387

Browse files
committed
Merge branch 'enhancement/expose-internal-services' into dev
2 parents 8351983 + da04d6d commit 1403387

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

k8s/deploy-nodeports.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
kubectl apply -f .\nodeports\rabbitmq-admin.yaml
2+
kubectl apply -f .\nodeports\sql-services.yaml

k8s/nodeports/rabbitmq-admin.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
kind: Service
2+
apiVersion: v1
3+
metadata:
4+
name: rabbitmq-admin
5+
spec:
6+
type: NodePort
7+
selector:
8+
app: rabbitmq
9+
ports:
10+
- port: 15672
11+
nodePort: 31672
12+
name: rabbitmq-port

k8s/nodeports/sql-service.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
kind: Service
2+
apiVersion: v1
3+
metadata:
4+
name: sql-service
5+
spec:
6+
type: NodePort
7+
selector:
8+
app: sql-data
9+
ports:
10+
- port: 1433
11+
nodePort: 31433
12+
name: sql-port

0 commit comments

Comments
 (0)