Questions tagged [azure-container-service]

Microsoft Azure Container Service (ACS) optimizes the configuration of popular open source tools and technologies specifically for Azure. It allows you to easily create and host clusters of Docker containers in Microsoft Azure using either Docker Swarm or DC/OS for cluster orchestration.

azure-container-service
Filter by
Sorted by
Tagged with
55 votes
19 answers
169k views

Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it

Am working on Azure Kubernates where we can store Docker Images in Azure. Here am trying to check my kubectl version, then am getting Unable to connect to the server: dial tcp [::1]:8080: ...
Mani's user avatar
  • 1,254
52 votes
3 answers
34k views

Azure Service Fabric vs Azure Container Services

I understand that both Azure Service Fabric and Azure Container Services can be used to host microservices through containers. In what scenarios is it practical & cost effective to use one over ...
mvark's user avatar
  • 2,105
44 votes
1 answer
18k views

Difference between Azure Container Service and Web App for Containers

What is the difference between Azure Container Service and Web App for Containers? They both seem to offer a fully managed platform on which we can deploy containers. I feel that Web App for ...
Maxime's user avatar
  • 2,210
17 votes
2 answers
17k views

Scale Azure Container Instance

Is it possible to scale an ACI running container? Problem: We have some old-school Cloud Services (.NET Framework v4.7.1) we're migrating to Docker containers, we've successfully got them running ...
Kieron's user avatar
  • 26.9k
14 votes
4 answers
12k views

How can I find the service principal secret of my AKS cluster?

