Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding node internal ip + node name #92

Merged
merged 1 commit into from
Nov 25, 2021
Merged

adding node internal ip + node name #92

merged 1 commit into from
Nov 25, 2021

Conversation

dgkanatsios
Copy link
Collaborator

@dgkanatsios dgkanatsios commented Nov 24, 2021

Fixes #53

This PR adds the Node Internal IP to the list of environment variables obtained by the initcontainer and passed into the gsdkConfig.json file. This is used in the GetPublicIP API of the GSDK. Workarounds will be provided in the documentation for users that want to obtain the actual Public (External) IP. We also opportunistically fixed getting the actual Node name passed in "PF_VM_ID" environment variable.

#86 gets the actual Public IP but the code was deemed "too much".

Copy link
Collaborator

@AmieDD AmieDD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@dgkanatsios dgkanatsios merged commit d06c6ec into master Nov 25, 2021
@dgkanatsios dgkanatsios deleted the internalip branch November 25, 2021 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Populate public IP address on initcontainer
2 participants