- Notifications
You must be signed in to change notification settings - Fork110
Kubernetes application deployments for restricted, regulated, or remote environments
License
gravitational/gravity
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
WarningGravity was archived 2023-07-01.
Please see ourGravitational is Teleportblog post for more information.
If you're looking for a similar solution, we recommend using acertified Kubernetes Distribution.
Gravity is aKubernetes packaging solution.
Gravity is an open source toolkit for creating "images" of Kubernetesclusters and the applications running inside the clusters. The resultingimages are calledcluster images and they are just.tar files.
A cluster image can be used to re-create full replicas of the originalcluster in any environment where compliance and consistency matters, i.e. inlocked-down AWS/GCE/Azure environments or even in air-gapped server rooms.An image can run without human supervision, as a "kubernetes appliance".
A Cluster Image produced by Gravity includes:
- All Kubernetes binaries and their dependencies.
- Built-in container registry.
- De-duplicated layers of all application containers inside a cluster.
- Built-in cluster orchestrator which guarantees HA operation, in-placeupgrades and auto-scaling.
- Installation wizard for both CLI and web browser GUI.
An image is all one needs to re-create the complete replica of the originalKubernetes cluster, with all deployed applications inside, even in anair-gapped server room.
Take a look at theexamples directory in this repository to findexamples of how to package and deploy Kubernetes applications using Gravity.
The following examples are currently available:
- Wordpress. Deploys Wordpress CMS with an OpenEBS-backed persistent storage.
Gravity is written in Go. There are two ways to build the Gravity tools fromsource: by using locally installed build tools or via Docker. In both casesyou will need a Linux machine.
Building on MacOS, even with Docker, is possible but not currently supported
$ git clone git@github.com:gravitational/gravity.git$cd gravity# Running 'make' with the default target uses Docker.# The output will be stored in build/current/$ make# If you have Go 1.10+ installed, you can build without Docker which is faster.# The output will be stored in $GOPATH/bin/$ make install# To remove the build artifacts:$ make clean
About
Kubernetes application deployments for restricted, regulated, or remote environments
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.