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
- Docker (optional)
- Kubernetes cluster
- kubectl configured to interact with your cluster
- Ingress controller installed (e.g., NGINX Ingress Controller)
kubectl apply -f deployment.yaml