Skip to content

Support for Sidecar Pattern on Linux App Service #25167

@marcindulak

Description

@marcindulak

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Support for Sidecar Pattern on Linux App Service

Description

Sidecar Pattern on Linux App Service is a preview feature which is configurable through an ARM template

Implementation may require a reintroduction of linux_fx_version argument, deprecated by azurerm 3 https://registry.terraform.io/providers/hashicorp/azurerm/3.93.0/docs/resources/app_service, or maybe another argument could be introduced to control the internal provider logic to distinguish between the linux_fx_version of "DOCKER" or "SITECONTAINERS" type.

New or Affected Resource(s)/Data Source(s)

azurerm_linux_web_app

Potential Terraform Configuration

resource "azurerm_linux_web_app" "this" { 
  site_config {
    linux_fx_version = "SITECONTAINERS|<user_main/image_main:tag_main>|<user_side1/image_side1:tag_side1>...|user_sideN/image_sideN:tag_sideN>"
 
   sitecontainers {
     image = "user_main/image_main:tag_main"
     target_port = 80
     is_main = true
    }
 
   sitecontainers {
     image = "user_side1/image_side1:tag_side1"
     target_port = 2000
     is_main = false
    }
  }
}

References

https://techcommunity.microsoft.com/t5/apps-on-azure-blog/a-glimpse-into-the-future-the-sidecar-pattern-on-linux-app/ba-p/4045680

The discussions about linux_fx_version in #16290 may be relevant to the implementation of the present feature request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions