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.
- Host: GitHub
- URL: https://github.com/operationcode/operationcode_infra
- Owner: OperationCode
- License: mit
- Created: 2017-10-16T02:22:47.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-09-01T19:37:39.000Z (4 months ago)
- Last Synced: 2025-09-01T21:25:28.767Z (4 months ago)
- Topics: hacktoberfest, hacktoberfest2017, hacktoberfest2018, hacktoberfest2019, hacktoberfest2020
- Language: HCL
- Homepage:
- Size: 223 KB
- Stars: 17
- Watchers: 6
- Forks: 12
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Operation Code Infra
Platform infrastructure for the [Operation Code site](https://operationcode.org/).
[](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
[](https://opensource.org/licenses/MIT)
Operation Code Infra is under the [MIT License](/LICENSE).