A cluster lifecycle orchestrator for Airship.
70410cc478
- With bionic image based shipyard docker images, uwsgi crashes with segmentation fault, when it tries to load the psycopg2 library, causing the api become unreachable on both shipyard docker images. This happens because psycopg2 2.7.x and uwsgi binary wheels are built with incompatible ssl libraries. This patch upgrades psycopg2 to the latest release to address this issue. - The existing image build script cannot run in a docker or a pod, based pipeline because of two reasons: - The build script runs a docker (docker-in-docker) and mounts a volume. In a dind case, volume bind mounts will not work, because the nested container will need the host file system's path for the source path. - The shipyard service listens to its exposed service port in the nested docker network namespace, which is not reachable from the host pod/container. This patch address both of the above issues. It first creates the container, copies needed config files to the container and then starts it. Also it execs into the nested docker to access the shipyard services in a dind (docker-in-dcoker) case. Change-Id: Ifdfed539babab01608bfaef37001bb79cd3a080d |
||
---|---|---|
charts/shipyard | ||
doc | ||
etc/shipyard | ||
images | ||
src/bin | ||
tools | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
LICENSE | ||
Makefile | ||
README.rst | ||
requirements.readthedocs.txt | ||
tox.ini |
Shipyard
Shipyard adopts the Falcon web framework and uses Apache Airflow as the backend engine to programmatically author, schedule and monitor workflows.
Find more documentation for Shipyard on Read the Docs.
The current workflow is as follows:
- Initial region/site data will be passed to Shipyard from either a human operator or Jenkins
- The data (in YAML format) will be sent to Deckhand for validation and storage
- Shipyard will make use of the post-processed data from DeckHand to interact with Drydock.
- Drydock will interact with Promenade to provision and deploy bare metal nodes using Ubuntu MAAS and a resilient Kubernetes cluster will be created at the end of the process
- Once the Kubernetes clusters are up and validated to be working properly, Shipyard will interact with Armada to deploy OpenStack using OpenStack Helm
- Once the OpenStack cluster is deployed, Shipyard will trigger a workflow to perform basic sanity health checks on the cluster
Note: This project, along with the tools used within are community-based and open sourced.
Mission
The goal for Shipyard is to provide a customizable framework for operators and developers alike. This framework will enable end-users to orchestrate and deploy a fully functional container-based Cloud.
Getting Started
This project is under development at the moment. We encourage anyone who is interested in Shipyard to review our documentation.
Bugs
If you find a bug, please feel free to create a Storyboard issue.