Giter VIP home page Giter VIP logo

eks-fluxcd-bootstrap's Introduction

eks-fluxcd-bootstrap

This repository contains non-production FluxCD manifests used to bootstrap of Amazon EKS clusters with eksctl using the GitOps approach.

Prerequisites (CLI)

The following Command Line Interfaces (CLIs) are required to use the assets from this repository:

  • eksctl, >= 0.68.0
  • awscli, >= 2.2.43
  • flux, >= 0.17.2

Setup

  1. Fork this repository using your own GitHub account.

  2. Create an GitHub Personal Access Token to authenticate against the GitHub APIs, and export it to environment variables:

export GITHUB_TOKEN=<YOUR GH TOKEN>
export GITHUB_USER=<YOUR GH USERNAME>
  1. Checkout your forked repository, create a demo branch and push to the origin:
git clone https://github.com/<YOUR GH USERNAME>/eks-fluxcd-bootstrap
cd eks-fluxcd-bootstrap/
git checkout -b demo
git push -u origin demo
  1. Modify the owner on eksctl-config.yaml file to use your GitHub username:
gitops:
  flux:
    gitProvider: github
    flags:
      owner: <YOUR GH USERNAME>
      repository: eks-fluxcd-bootstrap
      branch: demo
      path: ./clusters/sandbox/
      namespace: flux-system
  1. Commit the changes into the demo branch, and push it to the origin:
git commit -am 'Change GitOps repository information'
git push -u origin demo
  1. Create the Amazon EKS cluster with eksctl, using the configuration file:
eksctl create cluster -f helpers/eksctl-config.yaml

Cleanup

  1. Delete your Amazon EKS cluster:
eksctl delete cluster --name sandbox
  1. Delete the remote and local demo branch of your forked repository:
git checkout main
git push --delete origin demo
git branch -D demo

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

eks-fluxcd-bootstrap's People

Contributors

amazon-auto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.