Giter Site home page Giter Site logo

docs-1's Introduction

Documentation for the project

Deploy the portfolio service:

  1. create required secret
$ kubectl create secret generic jwt -n stock-trader --from-literal=audience=stock-trader --from-literal=issuer=http://stock-trader.ibm.com
  1. deploy
$ git clone https://github.com/thevoyagerproject/portfolio.git
$ kubectl apply -f portfolio/manifests/deploy.yaml -n stock-trader

# validate pod has reached running status
$ kubectl get pods -l app=portfolio -n stock-trader

# view logs to validate no errors
$ kubectl logs -c portfolio --namespace=stock-trader --selector="app=portfolio,solution=stock-trader"

Deploy the trader service:

$ git clone https://github.com/thevoyagerproject/trader.git
$ kubectl apply -f trader/manifests/deploy.yaml -n stock-trader

Deploy the stock-quote service:

The stock-quote service reaches out to IEX Cloud to obtain stock prices.

Optional: If you want to use your own API token, you may register with IEX Cloud. After you register and login to IEX cloud, you can view your API token.

# replace $YOUR_IEX_API_TOKEN with the valye of your API token
kubectl create secret generic iex -n stock-trader --from-literal=iex-api-key=$YOUR_IEX_API_TOKEN

Deploy the stock-quote service.

$ git clone https://github.com/thevoyagerproject/stock-quote.git
$ kubectl apply -f stock-quote/manifests/deploy.yaml -n stock-trader

Visit the trader application:

To visit the trader-service via NodePort, find the worker public ip and visit https://$WORKER_PUBLIC_IP:32389/trader/ and login using stock/trader.

docs-1's People

Contributors

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