Skip to content

kintsdev/test-kube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

kubectl apply -f deployment.yaml

License

MIT