Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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") {
......
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