Git Product home page Git Product logo

kubetunnel's Issues

Project cleanup

Clean autogenerated not in use files and change the project structure if needed

Proxy a list of URLs through the tunnel - CLI

  1. Add --proxy flags to kubetunnel-cli that sends their values through the CR spec.
    2.1. Add the flag itself - can be used multiple times [X]
    2.2. Parse the flag/s and send the values to the cr spec. [X]
    2.3 Add the DNS to the hosts file - send them to kubetunnel-server service. [X]

Improve documentation

Currently it is a bit hard to understand the steps to reproduce in order to create a tunnel.

Especially because the commands are not specified to be for the local or for the remote environment

Having a step-by-step detailed documentation would help a lot.

Scaledown original deployment

  1. Query the application in controller and scaledown the original deployment, and update status in deployment with kubetunnel/lastReplicaCount.
  2. Add logic for when disconnected/connected then scale back - scale down.
  3. scale up - if replica count is not 0, then only remove label, else, scale up and remove label.

feature: support ngrok behavior without existing service

Scenario:

Developer A works on Cart service
Developer B works on API Gateway service

The cart is a new functionality, never been deployed before. Developer A and Developer B want to integrate with each other.

  1. Add command to deploy ad-hoc service with a tunnel
  2. Add command to port-forward ONLY from Developer B to the cluster, so Developer B can access all existing services + the new adhoc service, but not tunnel anything

Add new features to the documentation with limitations

Add the new resolve all namespaces and proxy external private destinations features to the documentation.

Limitations:

  1. Proxy doesn't support the same port multiple times, even on different dns
  2. When using a proxy without graceful shutdown, the hosts file will have the real DNS records as proxy. Assuming the user can reach the DNS from his laptop as well (for example - Google PubSub or AWS SQS), the user will manually need to delete the host OR run the kubetunnel and gracefully shut down.
  3. When using all namespaces flag, the service namespace will be the main DNS. In order to resolve all other namespaces the user will need to use a fully qualified URL.

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.