Agent state has a TERMINATED, which can be assigned once API Server's metadata service detected the Agent Pod has been deleted by K8s API Server.
We might need to use downard API to pass the namespace information? But probably not needed, as the pod ID has randomly-generated trailing hash values.
Agent state has a TERMINATED, which can be assigned once API Server's metadata service detected the Agent Pod has been deleted by K8s API Server.
We might need to use downard API to pass the namespace information? But probably not needed, as the pod ID has randomly-generated trailing hash values.
Agent is already sending podID and nodeName to API Server
Agetn's pod id is part of the DeployModuleResp. API Server should already have this information, so can connect with metadata service.