Azure Container Instances: June updates
发布日期：六月 11, 2018
Azure Container Instances supports multiple new features in the release of the June API 01-06-2018:
- Deploy multi-container groups by using simple YAML configurations from Azure CLI 2.0. You can also export the YAML from existing container groups to save and edit configurations.
az container create --resource-group MyResourceGroup --name myContainerGroup -f myconfiguraiton.yaml
az container export --resource-group MyResourceGroup --name myContainerGroup -f exportedconfiguration.yaml
- Pass secrets safely as environment variables that can only be accessed from within your container by utilizing secure values.
- Set up liveness probes for your containers so they restart when specific functionality isn't working.
- Query your container logs from Azure Log Analytics by passing in an OMS workspaceId.
For more information, see the Azure Container Instances product documentation.