Azure容器组IP地址消失了 [英] Azure Container Group IP Address disappeared

查看:133
本文介绍了Azure容器组IP地址消失了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个Azure容器组,该容器组在创建时分配了IP地址。 IP地址现在丢失了,我们的应用程序突然停止工作。

We have an Azure Container Group that had an IP Address assigned upon creation. The IP address is now missing and our application suddenly stopped working.

(即,它被设置为null,以前该资源具有关联的IP地址)

(i.e. It was set to null, previously the resource had an associated IP address)

请注意,我们的订阅已暂停2周,现已恢复为活动状态。
如果有人可以帮助我们了解以下内容:
问题1:IP地址在哪里?
问题2:如果订阅被暂停(例如我们的案例),他们是否会取消分配IP地址?
尽快了解您对我们如何将集装箱组恢复到工作状态的反馈。

Note that our subscription was suspended for 2 weeks and is now back to an active state. If someone can please help us to understand the following: Q1: Where did the IP go? Q2: If the subscription went suspended (as our case), do they deallocate the IP address? Appreciate your feedback the soonest possible on how we can recover the Container Group to a working state.

谢谢

推荐答案

ACI的公共IP地址是临时的,因此您可以保证不保留公共IP。要解决此问题并为您的应用程序接收可靠的终结点,请对每个容器组使用dns-name-label属性。有关详细信息,请参见 Azure CLI ,此处是 REST API

ACI's public IP addresses are ephemeral, so you are correct that you are not guaranteed to retain the public IP. To work around this and receive a reliable endpoint for your application, utilize the dns-name-label property for each container group. Details on that can be found here for Azure CLI and here for the REST API.

这篇关于Azure容器组IP地址消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