GithubHelp home page GithubHelp logo

playground's Introduction

Playground

A microservices playground built with docker and kubernetes.

Prerequisites

Requires Kubernetes

Run Kubernetes locally with Vagrant

git clone https://github.com/GoogleCloudPlatform/kubernetes
cd kubernetes
export KUBERNETES_PROVIDER=vagrant
cluster/kube-up.sh

Getting Started

Start dependencies

Start Redis

cluster/kubectl.sh create -f github.com/myodc/playground/playground-redis.json
cluster/kubectl.sh create -f github.com/myodc/playground/playground-redis-service.json

Start Registry

cluster/kubectl.sh create -f github.com/myodc/playground/playground-registry.json
cluster/kubectl.sh create -f github.com/myodc/playground/playground-registry-service.json

Start Server

For more details about the server visit github.com/myodc/playground-server

Set PLAYGROUND_KUBE_HOST, PLAYGROUND_KUBE_USER and PLAYGROUND_KUBE_PASS to the kubernetes master api in playground-server.json

cluster/kubectl.sh create -f playground-server.json
cluster/kubectl.sh create -f playground-server-service.json

Start Web App

For more details about the web app visit github.com/myodc/playground-web

Set API_BASE_URL in plaground-web.json to the playground server address

kubectl create -f playground-web.json
kubectl create -f playground-web-service.json

Start Proxy

For more details about the proxy visit github.com/myodc/playground-proxy

Set the PROXY_DOMAIN in playground-proxy.json Set the publicIPs field in playground-proxy-service.json to the ips of the minions on which the proxy will run

Start the proxy

kubectl create -f playground-proxy.json
kubectl create -f playground-proxy-service.json

Make sure DNS is setup correctly for your PROXY_DOMAIN and then visit http://playground-web.PROXY_DOMAIN

playground's People

Watchers

 avatar  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.