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

Azure containers example uses IP address as sample output, even though azure container IP addresses change without warning #642

Open
glyph opened this issue Sep 7, 2023 · 1 comment
Labels
area/templates kind/enhancement Improvements or new features size/S Estimated effort to complete (1-2 days).

Comments

@glyph
Copy link

glyph commented Sep 7, 2023

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

As detailed in https://learn.microsoft.com/en-us/azure/container-instances/container-instances-application-gateway,

If the container group is stopped, started, or restarted, the container group's private IP is subject to change.

This is also true of public IPs that are not associated with an application gateway, as you can see from confused user comments here, here, here, here, and so on.

It seems like it would be more useful to provide an example that sets dns_name_label to some example name and auto_generated_domain_name_label_scope to containerinstance.DnsNameLabelReusePolicy.TENANT_REUSE in IpAddressArgs, and then export container_group.ip_address.fqdn rather than container_group.ip_address.ip.

Affected area/feature

@glyph glyph added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Sep 7, 2023
@cnunciato cnunciato removed the needs-triage Needs attention from the triage team label Sep 11, 2023
@scottslowe scottslowe added size/S Estimated effort to complete (1-2 days). area/templates labels Sep 11, 2023
@kycnexynpuwejl
Copy link

thumb up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/templates kind/enhancement Improvements or new features size/S Estimated effort to complete (1-2 days).
Projects
None yet
Development

No branches or pull requests

4 participants