rgregg / guestbook-go

A simple address book web app written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple address book web app written in Go

License:Apache License 2.0


Languages

Language:Go 42.6%Language:HTML 28.8%Language:Shell 16.7%Language:Roff 10.5%Language:CSS 1.4%