https://github.com/poneding/exposer-controller
custom controller sample.
https://github.com/poneding/exposer-controller
Last synced: 3 days ago
JSON representation
custom controller sample.
- Host: GitHub
- URL: https://github.com/poneding/exposer-controller
- Owner: poneding
- Created: 2021-11-19T08:03:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T01:20:42.000Z (about 3 years ago)
- Last Synced: 2025-02-28T17:38:06.770Z (over 1 year ago)
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# exposer
## build exposer
```bash
go build -o exposer .
```
## run exposer
```bash
./exposer
```
## test exposer
```bash
kubectl create ns exposer-test
kubectl create deployment nginx -n exposer-test --image=nginx
kubectl get svc ing -n exposer-test
```
## clean up
```bash
kubectl delete deployment nginx -n exposer-test
kubectl delete svc nginx -n exposer-test
kubectl delete ing nginx -n exposer-test
```