GithubHelp home page GithubHelp logo

simplenetes-io / simplenetes Goto Github PK

View Code? Open in Web Editor NEW
744.0 13.0 18.0 818 KB

The sns tool is used to manage the full life cycle of your Simplenetes clusters. It integrates with the Simplenetes Podcompiler project podc to compile pods.

License: MIT License

Shell 100.00%
simple podc podman podcompiler cluster pod

simplenetes's Introduction

Simplenetes - magic free clusters

Welcome to Simplenetes! Let's put the Dev and Ops back into DevOps.

Simplenetes compared to Kubernetes:

- Simplenetes has a 100x less code than Kubernetes.
- Simplenetes has fewer moving parts
    - No etcd
    - No iptables
    - Root-less containers
    - Your cluster is also your git repo so you can see it on disk
    - Everything is managed via SSH
    - No magic involved
    - Very GitOps
- Simplenetes also supports:
    - Multiple replicas of pods
    - Overlapping versions of pods
    - Controlled rollout and rollback of pods
    - Loadbalancers
    - Internal proxying of traffic
    - CI/CD pipelines
    - Letsencrypt certificates
    - Health checks
- Simplenetes makes it really smooth to work with pods and micro services in development mode on you laptop (spoiler: no VMs needed)
- Simplenetes uses `podman` as container runtime

In short: Simplenetes takes the raisins out of the cake, but it does not have everything Kubernetes offers.

While Kubernetes is "true cloud computing" in the sense that it can expand your cluster with more worker machines as needed and it can request resources from the environment as needed such as persistent disk, Simplenetes doesn't go there because that is when DevOps becomes MagicOps.

When should I use Simplenetes?

In what cases should I really consider using Simplenetes?

1.  You enjoy the simple things in life.
2.  You might have struggled getting into a good local development flow using k8s.
3.  You know you will have a small cluster, between 1 and 20 nodes.
4.  You are happy just running N replicas of a pod instead of setting up auto scaling parameters.
5.  You want a deterministic cluster which you can troubleshoot in detail
6.  You want less moving parts in your cluster

In which cases should I not use Simplenetes over Kubernetes?

1.  Simplenetes is in beta.
2.  Because you are anticipating having more than 20 nodes in your cluster.
3.  You need auto scaling in your cluster.
4.  You really need things such as namespaces.
5.  You are not using Linux as your development machine.
6.  Your boss has pointy-hair.

Simplenetes explained

Simplenetes has three parts:

- This repo, the `sns` tool which setup and manages the cluster
- `podc` - the pod compiler which takes yaml specs into executable standalone shell scripts managing a pod
- `simplenetesd` - the daemon which runs on each host to start and stop pods.

See the doc/README.md for topics on HOWTOs in getting started working with Simplenetes Clusters.

Install

sns is a standalone executable, written in POSIX-compliant shell script and will run anywhere there is Bash/Dash/Ash installed.

LATEST_VERSION=$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/simplenetes-io/simplenetes/releases/latest | grep tag_name | cut -d":" -f2 | tr -d ",|\"| ")
curl -LO https://github.com/simplenetes-io/simplenetes/releases/download/$LATEST_VERSION/sns
chmod +x sns
sudo mv sns /usr/local/bin

For further instructions, please refer to the documentation.

Simplenetes was built by @bashlund and filippsen

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.