You are deploying a containerized microservice named inventory-service to Azure Container Apps. The service needs to communicate with other services in the same Container App Environment using HTTP/2, but it must not be accessible from the public internet.
Which two configuration settings must you apply to the Container App configuration to meet these requirements? (Select two.)
- Set the external property within the ingress configuration block to false.Cevap
- Set the transport property within the ingress configuration block to http2.Cevap
- CEnable a system-assigned managed identity on the Container App Environment rather than the individual Container App.
- DConfigure Azure Container Registry (ACR) credentials in the registries block using an admin account to authorize inbound requests.
Cevap
To configure an internal Container App that communicates via HTTP/2, you must set the ingress external property to false and the transport property to http2 within the application's configuration definition.
To restrict access to the Container App Environment and prevent public internet access, the external property within the ingress block must be set to false. Additionally, the transport property within the ingress block must be set to http2 to support HTTP/2 communication. Both properties are standard ingress settings configured at the Container App level.
Adım Adım Çözüm
Anahtar Kavram
Configuring ingress parameters for Azure Container Apps to restrict accessibility to the internal environment and define specific network transport protocols.