Code Monkey home page Code Monkey logo

deployment's Introduction

Running local kubernetes

  1. start minikube
    $ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
    $ curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.8.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
    $ minikube start --cpus 3 --memory=8192 --insecure-registry localhost:5000
  2. to launch the dashboard
    minikube dashboard
  3. setup local registry
    storage:
    $ sudo mkdir -p /home/storage
    $ chown -R $USER /home/storage
    $ eval $(minikube docker-env) this sets the system to use the minikube docker deamon
    $ kubectl apply -f helpers/registry.yml
  4. now you can tag and push images to the registry as localhost:5000/sound/repo:vXXX

#Build images

  1. set docker env
    $ eval $(minikube docker-env) this sets the system to use the minikube docker deamon
  2. build images $ ./buildAll.sh this builds and pushes to the local registry

#Start 3rd party

  1. start redis
    $ kubectl apply -f redis.yml
  2. start etcd
    $ kubectl apply -f beta/etcd-operator.yml
    wait for etcd-operator to start $ kubectl apply -f beta/etcd.yml

#start apps

  1. $ kubectl apply -f api-server.yml
  2. $ kubectl apply -f pipeline-driver.yml

deployment's People

Contributors

yehiyam avatar

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.