Add logs to print environment variable details when creating a container #129292
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
What would you like to be added?
Add logs to print environment variable details when creating a container
Why is this needed?
Pod supports obtaining the Pod IP from the status and injecting it into the pod as an environment variable. In actual production environments, we occasionally encounter situations where the Pod IP environment variable fails to inject. When the business side asks us to identify the cause, we cannot effectively demonstrate whether the environment variable was injected into the pod as expected. Therefore, it is necessary to print out the specific content of the environment variables when creating the container to facilitate problem identification and troubleshooting.
The text was updated successfully, but these errors were encountered: