Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.57 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.57 KB

fleet-test

In this project you will find an example of how to create and bootstrap and EKS cluster with ArgoCD.

Leveraging the ArgoCD concept of App of Apps, you will be able to install a number of kubernetes manifests quickly, safely and repeatedly.

Project structure

The project structure should be similar to this:

.
├── README.md
├── applications
│   ├── istio-app
│   ├── istio-operator-app
│   └── master-app
├── argocd-bootstrap
│   ├── kustomization.yaml
│   ├── master-app.yaml
│   ├── repositories
│   └── resource.customizations
└── blueprint
    └── playground.yaml

The blueprint folder contains the specifications for an Eks Cluster. The argocd-bootstrap folder contains the kustomization required to install ArgoCD and bootstrap the cluster. It also contains the master-app.yaml file that is nothing else than the app-of-apps responsible for installing all the other kubernetes manifests. applications is the folder that contains the master-app itself plus all the other apps that you might want to install on your cluster.

Creating the cluster

In order to create the cluster run:

eksctl create cluster -f blueprint/playground.yaml

Bootstrap the cluster

kubectl apply -k argocd-bootstrap

If you then want to access ArgoCD via a load balancer you have to then issue:

kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer"}}'