A CLI for managing declarative infrastructure.
Go to file
Ian H. Pittwood c0684561b9 [#37] Change issue tracker info to GitHub Issues
Changes links from Jira to GitHub Issues.

Adds additional information on GitHub Issue workflows, guidelines for
submitting changes, and links to review boards.

Change-Id: I9af8208807f2f0f084a65ca6882f8105f8bca0fa
2020-02-12 11:13:14 -06:00
.github/ISSUE_TEMPLATE Add GitHub issue templates 2020-02-06 16:34:31 -06:00
cmd [#34] Add tests to commands expecting N args 2020-02-12 14:11:30 +00:00
docs [#17] Fixes to airshipctl docs 2020-02-10 19:25:07 +00:00
pkg Merge "Add implementation of document/repo interface" 2020-02-12 14:41:12 +00:00
playbooks Roles to genreate base config and build airshipctl 2020-02-05 20:59:20 +00:00
roles Roles to genreate base config and build airshipctl 2020-02-05 20:59:20 +00:00
testutil [#17] Fixes to airshipctl docs 2020-02-10 19:25:07 +00:00
tools Add a simple whitespace linter 2020-01-15 10:57:44 -06:00
zuul.d Add new nodesets to the gates configuration 2020-02-10 17:43:52 +01:00
.gitignore Updates to Makefile 2020-01-10 09:20:10 -06:00
.gitreview Gerrit: Add .gitreview file 2019-06-25 08:11:57 -05:00
.golangci.yaml [#17] Fixes to airshipctl docs 2020-02-10 19:25:07 +00:00
CONTRIBUTING.md [#37] Change issue tracker info to GitHub Issues 2020-02-12 11:13:14 -06:00
Dockerfile Utilize Docker caching to speed up image building 2019-11-19 14:00:01 -06:00
go.mod Update redfish module URL 2020-01-14 16:03:04 -05:00
go.sum Update redfish module URL 2020-01-14 16:03:04 -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 Add a simple whitespace linter 2020-01-15 10:57:44 -06:00
README.md [#37] Change issue tracker info to GitHub Issues 2020-02-12 11:13:14 -06: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