OperationCode / operationcode_infra

Platform infrastructure for the Operation Code site.
MIT License
15 stars 14 forks source link
hacktoberfest hacktoberfest2017 hacktoberfest2018 hacktoberfest2019 hacktoberfest2020

Operation Code Infra

Platform infrastructure for the Operation Code site.

CircleCI

warning

This repository is using ArgoCD to deploy the Operation Code infrastructure. Changes landed on main in this repository are reflected in the real running infrastructure.

To set up your workstation to access our Kubernetes cluster, please check the below instructions

Setup

Operation Code's Kubernetes Cluster.

Greetings! Much of Operation Code's web site runs in a Kubernetes cluster. These instructions will guide you through setting up access to our cluster so you can run rails console, tail logs, and more!

Getting access to the cluster

  1. Ensure you have AWS access, and the aws CLI is operating correctly

  2. Install eksctl: https://eksctl.io/introduction/#installation

  3. Run: eksctl utils write-kubeconfig --region us-east-2 --cluster operationcode-backend

  4. Ensure kubectl is working by running kubectl version, refer to Kubectl Install Docs

    Note: if there are issues refer to this SO Post

  5. Verify everything works: kubectl get namespaces

Licensing

License: MIT
Operation Code Infra is under the MIT License.