Unverified Commit 46445d8f authored by Angus Lees's avatar Angus Lees
Browse files

Make frontend service a type=LoadBalancer

This allows you to actually reach the guestbook in most environments
without further changes (including minikube, since LoadBalancer
implies NodePort).
parent dd14013d
......@@ -36,6 +36,7 @@ local example = import "example.libsonnet";
frontend_service: example.service("frontend") {
targetPod_: $.frontend_deployment.spec.template,
spec+: { type: "LoadBalancer" },
},
redis_master_deployment: example.deployment("redis-master") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment