https://github.com/dkarter/multi-k8s
https://github.com/dkarter/multi-k8s
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dkarter/multi-k8s
- Owner: dkarter
- Created: 2022-04-30T18:17:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T04:13:15.000Z (over 2 years ago)
- Last Synced: 2025-10-20T07:59:56.724Z (9 months ago)
- Language: JavaScript
- Size: 318 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Course Material
## Complex App
REALLY COMPLEX CRAZY app — for multi container deployment
---
### Setup
Apply all services and pods:
```bash
kubectl apply -f k8s
```
Set up Kubernetes Ingress Nginx
```bash
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.2.0/deploy/static/provider/cloud/deploy.yaml
```
Then visit https://localhost to view the app
### Setting up K8s dashboard (w/ Docker Desktop on macOS):
For convenience, the user creation file is also available in the `extras` folder:
```bash
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml
kubectl apply -f extras
# get token (copied to clipboard):
kubectl -n kubernetes-dashboard get secret $(kubectl -n kubernetes-dashboard get sa/admin-user -o jsonpath="{.secrets[0].name}") -o go-template="{{.data.token | base64decode}}" | pbcopy
# to start the server:
kubectl proxy
```
Full instructions (which are subject to change) can be found here:
https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#deploying-the-dashboard-ui
https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md