This message was deleted.
# azure
s
This message was deleted.
i
Also, it seems to hang indefinetly when creating the container env. Any thoughts on why this might be?
i
is that of type
AzureNative.App.ContainerApp
?
i
yes
well..
πŸ‘€ 1
i
can you share your code that you’re using to create?
looks like
AzureNative.App.ManagedEnvironment
i
yeah, before I can create the app, I need an managed env
It may have something to do with the fact that it needs to be part of a virtual network
πŸ‘ 1
i
i looked at a managedenvironment that I created and the only real difference is the Vnet configuration
i’d start there
i
I just created one without the virtual network settings. Still same results strangely enough
Ok.. but.. I just created one through the portal and it ALSO creates the weird vnet. So it's not a pulumi problem but an azure problem. Thanks for your input πŸ™‚
πŸ™Œ 1
m
Azure Container App is based on a Kubernetes, so I would expect to get the LB for the k8s API server.
i
Sure, on some level, that makes sense, it's just that it creates a new resource group with some (what to me appears to be) unrelated resources and a seemingly randomized name.
If it would have created these resources in the same resource group it would have already made more sense
I think they did it this way because they kept the names the same for the resources (such as the LB) so it HAS to be in a different resource group.
m
Its like Managed Cluster in Azure, it also creates an node resource group.
with the default MC_xxxx name of the rg
i
exactly
m
I change the name always πŸ˜„
i
but you'd have to go in and do that manually right?
m
I don't know in Container App if its possible there, but in vanilla MC i use the
nodeResourceGroup
property
i
or do you have a way to do that also through pulumi?
m
Just checked, It's not possible. Makes probably again sense, as Container App push K8s into an implementation detail.
i
yeah, was looking as well.. annoyingly enough, from CLI there is that option https://learn.microsoft.com/en-us/azure/aks/faq#can-i-provide-my-own-name-for-the-aks-node-resource-group
m
For AKS yes, but for Container Apps I did not find one. Not even the CLI has a hidden flag
Copy code
az containerapp create -h
i
oh you're right, was looking in the wrong place
m
I would had celebrate this, to satisfy my inner OCD πŸ˜„
😁 1