-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding more structure to the Getting Started Guide Readme
- Loading branch information
Christi Miller
committed
Jan 22, 2024
1 parent
1ba7963
commit 4050603
Showing
1 changed file
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,24 @@ | ||
## Demo for Flightdeck | ||
## Flightdeck Getting Started Guide | ||
This guide walks you through steps for deploying a minimal implementation of Flightdeck, a platform for managing Kubernetes applications. This guide is not a full walk-through of everything needed to utilize Flightdeck, **and should not be considered ready for production** but rather enough of a start to become comfortable with deploying the rest of Flightdeck based on the (Flightdeck Platform Guide)[https://thoughtbot.atlassian.net/wiki/spaces/APG/overview]. | ||
|
||
### Prerequisites | ||
* Install Terraform: Download and install from Terraform's official website. | ||
* Configure AWS CLI: Run aws configure for AWS credentials. | ||
Deploying Flightdeck has several crucial prerequisites such as setting up a 1Password account, selecting an Identity Provider for SSO, and leveraging AWS Control Tower for multi-account architecture. In scope of this Getting Started Guide, many of these steps can be skipped, but there are a few which are still required: | ||
* **AWS Account**: this can be done for free at (AWS Free-Tier Signup)[https://aws.amazon.com/free/] or leverage an account already provided, utilizing whatever sign on and permissions are provided through the organization. | ||
* **AWS CLI**: Install configure AWS CLI following the (AWS Getting Started Guide)[https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html]. | ||
* **Development Tools**: Download and install (Terraform)[https://developer.hashicorp.com/terraform/install] and (Docker)[https://docs.docker.com/engine/install/] from their respective official website. | ||
For more information on installing the full Flightdeck prerequisites, see the (Landing Zone)[https://thoughtbot.atlassian.net/wiki/spaces/APG/pages/124977153/Landing+Zone] and (Install)[https://thoughtbot.atlassian.net/wiki/spaces/APG/pages/11304961/Install] sections of the Platform Guide. | ||
|
||
## First Steps | ||
* To execute, run `terraform init` in your terminal to initialize the Terraform configuration. | ||
* After successful initialization, run `terraform plan` to see the proposed changes. | ||
* If everything looks good, run `terraform apply` to create the resources. | ||
### Step 1: Deploy Flightdeck Kubernetes Clusters | ||
Flightdeck requires Kubernetes clusters on AWS’s EKS platform: | ||
* Cluster Configuration: Use Flightdeck's cluster Terraform module to set up compatible EKS clusters. Follow the steps outlined in the (Makefile)[https://github.com/thoughtbot/flightdeck/blob/christi-adding-getting-started/getting-started/Makefile], or simply run `make cluster`. from this getting started-folder -- though it is always advised to read through any type of script before running it! | ||
|
||
## Verify Cluster Creation: | ||
* Check your new EKS cluster via AWS Console or kubectl get nodes. | ||
### Step 2 ~ n: TODO | ||
|
||
## Deploy the Application | ||
* Apply the deployment using kubectl apply -f hello-world-deployment.yaml. | ||
* Verify with kubectl get deployments and kubectl get services. | ||
### Step TODO: Deploy Example Application | ||
TODO -- The example-app folder contains a Dockerfile describing implementation for an nginx server, an nginx.conf file, and a **Hello, World** HTML file. Follow the steps in the `docker` command located in the (Makefile)[https://github.com/thoughtbot/flightdeck/blob/christi-adding-getting-started/getting-started/Makefile], or simply run `make docker` from this getting-started folder. | ||
|
||
### Step TODO: Monitoring Setup | ||
TODO -- Deploy Grafana: After deploying Flightdeck, proceed with deploying Grafana for effective monitoring of your infrastructure and applications. | ||
|
||
### Conclusion | ||
By following these steps, you'll have set up a minimal Kubernetes-based platform using Flightdeck. This guide provides a foundational approach, and you should adapt it to your specific organizational requirements and workflow. Need more help, beyond the Platform Guide? Please feel free to reach out to the (code owners)[https://github.com/thoughtbot/flightdeck/blob/christi-adding-getting-started/CODEOWNERS], or consult with a (Thoughtbot Flightdeck Engineer)[https://thoughtbot.com/hire-us] on how Flightdeck can be installed and maintained for your organization by seasoned professionals! |