Add and retrieve pod metadata
{ "pod_ip": "10.244.1.5", "pod_name": "my-app-7d9f6b8c4-x5z2w", "pod_namespace": "production" }
{ "uuid": "550e8400-e29b-41d4-a716-446655440000", "pod_ip": "10.244.1.5", "pod_name": "my-app-7d9f6b8c4-x5z2w", "pod_namespace": "production" }
{ "pod_ip": "10.244.1.5", "pod_name": "my-app", "pod_namespace": "production", "pod_obj": { "metadata": { "labels": { "app": "my-app", "version": "v1.0.0" } }, "spec": { /* full pod spec */ } } }
curl http://localhost:9090/pod/ip/10.244.1.5
{ "uuid": "550e8400-e29b-41d4-a716-446655440000", "pod_ip": "10.244.1.5", "pod_name": "my-app", "pod_namespace": "production", "pod_obj": { /* full pod spec */ } }