Giter Site home page Giter Site logo

bretmcg / guestbook-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rgregg/guestbook-go

0.0 1.0 0.0 4.53 MB

A simple address book web app written in Go

License: Apache License 2.0

Dockerfile 8.74% Roff 9.58% Shell 15.28% Go 38.85% HTML 26.30% CSS 1.26%

guestbook-go's Introduction

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

guestbook-go's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.