https://github.com/lskjs/kit3
kit3 example
https://github.com/lskjs/kit3
Last synced: 4 months ago
JSON representation
kit3 example
- Host: GitHub
- URL: https://github.com/lskjs/kit3
- Owner: lskjs
- Created: 2023-07-18T10:42:17.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-25T11:22:43.000Z (almost 2 years ago)
- Last Synced: 2025-01-17T23:30:24.157Z (6 months ago)
- Language: CSS
- Size: 294 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.k8s.md
Awesome Lists containing this project
README
# How to work with K8s
### Manual deploy
`kubectl apply -f ./deploy/k8s-deploy.yaml`### Not for this project, but for all:
### Config for kubectl
The easiest way to apply the configuration to kubectl is to put it in `~/.kube/config` and check it with `kubectl cluster-info`, it should output the cluster ip or just no errors#### Dashboard
##### Install
`kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml`##### Use
`kubectl proxy`Open in browser:
`http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/`
#### Traefik
`kubectl apply -f ./deploy/traefik-deployment.yaml`
Use `kubectl get services` until services starting with `traefik` get the EXTERNAL-IP