This container logs the public IP address of the host machine every second. It uses the ipify
API to fetch the IP address and outputs it along with a timestamp.
docker build -t ip-logger .
docker run --rm ip-logger
Update replicas
value.
kubectl apply -f deployment.yaml