An open API service indexing awesome lists of open source software.

https://github.com/operationcode/operationcode_infra

Platform infrastructure for the Operation Code site.
https://github.com/operationcode/operationcode_infra

hacktoberfest hacktoberfest2017 hacktoberfest2018 hacktoberfest2019 hacktoberfest2020

Last synced: 4 months ago
JSON representation

Platform infrastructure for the Operation Code site.

Awesome Lists containing this project

README

          

# Operation Code Infra
Platform infrastructure for the [Operation Code site](https://operationcode.org/).

[![CircleCI](https://circleci.com/gh/OperationCode/operationcode_infra/tree/master.svg?style=svg)](https://circleci.com/gh/OperationCode/operationcode_infra/tree/master)

## warning

This repository is using [ArgoCD](https://argoproj.github.io/argo-cd/) 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](https://kubernetes.io/) 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](https://aws.amazon.com) access, and the [aws CLI](https://aws.amazon.com/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](https://kubernetes.io/docs/tasks/tools/#kubectl)

Note: if there are issues refer to this [SO Post](https://stackoverflow.com/questions/55360666/kubernetes-kubectl-run-command-not-found)

5. Verify everything works: `kubectl get namespaces`

## Licensing
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Operation Code Infra is under the [MIT License](/LICENSE).