Skip to content

Instantly share code, notes, and snippets.

@takekazuomi
Created November 9, 2021 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takekazuomi/45e33be616770b2c063dcde556ae991c to your computer and use it in GitHub Desktop.
Save takekazuomi/45e33be616770b2c063dcde556ae991c to your computer and use it in GitHub Desktop.
Container Apps のAPI Specの進行状況
title
Container AppsのAPI

bicepのtypelibに入ってない件、alex に、「api specのPRがマージされたれたら、行けるようになる。ETA は12/1」と返事をもらった。

Azure/bicep#784 (comment)

PR

PRのリンクが切れてたので、PRを探してみた。どうやらこれらしい。

主要なリソース

気がついた点

  • 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と被っちゃだめということらしい。

コメントだけ読んでもよく分からん。2021-02-01のKubeEnvironmentsには、VnetConfigurationがまるごと無いので、どうやら新規で、このあたりを使ってVNet Integrationするのは間違いなさそう。ドキュメントを待つ。

System/User Managed Identity

MSIもロードマップに入ってる。がapiにそれっぽいのがなかった。リリースは少し後かもしれない。 microsoft/azure-container-apps#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment