/guestbook-go

A simple address book web app written in Go

Primary LanguageGoApache License 2.0Apache-2.0

guestbook-go

A simple guest book web app written in Go.

Setup builds

$ kubectl apply -f setup/kaniko.yaml

$ kubectl apply -f setup/build_secret.yaml

$ kubectl edit serviceaccount default

Add build-secret to the list of credentials in the default service account.

Setup data store

Configure to allow off-cluster communication, which involves editing the network map and including the local IP addresses.

$ gcloud container clusters describe your-cluster-id --zone=us-west1-c | grep -e clusterIpv4Cidr -e servicesIpv4Cidr

$ kubectl edit configmap config-network -n knative-serving

Change the value to look something like this:

data:
  istio.sidecar.includeOutboundIPRanges: '10.16.0.0/14,10.19.240.0/20'

See more details here.

Running the demo

kubectl apply -f service.yaml