1
0
Fork 0

personal/q3k/minecraft: expose port 2137 (gRPC plugin)

Change-Id: I0816d63f0307c6ca7cafcd752e93e857e6a41f7f
master
q3k 2020-05-18 01:06:07 +02:00 committed by q3k
parent 32f8a58236
commit 7fa92b4029
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,7 @@ local defaultWorldguardConfig = import "worldguard.libsonnet";
},
ports_: {
minecraft: { containerPort: 25565 },
grpc: { containerPort: 2137 },
},
resources: {
requests: {
@ -178,6 +179,7 @@ local defaultWorldguardConfig = import "worldguard.libsonnet";
ports: [
{ name: "minecraft", port: 25565, targetPort: 25565, protocol: "TCP" },
{ name: "web", port: 80, targetPort: 8080, protocol: "TCP" },
{ name: "grpc", port: 2137, targetPort: 2137, protocol: "TCP" },
],
type: "LoadBalancer",
externalTrafficPolicy: "Local",