Git Product home page Git Product logo

wormhole's Introduction

Wormhole - simple HTTP/2 connector for Kyma clusters

Building wormhole-connector

To build wormhole-connector, simply run:

$ make

To clean up binaries:

$ make clean

Generate certificates

Before running wormhole-connector, you need to generate a self-signed certificate and its key.

$ openssl req --x509 --newkey rsa:4096 --days 365 --nodes --keyout connector-key.pem --out connector.pem

Running wormhole-connector

You'll need to provide the address to the other end of the HTTP/2 tunnel. You can find an example of the component sitting on the other side in wormhole-dispatcher.

You'll also need to provide a CA file that signed the certificates used by the component on the other side.

$ ./wormhole-connector --trust-ca-file ca.pem --kyma-server https://dispatcher.wormhole.example.com --kyma-reverse-tunnel-port 444

Then you can configure your applications to use https://localhost:8080 as an HTTPS proxy.

Kubernetes example

For a full example using Kubernetes check the Kubernetes example.

Serf/Raft example

For an example showing how the Wormhole Cluster can store events in a replicated fashion check the Serf/Raft example.

wormhole's People

Contributors

iaguis avatar ormos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wormhole's Issues

The wormhole connector should support local development mode

There should be a possibility to start wormhole-connector on the local port without HTTPS.
Quite often, during the development on a local machine, we do not want to struggle with making CURL calls with an insecure flag or with additional --proxy-cacert certs/ca.pem.

There should be a start parameter indicating the HTTP or HTTPS mode.

Deployment of Wormhole dispatcher on a managed cluster is failing

Description

I was experimenting with the Wormhole project, and it is working good on the local Minikube. I was impressed by the tunneling possibility. I was also trying to use it on the Kyma deployed on the managed Kubernetes cluster with three nodes.

I deployed the Dispatcher and switched the service configuration type to LoadBalancer. After that change, the pod got crashed.

I can see following error message in the dispatcher logs:

kubectl logs wormhole-dispatcher-68df5645f-px9qn
time="2018-09-08T06:16:00Z" level=fatal msg="error during TLS handshake: EOF"

What is the way to deploy and access the Wormhole Dispatcher on the managed cluster?

Reasons

We would like to use the Wormhole cluster to exposed internal services deployed in Kyma on a managed cluster.

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.