Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

istio-explained/docs

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

documentation for the Istio-explained project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.