Comments (2)
if you're using the cli, you can create such app on ACA using
properties:
environmentId: '{Your Env Id}'
configuration:
ingress:
# set `external: true` if you want to be able to access these ports from _outside_ the environment.
# setting it to `external: false` means this is only available to apps running _inside_ the environment.
external: false
targetPort: 90
exposedPort: 90
transport: tcp
allowInsecure: false
additionalPortMappings:
# you can have up to 5 additional port mappings in here
- external: false
targetPort: 310
exposedPort: 310
- external: false
targetPort: 456
exposedPort: 456
template:
containers:
- name: my-app
image: <image_name>:<version>
scale:
minReplicas: 1
maxReplicas: 1
Then create your app using
az containerapp create \
--name <app-name>
--resource-group <resource-group> \
--yaml /path/to/app.yaml # file with above content.
from azure-container-apps.
Great, I will try. I thought is only implemented for ARM/Bicep with api-version=2023-05-02-preview.
If I create the ACA from portal the api is 2022 and I can not update it after.
I tried to patch the existing ACA using a json config with no luck.
Updating an existing container ACA to expose multiple ports failed.
I will try the method you provided to create an ACA with multiple ports and also update the existing one.
Using Bicep with the latest version was with success.
I will test via CLI too and circle back.
Thanks 😊
from azure-container-apps.
Related Issues (20)
- Feature Request: Let users with "ContainerApp Reader" RBAC Role view Log Stream HOT 1
- Ingress Target Port 80 and 443 HOT 4
- Issue with Client Certificate when accessing from Azure Networks HOT 2
- Container Apps Revisions goes away after adding Route Table to subnet HOT 4
- Startup probe not working as expected HOT 5
- Consumption vs Consumption on Dedicated Plan structure memory HOT 7
- Feature Request: expose mc_ resource group from managed environment api HOT 2
- Multiple values in CRON expression for jobs no longer works HOT 4
- Feature Request: Link Azure Container Registry to Container App Environment HOT 4
- Roadmap: Import a certificate from Key Vault HOT 1
- Container jobs cannot connect to container apps in the same environment HOT 3
- Container app gets killed in the middle of the execution.
- InvalidParameterValueInContainerTemplate - deploy quickstart image in portal with VNet HOT 3
- Container App Jobs with Azure Firewall - undocumented/broad rules HOT 1
- Internal Server Error when trying to deploy Container Apps Job using DevOps Pipelines with task AzureCLI@2 HOT 3
- GitHub Actions runners and Azure Pipelines agents with Azure Container Apps not working HOT 1
- Examine why ephemeral storage fills up HOT 2
- CosmosDB request timeouts in vNet deployed "Workload profiles" environment HOT 3
- Nginx container app + Azure File Share - can't read/write HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-container-apps.