Okay, so I messed up, I accidentally ran az ad sp reset-credentials against the Service Principal that our AKS cluster runs under. And now we are getting errors like: Error creating load balancer (...
PeterH's user avatar
  • 801
14 votes
3 answers
9k views

"Startup File" on Azure Docker Web App

Is the "Startup File" option on the docker web app options for docker-compose files? or shell commands? I cannot find any documentation for it... Basically I'd like my Web App to run a docker-compose....
Jacob Weimer's user avatar
14 votes
1 answer
800 views

How can I kick off a container instance using the Azure api?

I have a container building in gitlab and registering itself with the gitlab custom registry. Inside this container is a command that runs a very long time. I would like to somehow deploy this ...
slf's user avatar
  • 22.7k
13 votes
2 answers
4k views

aks ingress address is empty

I created a service call portal, then I create ingress: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: portal-ingress spec: backend: serviceName: portal servicePort: 8080 ...
Alvin's user avatar
  • 8,379
12 votes
2 answers
13k views

Pull image Azure Container Registry - Kubernetes

Does anyone have any advice on how to pull from Azure container registry whilst running within Azure container service (kubernetes) I've tried a sample deployment like the following but the image ...
eggsy84's user avatar
  • 1,099
12 votes
1 answer
2k views

What is the proper way to expose an Azure Container Instance that is inside a vnet?

I have an ACI that is running a REST API that needs to be exposed publicly, but needs to access resources inside a vnet. For some reason, unlike normal VMs, if an ACI is inside a vnet, it cannot have ...
jbx's user avatar
  • 21.8k
8 votes
3 answers
9k views

Is It Possible to Restrict Access to Azure Container Instance with IP restrictions

I am creating an Azure container instance to host an index for testing purposes. Currently I can only get it to work with IpAddressType set as Public, but of course this makes the index available to ...
Andy McWilliams's user avatar
8 votes
4 answers
7k views

Kubernetes: Failed to pull image from private container registry

I'm using Azure for my Continuous Deployment, My secret name is "cisecret" using kubectl create secret docker-registry cisecret --docker-username=XXXXX --docker-password=XXXXXXX --docker-email=...
Herman's user avatar
  • 2,868
8 votes
2 answers
507 views

Multi regional Azure Container Service DC/OS clusters

I'm experimenting a little with ACS using the DC/OS orchestrator, and while spinning up a cluster within a single region seems simple enough, I'm not quite sure what the best practice would be for ...
Trond Nordheim's user avatar
7 votes
4 answers
15k views

Increase Max pods per node with advanced networking on AKS

we have created our Kubernetes cluster with Advanced Networking via the Azure Management UI. Some time later we've run into the limitation of pods per node described here: https://learn.microsoft....
Gena Batalski's user avatar
7 votes
1 answer
10k views

Mount a volume while using a docker container in Azure App Service

I've deployed a Web App on Azure and use a Docker Container from the public registry (my own image) to host my website. But users can upload pictures and data is stored in json-files on the server. Of ...
riezebosch's user avatar
  • 1,960
6 votes
4 answers
22k views

Where can i find node public ip on aks made cluster?

I've been asked by Azure support to open the question here, though i think this is an AKS bug. When deploying a cluster each node 'node.status.addresses' should show an externalip or hostname of the ...
eugeneK's user avatar
  • 11k
6 votes
2 answers
6k views

On Azure Storage, CanGenerateSasUri is always false

I have an ASP .Net Core 3.1 Web API which uses Azure Storage. For this, it was using the Microsoft.Azure.Storage.Blob library. The NuGet package manager informed me that this package was deprecated, ...
Fabricio Rodriguez's user avatar
6 votes
1 answer
4k views

Azure Docker compose fails with the environment section

I have a docker-compose.yml script working well in Azure. But when I add en environment section with two variables then it fails with this error: 2018-08-24 10:29:30.214 ERROR - Exception in multi-...
cgrim's user avatar
  • 4,968
6 votes
2 answers
7k views

Master Node on AKS cluster [closed]

I created a Kubernetes cluster using AKS service. When I execute kubectl get nodes, I expect to see the Master node. However, I don't. I only see the Agent (Role) nodes. Is it possible to look at the ...
jeeva.usa's user avatar
  • 117
6 votes
3 answers
2k views

Azure Kubernetes: TLS handshake timeout

I created a new cluster as per the Azure guide and created the cluster without issue but when I enter the kubectl get nodes to list the nodes I only get this response Unable to connect to the server: ...
Peter W's user avatar
  • 1,444
6 votes
2 answers
3k views

Best approach to run a container from an Azure function

Some general advice and pointers. I want to run a task in a container from an azure function. So either triggered by a queue or HTTP the function would spin up a container, passing some parameters ...
paulinventome's user avatar
6 votes
1 answer
2k views

Load balancer PublicIPReferencedByMultipleIPConfigs error on restart

Following along from the Use a static IP address with the Azure Container Service (AKS) load balancer documentation I have created a static IP and assigned it to the load balancer. This worked fine on ...
Kirlac's user avatar
  • 681
6 votes
1 answer
2k views

Unable to deploy specific image to App Service from Azure Container Registry

I have a Linux App Service deployed within Azure, using an image from a private Azure Container Registry. The service was up and running fine, and despite there being no changes to the image (no new ...
Andrew Stubbs's user avatar
6 votes
1 answer
6k views

Subscription could not be found in Azure Management API

I'm trying to create a Kubernetes cluster using Azure Management API. var credentials = SdkContext.AzureCredentialsFactory .FromFile(Environment.GetEnvironmentVariable("AZURE_AUTH_LOCATION")); ...
Florin-Constantin Ciubotariu's user avatar
6 votes
1 answer
972 views

Deployment with docker-compose to Azure using CLI gives timeout when visiting agent page

I have docker-compose file: version: "3" services: app2: image: kamilwit/dockerdocker_app2 container_name: app2 build: context: ./app2 volumes: - app2data:/data ...
tryingHard's user avatar
  • 1,904
6 votes
0 answers
2k views

Azure Container Service (ACS) - How can I safely restart a worker node?

I've deployed a Kubernetes cluster using the Azure CLI (az acs create command). The nodes in the cluster are running Windows. I want to shutdown and restart a worker node. I tried kubectl drain to ...
HarshaP's user avatar
  • 91
5 votes
2 answers
10k views

COPY failed: stat /var/lib/docker/tmp/docker-builder<num>/server/requirements.txt: no such file or directory

Appears to be some kind of context issue. I'm trying to figure out why this would work fine when spinning up a local Kubernetes cluser with Skaffold, but is failing to build the image properly when ...
cjones's user avatar
  • 8,886
5 votes
3 answers
3k views

Azure: Microsoft.Compute resource provider stuck 'Registering' for about a day

I've tried un-registering and re-registering and it just keeps getting stuck. No logs I can see so I'm not really sure what to do... Has anyone experienced this before?
Adam Niles-Crane Walker's user avatar
5 votes
1 answer
928 views

Azure web app for containers deploy with custom docker run command

Consider a docker image containing a React UI and a Spring REST app. I'd like to deploy this to Azure web app for containers, where the URL for the instance hits the UI which is being statically ...
I. Kirilov's user avatar
4 votes
3 answers
5k views

How do I ssh to nodes in ACS Kubernetes cluster?

I have created an ACS Kubernetes cluster following the instructions here: https://learn.microsoft.com/en-us/azure/container-service/container-service-kubernetes-walkthrough . I see that master node ...
codefx's user avatar
  • 10.2k
4 votes
3 answers
2k views

Frontend communication with API in Kubernetes cluster

Inside of a Kubernetes Cluster I am running 1 node with 2 deployments. React front-end and a .NET Core app. I also have a Load Balancer service for the front end app. (All working: I can port-forward ...
TallOrderDev's user avatar
4 votes
4 answers
9k views

Getting "unauthorized: authentication required" when pulling ACR images from Azure Kubernetes Service

I followed the guide here (Grant AKS access to ACR), but am still getting "unauthorized: authentication required" when a Pod is attempting to pull an image from ACR. The bash script executed without ...
Jeff's user avatar
  • 12.1k
4 votes
1 answer
1k views

Mapping an ACI-instance to a Reserved IP on Azure

Are there any best practices on continuous deployment to an Azure Container Instance so that it keeps the public IP? Or mapping an Azure Reserved IP to a dynamic IP that the ACI gets bound to at ...
Juha Ristolainen's user avatar
4 votes
1 answer
197 views

Kubernetes Cluster per app?

I have a two-cluster multi-region HA enabled in production working in MS Azure. I was asked to reuse the same cluster to manage several new projects using Microservices. What is the best practice ...
Hugo Marcelo Del Negro's user avatar
4 votes
2 answers
3k views

Using azure file storage with kubernetes and azure container service (aks) - permission denied

I have an azure container service (aks) cluster. It is migrated to version 1.8.1. I am trying to deploy postgres database and use AzureFileVolume to persist postgres data on. By default, if I deploy ...
regnauld's user avatar
  • 4,186
4 votes
1 answer
9k views

How to change Kubernetes garbage collection threshold values

By default, image-gc-high-threshold and image-gc-low-threshold values are 90 and 80% respectively. We want to change them to 80 and 70, How we can change the Kubernetes image garbage collection ...
Rahul Khengare's user avatar
4 votes
2 answers
2k views

How do I start a previously stopped Azure Container instance using C#?

I have the following code to stop an Azure container instance and would like to start it using similar. using Microsoft.Azure.Management.Compute.Fluent.Models; using Microsoft.Azure.Management.Fluent;...
johnstaveley's user avatar
  • 1,430
4 votes
1 answer
804 views

Azure WebApp Docker Compose Private Repository

With the Azure WebApp Service I can deploy a docker-compose file to Azure easily with public available docker images. I would like to know how it is possible to deploy an image hosted in a private ...
smichel's user avatar
  • 765
4 votes
1 answer
1k views

Cacheable Docker image for Azure Container Instances

I'm trying to use Azure Container Instances and I have a problem with long pulls of my image. It takes about 3 minutes for ACI to pull my image. I've checked the Troubleshooting guide which says the ...
fkorotkov's user avatar
  • 348
4 votes
1 answer
632 views

Configure existing VNET while creating Microsoft Azure Container Service (DC/OS)

We have our own VNET configured. I would like to use the same VNET / subnet while creating the ACS service. I am using DC/OS. Can I configure the VNET / Subnet and NSG through Azure ACS template ?
user1819071's user avatar
4 votes
2 answers
11k views

I can't login to my azure container registry

I was following the steps in this Microsoft tutorial: https://learn.microsoft.com/en-us/azure/aks/tutorial-kubernetes-prepare-acr#container-registry-login I've created a resource group, and then an ...
user9623839's user avatar
4 votes
1 answer
1k views

Using kubectl behind SSL Interception

I am working with a Kubernetes cluster running in Azure Container Services. We use SSL Interception, which results in any kubectl command returning this error: Unable to connect to the server: x509: ...
Christopher Stevenson's user avatar
4 votes
3 answers
2k views

Cannot create Azure Service Container

I tried to create an Azure Service Container in the UK West region. I went through all the steps without issue however once I clicked 'Create' after a few moments I was met with : ...
BigTallJosh's user avatar
3 votes
4 answers
5k views

Login to azure container

I used following quick start doc to spin up my first Azure container. https://learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart#feedback It worked fine. but how do ...
explorer's user avatar
  • 757
3 votes
1 answer
2k views

Building multiple images from a monorepo where each service has its own Dockerfile

I'm attempting to learn Azure DevOps Pipelines and AKS. The ultimate goal would to Build and deploy to Azure Kubernetes Service, but I'm breaking this into smaller parts so understand what is going on ...
cjones's user avatar
  • 8,886
3 votes
4 answers
2k views

Istio on Azure Container Service (AKS)

I was planning on installing Istio on my new AKS cluster. However, in the prerequisites for Istio, it is mentioned that K8S cluster should have RBAC enabled. However, I read that AKS ( preview ) doesn'...
jeeva.usa's user avatar
  • 117
3 votes
5 answers
2k views

Cannot create AKS in azure with command "az aks create"

az aks create -n MyServices -g MyKubernetes --generate-ssh-keys is not working. Error message: az aks create -n Adestis-Services -g Adestis.Kubernetes --generate-ssh-keys A Cloud Shell credential ...
Dirk Schiffner's user avatar
3 votes
2 answers
2k views

Auto-scaling of agent/worker nodes in Azure Container Service [Kubernetes]

I am working with windows + kubernetes cluster on ACS (Azure Container Service). I have few queries about the auto-scaling of agents/worker nodes in ACS. Suppose I have a cluster of 1 master and 5 ...
Muhammad Faizan's user avatar
3 votes
3 answers
3k views

Set mfsymlinks when mounting Azure File volume to ACI instance

Is there a way to specify the mfsymlinks option when mounting an Azure Files share to an ACI container instance? As shown on learn.microsoft.com symlinks can be supported in Azure Files when mounted ...
Darran's user avatar
  • 593
3 votes
1 answer
827 views

Azure Container Service Kubernetes: How to Change VM Size?

I would like to change the VM size of agents. I can't seem to do that from the CLI or by adjusting the Container Service. How can I change the size of the agents?
Jordan Baker's user avatar
  • 4,337

1
2 3 4 5
9