Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while implementing automatic autoscaling pods on Azure #65

Open
DanielaGrassi opened this issue Jan 14, 2022 · 0 comments
Open

Error while implementing automatic autoscaling pods on Azure #65

DanielaGrassi opened this issue Jan 14, 2022 · 0 comments
Labels
wontfix This will not be worked on

Comments

@DanielaGrassi
Copy link
Collaborator

The following are the commands that i used to deploy

az group create --name ctcovid --location eastus
az acr create --resource-group ctcovid --name ACRctcovid --sku Basic
az acr login --name ACRctcovid
docker images
az acr list --resource-group ctcovid --query "[].{acrLoginServer:loginServer}" --output table
docker tag peppocola/ct-covid:v1 acrctcovid.azurecr.io/peppocola/ct-covid:v1
docker push acrctcovid.azurecr.io/peppocola/ct-covid:v1
az acr repository list --name ACRctcovid --output table
az aks create --resource-group ctcovid --name AKSctcovid --node-count 2 --generate-ssh-keys --attach-acr ACRctcovid
az aks get-credentials --resource-group ctcovid --name AKSctcovid
az acr list --resource-group ctcovid --query "[].{acrLoginServer:loginServer}" --output table
kubectl apply -f azure-kubernetes.yaml
kubectl get service ct-covid-service --watch

Then when i try to implement the automatic autoscale with this command

az aks show --resource-group ctcovid --name AKSctcovid --query kubernetesVersion --output table

The kubernetes cluster stops and the following error appears in the log:

"statusMessage": "{"status":"Failed","error":{"code":"ResourceOperationFailure","message":"The resource operation completed with terminal provisioning state 'Failed'.","details":[{"code":"CreateVMSSAgentPoolFailed","message":"Code=\"OperationNotAllowed\" Message=\"Operation could not be completed as it results in exceeding approved standardDSv2Family Cores quota. Additional details - Deployment Model: Resource Manager, Location: eastus, Current Limit: 4, Current Usage: 0, Additional Required: 6, (Minimum) New Limit Required: 6. Submit a request for Quota increase at https://aka.ms/ProdportalCRP/#blade/Microsoft_Azure_Capacity/UsageAndQuota.ReactView/Parameters/%!B(MISSING)%!s(MISSING)ubscriptionId%!:(MISSING)%!c(MISSING)ecfd4d6-d798-44ec-98a9-0b5bee71c63d%!,(MISSING)%!c(MISSING)ommand%!:(MISSING)%!o(MISSING)penQuotaApprovalBlade%!,(MISSING)%!q(MISSING)uotas%!:(MISSING)[%!B(MISSING)%!l(MISSING)ocation%!:(MISSING)%!e(MISSING)astus%!,(MISSING)%!p(MISSING)roviderId%!:(MISSING)%!M(MISSING)icrosoft.Compute%!,(MISSING)%!r(MISSING)esourceName%!:(MISSING)%!s(MISSING)tandardDSv2Family%!,(MISSING)%!q(MISSING)uotaRequest%!:(MISSING)%!B(MISSING)%!p(MISSING)roperties%!:(MISSING)%!B(MISSING)%!l(MISSING)imit%!:(MISSING)6,%!u(MISSING)nit%!:(MISSING)%!C(MISSING)ount%!,(MISSING)%!n(MISSING)ame%!:(MISSING)%!B(MISSING)%!v(MISSING)alue%!:(MISSING)%!s(MISSING)tandardDSv2Family%7D%!D(MISSING)%!D(MISSING)%!D(MISSING)]%!D(MISSING) by specifying parameters listed in the ‘Details’ section for deployment to succeed. Please read more about quota limits at https://docs.microsoft.com/en-us/azure/azure-supportability/per-vm-quota-requests///%22/%22%7D]%7D%7D",

@peppocola peppocola added the wontfix This will not be worked on label Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants