Giter Club home page Giter Club logo

allspark's Introduction

AllSpark

AllSpark lets you connect to any Linux machine with a Kubernetes Control Plane over the internet. You'll get the experience of managing bare metal or virtual servers like if they were in the Cloud.

Important: Please note this software is experimental and should not be used for anything resembling a production workload.

Key Features

  • Works on any Linux machine with minimal setup
  • Seamless integration, no need for complicated VPNs or firewall configuration.
  • Manage your apps as if they were in the cloud.
  • Expose apps to the internet using ingress resources.
  • Node multi tenancy lets you group a set of nodes to a particular tenant.

How it Works

On a typical Kubernetes installation you will be oriented to create your nodes over a private network, this project does the opposity and will instruct you to connect your nodes over a public network. In order for this to work all components must be configured to communicate with a public accessible API Server.

To join a node to AllSpark a simple kubeadm join is used, a node belongs to a particular tenant identified by a label: allspark.sh/tenant=<tenantname>. The api server is configured to use the PodNodeSelector admission controller which gives the ability for all pods of a particular namespace to be schedulled on a group of nodes matching a especific selector.

Overview

An operator manages tunnels for tenants, when the connection is established it's possible to reach the nodes executing exec, attach, logs and port-forward commands.

Kubelet Tunnel

Exposing applications could be performed using ingress resources, which also uses tunnels to proxy an app on a private node to the internet.

Demo

A demo will be available soon!

allspark's People

Contributors

sandromello avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

rishi-anand

allspark's Issues

Pointing to NON k8 nodes

I run K8 locally and so this does the job.

But there are times when I want to expose a node that is not a k8 node.
My understanding is that FRP tunnel is really the "meat and potatoes" that does this.
I just wanted to check that i can do this with allspark .

Examples:

  1. I am running a simple server on my laptop and just want to give it a public domain or IP.

  2. I am running a mobile app in my emulator on my laptop. I want the mobile app to find my local server that is NOT a k8, but just a simple golang server,

  3. I am developing an IOT node and its NOT running on k8, but on bear metal right next to me.
    I it to have a public IP address even though its in my office behind NAT.

Setup Instructions

Combining fatedier/frp with k8 is genius !!

Any chance you can add some newbie instructions ?

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.