title |
---|
Container AppsのAPI |
bicepのtypelibに入ってない件、alex に、「api specのPRがマージされたれたら、行けるようになる。ETA は12/1」と返事をもらった。
PRのリンクが切れてたので、PRを探してみた。どうやらこれらしい。
- Container AppsのPR
- こいつの出し直しらしい
- APIとしては、Microsoft.Webの2021-03-01 に入ることになる
- VnetConfigurationのコメントが、"Configuration properties for container apps environment to join a Virtual Network"。これはまあ、想像どおり。
- platformServiceCidr
- "CIDR notation IP range from which to assign infrastructure service environment IPs. It must not overlap with any Subnet IP ranges."
- any Subnet IP rangesとoverlapしてはいけないというのがちょっと気になる。
- dockerBridgeCidr
- "CIDR notation IP range assigned to the Docker bridge, network. It must not overlap with any Subnet IP ranges or the infrastructure service address range."
- こっちは、Subnet IP ranges や infrastructure service address range と被っちゃダメとある。
- infrastructureSubnetResourceId
- "Subnet Resource Id for Infrastructure components should be in the same VNET as 'InfrastructureSubnetResourceId'. Must not overlap with ServiceCidr"
- Infrastructure components のSubnet Idで、InfrastructureSubnetResourceIdと同じVNetである必要がある。これは意味不明。間違っているのかな?
- runtimeSubnetResourceName
- "Subnet Resource Name to which the ContainerApp Containers are injected into, should be in the same VNET as 'InfrastructureSubnetResourceId'. Must not overlap with ServiceCidr"
- これと合わせて読むと、InfrastructureSubnetResourceIdと、runtimeSubnetResourceName は、同じVNetで、ServiceCidrと被っちゃだめということらしい。
- platformServiceCidr
コメントだけ読んでもよく分からん。2021-02-01のKubeEnvironmentsには、VnetConfigurationがまるごと無いので、どうやら新規で、このあたりを使ってVNet Integrationするのは間違いなさそう。ドキュメントを待つ。
MSIもロードマップに入ってる。がapiにそれっぽいのがなかった。リリースは少し後かもしれない。 microsoft/azure-container-apps#16