https://github.com/realorko/k8s-sample-app
A sample application for deploying into AWS EKS
https://github.com/realorko/k8s-sample-app
Last synced: about 2 months ago
JSON representation
A sample application for deploying into AWS EKS
- Host: GitHub
- URL: https://github.com/realorko/k8s-sample-app
- Owner: RealOrko
- Created: 2021-05-21T12:32:41.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-25T18:28:48.000Z (about 5 years ago)
- Last Synced: 2026-01-03T10:28:51.032Z (5 months ago)
- Language: Shell
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k8s Sample App
A sample application for deploying into AWS EKS where the health check can be setup to fail using env vars.
## Assumptions
This repository assumes you are already up and running with k8s, specifically AWS EKS. You already have [kubectl](https://kubernetes.io/docs/tasks/tools/) installed and can connect.
## Pre-requisites
Please install the following:
- [direnv](https://direnv.net/docs/installation.html)
Run `direnv allow` in the checkout directory.
## Cloning the repo
To clone and activate the repo, please run the following:
```
git clone git@github.com:RealOrko/k8s-sample-app.git && cd k8s-debugging && direnv allow
```
## Up and running
- `kdeploy`: To deploy the app container in your k8s cluster.
- `kdestroy`: To destroy the app container in your k8s cluster.
## SSH into pod
To SSH into the pod for running diagnostics please run:
- `kshell`: This will give you a bash shell into the container.