Questions tagged [azure-aks]

Azure Kubernetes Service(AKS) is a way to launch and manage Kubernetes within the Azure cloud. Use with the [azure] tag

Azure Kubernetes Service (AKS) manages your hosted Kubernetes environment, making it quick and easy to deploy and manage containerized applications without container orchestration expertise. It also eliminates the burden of ongoing operations and maintenance by provisioning, upgrading, and scaling resources on demand, without taking your applications offline.

https://learn.microsoft.com/en-us/azure/aks/

3395 questions
234
votes
19 answers

How to copy files from kubernetes Pods to local system

I'm trying to copy files from Kubernetes Pods to my local system. I am getting the below error while running following command: kubectl cp aks-ssh2-6cd4948f6f-fp9tl:/home/azureuser/test.cap ./test.cap Output: tar: home/azureuser/test: Cannot…
Girish
  • 2,449
  • 3
  • 9
  • 11
66
votes
5 answers

UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress

Yesterday, I stopped a Helm upgrade when it was running on a release pipeline in Azure DevOps and the followings deployments failed. I tried to see the chart that has failed with the aim of delete it but the chart of the microservice ("auth")…
54
votes
19 answers

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: connectex: No connection could be made because the target…
Mani
  • 1,228
  • 3
  • 10
  • 28
37
votes
3 answers

Finding out disk space of Kubernetes node

This is a total noob Kubernetes question. I have searched for this, but can't seem to find the exact answer. But that may just come down to not having a total understanding of Kubernetes. I have some pods deployed across three nodes, and my…
chuckw87
  • 647
  • 1
  • 6
  • 14
28
votes
6 answers

Stop all compute in AKS (Azure Managed Kubernetes)

I have created a managed Kubernetes cluster in Azure, but it's only for learning purposes and so I only want to pay for the compute whilst I'm actually using it. Is there a easy way to gracefully shut down and start up the VMs, availablity sets and…
Dan O'Leary
  • 2,660
  • 6
  • 24
  • 50
25
votes
8 answers

Keep running into "exceeded its progress dead line" despite changing progressDeadlineSeconds

I'm new AKS, ACR, and DevOps Pipelines and I'm trying to setup a CI/CD pipeline. I have a resource group setup that has both AKS and ACR in it. AKS is using Standard_B2s and only one node at this point since I'm just playing around. Images are being…
cjones
  • 8,384
  • 17
  • 81
  • 175
25
votes
5 answers

terraform helm release timeout while waiting for condition

I'm using terraform to provision some resources in azure and I can't seem to get helm to install nginx-ingress because it timeouts waiting for condition helm_release.nginx_ingress: 1 error(s) occurred: helm_release.nginx_ingress: rpc error: code =…
23
votes
17 answers

Unable to connect to the server: dial tcp: lookup : no such host

I'm beginning to build out a kubernetes cluster for our applications. We are using Azure for cloud services, so my K8s cluster is built using AKS. The AKs cluster was created using the portal interface for Azure. It has one node, and I am attempting…
Carson
  • 864
  • 1
  • 6
  • 19
22
votes
8 answers

Access denied. Needs Use permissions for pool Default to perform the action

I get following error when trying to save a release pipeline on Azure dev. What exact permissions do I need to ask from my administrator? Access denied. <> needs Use permissions for pool Default to perform the action. For more information,…
Channa
  • 3,267
  • 7
  • 41
  • 67
21
votes
4 answers

invalid from flag value build: pull access denied for build, repository does not exist or may require 'docker login'

I am trying to build a simple docker console project at azure DevOps pipeline, but i am unable to build the project. When i try to copy the code i get this error: invalid from flag value build: pull access denied for build, repository does not…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
21
votes
3 answers

How to Integrate GitLab-Ci w/ Azure Kubernetes + Kubectl + ACR for Deployments?

Our previous GitLab based CI/CD utilized an Authenticated curl request to a specific REST API endpoint to trigger the redeployment of an updated container to our service, if you use something similar for your Kubernetes based deployment this…
Necevil
  • 2,802
  • 5
  • 25
  • 42
17
votes
2 answers

Azure DevOp Pipelines authentication to AKS with Azure AD RBAC configured?

We have configured our Azure Kubernetes Clusters to use Azure Active Directory RBAC. This means when using kubectl we need to first authenticate as an AD user (usually done through manually completing device code authentication via the web browser).…
Dave New
  • 38,496
  • 59
  • 215
  • 394
16
votes
5 answers

kubectl - How to restart a deployment (or all deployment)

We have an AKS cluster and sometimes we end up with an issue where a deployment needs a restart (e.g. cached data has been updated and we want to refresh it or there is corrupt cache data we want to refresh). I've been using the approach of scaling…
Matthew van Boheemen
  • 1,087
  • 3
  • 13
  • 21
16
votes
4 answers

How to give permissions to AKS to access ACR via terraform?

Question and details How can I allow a Kubernetes cluster in Azure to talk to an Azure Container Registry via terraform? I want to load custom images from my Azure Container Registry. Unfortunately, I encounter a permissions error at the point…
hey
  • 2,643
  • 7
  • 29
  • 50
16
votes
2 answers

NGINX ingress controller timing out request after 60s

When a request takes over 60s to respond it seems that the ingress controller will bounce From what I can see our NGINX ingress controller returns 504 to the client after a request takes more than 60s to process. I can see this from the NGINX…
Dave New
  • 38,496
  • 59
  • 215
  • 394
1
2 3
99 100