Giter VIP home page Giter VIP logo

ibgw's Introduction

Helm 3 charts to deploy Interactive Brokers Gateway and other IB related containers to Kubernetes

HELM 3 chart to deploy IB Gateway running in Docker to a Kubernetes cluster. Currently has basic TCP port monitoring so Kubernetes will restart the instance, if it stops responding.

Docker Hub image

This HELM chart deploys the following Docker container by default. This can be overridden in the values.yaml:

Deploying

  • To deploy, create a values.yaml outside this repo with your IB Gateway credentials
IBAuth: true
TWSUSERID: "YOUR_IB_USERNAME_HERE"
TWSPASSWORD: "YOUR_IB_PASSWORD_HERE"
VNC_PASSWORD: "YOUR_VNC_PASSWORD_HERE"

and

export KUBECONFIG=/path/to/your/kubeconfig

Then, deploy with:

helm3 repo add ibgw-forhire https://forhire.github.io/ibgw/ # to add this repo

helm3 install -n ibroker-paper ibgw ibgw-forhire/ibgw -f values.yaml 

helm install -n ibroker-paper backtrader ibgw-forhire/backtrader-helm # To install Backtrader Anaconda Jupyter Notebook in the ibroker-paper namespace

Troubleshooting

Kubernetes kubectl commands can be used for troubleshooting. Typically: kubectl get all -n namespace

to get the POD name.

kubectl describe pod/ibgw-unique-values -n namespace

to show details about the POD.

Istio

A sample Istio Service Mesh configuration does the following:

Creates a Gateway for the trademonitor service, enabling HTTPS on port 443 with an HTTP redirect from port 80

Defines a VirtualService for the trademonitor service, routing traffic from the Gateway to the trademonitor service on port 8080

Configures mTLS with a DestinationRule and a PeerAuthentication resource, ensuring that all services in the namespace communicate securely

Creates a Certificate resource using cert-manager and Let's Encrypt for DOMAIN_HERE.com, which will be stored in a Kubernetes secret named "domain_here-tls"

Please note that you need to have Istio and cert-manager installed on your cluster to use this configuration.

ibgw's People

Contributors

forhire avatar

Stargazers

 avatar  avatar  avatar

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.