A CLI for managing declarative infrastructure.
Go to file
Vamsi Savaram 5bf96b27d6 Add a HTTPS-->HTTP reverse proxy in front of redfish-emulator
This patch introduces a reverse proxy that terminates an HTTPS
connection and forwards it to the redfish emulator behind that
is running HTTP. Also the reverse proxy presents a self-signed
certificate.

Closes: #136
Relates-To: #136

Change-Id: If6ee705247ae8866d2674bff1ff034277f9c9177
2020-04-02 10:21:37 -05:00
.github Add SECURITY.md 2020-02-20 16:57:57 -06:00
cmd Refactor ClusterComplexName 2020-03-26 17:46:35 -05:00
docs [#38] Add end-user documentation to project 2020-03-10 16:45:19 +00:00
manifests Merge "Remove personal keys from ephemeral userData" 2020-04-01 21:31:33 +00:00
pkg Improve error messages related to Selectors 2020-04-02 08:07:05 -05:00
playbooks [#106] Add docker install role 2020-03-23 15:25:15 -05:00
roles Add a HTTPS-->HTTP reverse proxy in front of redfish-emulator 2020-04-02 10:21:37 -05:00
testdata/k8s [AIR-97] Adding initinfra subcommand 2020-02-27 08:38:51 -06:00
tests/ansible Added job for testing roles 2020-03-02 20:25:50 -08:00
testutil Split document model, add entrypoints for repos 2020-03-12 09:55:05 -05:00
tools Moved last role to airshipctl 2020-03-25 13:16:38 -07:00
zuul.d Moved last role to airshipctl 2020-03-25 13:16:38 -07:00
.gitignore [#6] Add config init subcommand 2020-02-17 16:22:10 -06:00
.gitreview Gerrit: Add .gitreview file 2019-06-25 08:11:57 -05:00
.golangci.yaml [#53] Disable the dupl linter 2020-02-19 14:04:22 -06:00
CONTRIBUTING.md [#39] Add Zuul job for GitHub Issues integration 2020-03-02 09:49:27 -06:00
Dockerfile [#81] makefile to check for unused test data 2020-03-08 00:05:48 +00:00
go.mod Cluster Status library tools 2020-03-27 16:09:15 -05:00
go.sum Cluster Status library tools 2020-03-27 16:09:15 -05:00
LICENSE Add LICENSE 2019-10-19 14:16:05 -05:00
main.go Rename module to reflect its new location 2019-07-01 12:15:29 -05:00
Makefile [#81] makefile to check for unused test data 2020-03-08 00:05:48 +00:00
README.md [#37] Change issue tracker info to GitHub Issues 2020-02-12 11:13:14 -06:00
Vagrantfile [#32]: scripts for local run playbooks 2020-02-28 17:24:32 -08:00

airshipctl

What is airshipctl

The airshipctl project is a CLI tool and Golang library for declarative management of infrastructure and software.

The goal for the project is to provide a seamless experience to operators wishing to leverage the best of breed open source options such as the Cluster API, Metal3-io, Kustomize, Kubeadm, and Argo -- into a straight forward and easily approachable tool.

This project is the heart of the effort to produce Airship 2.0, which has three main evolutions from 1.0:

  • Expand our use of entrenched upstream projects.
  • Embrace Kubernetes Custom Resource Definitions (CRD) Everything becomes an Object in Kubernetes.
  • Make the Airship control plane ephemeral.

To learn more about the Airship 2.0 evolution, please check out the Airship Blog Series.

Contributing

This project is under heavy active development to reach an alpha state.

New developers should read the contributing guide as well as the developer guide in order to get started.

Architecture

The airshipctl tool is designed to work against declarative infrastructure housed in source control and manage the lifecycle of a site.

architecture diagram

Example Usage

In a nutshell, users of airshipctl should be able to do the following:

  1. Create an airshipctl Airship Configuration for their site - sort of like a kubeconfig file.
  2. Create a set of declarative documents representing the infrastructure (baremetal, cloud) and software.
  3. Run airshipctl document pull to clone the document repositories in your Airship Configuration.
  4. When deploying against baremetal infrastructure, run airshipctl bootstrap isogen to generate a self-contained ISO that can be used to boot the first host in the cluster into an ephemeral Kubernetes node.
  5. When deploying against baremetal infrastructure, run airshipctl bootstrap remotedirect to remotely provision the first machine in the cluster using the generated ISO, providing an ephemeral Kubernetes instance that airshipctl can communicate with for subsequent steps. This ephemeral host provides a foothold in the target environment so we can follow the standard cluster-api bootstrap flow.
  6. Run airshipctl cluster initinfra --clustertype=ephemeral to bootstrap the new ephemeral cluster with enough of the chosen cluster-api provider components to provision the target cluster.
  7. Run airshipctl clusterctl to use the ephemeral Kubernetes host to provision at least one node of the target cluster using the cluster-api bootstrap flow.
  8. Run airshipctl cluster initinfra --clustertype=target to bootstrap the new target cluster with any remaining infrastructure necessary to begin running more complex workflows such as Argo.
  9. Run airshipctl workflow submit sitemanage to run the out of the box sitemanage workflow, which will leverage Argo to handle bootstrapping the remaining infrastructure as well as deploying and/or updating software.

As users evolve their sites declaration, whether adding additional infrastructure, or software declarations, they can re-run airshipctl workflow submit sitemanage to introduce those changes to the site.

Project Resources