https://github.com/kintsdev/test-kube
https://github.com/kintsdev/test-kube
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kintsdev/test-kube
- Owner: kintsdev
- License: mit
- Created: 2024-07-26T13:50:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-23T19:02:35.000Z (over 1 year ago)
- Last Synced: 2025-02-07T23:25:14.471Z (about 1 year ago)
- Language: Go
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# test-kube
This is a simple Go application designed to run in a Kubernetes cluster. The application prints the following environment variables to the console:
- Pod Name
- Namespace
- Node Name
- Host IP
- Pod IP
## Prerequisites
- Docker (optional)
- Kubernetes cluster
- kubectl configured to interact with your cluster
- Ingress controller installed (e.g., NGINX Ingress Controller)
## Usage
```bash
kubectl apply -f deployment.yaml
```
## License
[MIT](LICENSE)