This website works better with JavaScript.
Home
Explore
Help
Sign In
ayan.poddar
/
eShopOnContainers
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
19
Wiki
Activity
Browse Source
Add nodeports to expose sql and rabbitmq admin ports
pull/1137/head
Miguel Veloso
5 years ago
parent
974c1c0716
commit
da04d6df88
3 changed files
with
26 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
k8s/deploy-nodeports.ps1
+12
-0
k8s/nodeports/rabbitmq-admin.yaml
+12
-0
k8s/nodeports/sql-service.yaml
+ 2
- 0
k8s/deploy-nodeports.ps1
View File
@ -0,0 +1,2 @@
kubectl
apply
-f
.
\
nodeports
\
rabbitmq
-admin
.
yaml
kubectl
apply
-f
.
\
nodeports
\
sql
-services
.
yaml
+ 12
- 0
k8s/nodeports/rabbitmq-admin.yaml
View File
@ -0,0 +1,12 @@
kind
:
Service
apiVersion
:
v1
metadata:
name
:
rabbitmq-admin
spec:
type
:
NodePort
selector:
app
:
rabbitmq
ports:
-
port
:
15672
nodePort
:
31672
name
:
rabbitmq-port
+ 12
- 0
k8s/nodeports/sql-service.yaml
View File
@ -0,0 +1,12 @@
kind
:
Service
apiVersion
:
v1
metadata:
name
:
sql-service
spec:
type
:
NodePort
selector:
app
:
sql-data
ports:
-
port
:
1433
nodePort
:
31433
name
:
sql-port
Write
Preview
Loading…
Cancel
Save