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
9
votes
3 answers

Helm Release stuck in Uninstalling state

I was trying to uninstall a helm release in my AKS cluster using helm uninstall RELEASE_NAME but seems like it failed. The failure happened because for some reason all of the nodes in my cluster went in a not ready state when I used helm…
Saurav Saha
  • 745
  • 1
  • 11
  • 30
9
votes
3 answers

azure aks not able to pull images from acr

it was a working set up and no manual changes were made. when we are trying to deploy application on aks; it fails to pull an image from the acr. as per kubectl describe po output: Failed to pull image "xyz.azurecr.io/xyz:-beta-68": [rpc error: code…
sanjeeth
  • 105
  • 4
9
votes
2 answers

Nginx-ingress-controller fails to start after AKS upgrade to v1.22

We performed our kubernetes cluster upgrade from v1.21 to v1.22. After this operation we discovered that our nginx-ingress-controller deployment’s pods are failing to start with the following error…
Rychu
  • 765
  • 1
  • 4
  • 20
9
votes
1 answer

How can I query CPU and memory usage per container in AKS?

So, I can plainly see per container stats in the insights tab of AKS. These must come from somewhere, but I can only find per node stats when querying logs/metrics. How can I query this (in order to build a workbook).
neManiac
  • 181
  • 1
  • 7
9
votes
4 answers

Kubernetes HPA on AKS is failing with error 'missing request for cpu'

I am trying to setup HPA for my AKS cluster. Following is the Kubernetes manifest file: apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: XXXXXX\tools\kompose.exe convert kompose.version: 1.21.0 (992df58d8) …
Sormita Chakraborty
  • 1,015
  • 2
  • 19
  • 36
9
votes
1 answer

How to fix 'container runtime is down,PLEG is not healthy'

I have aks with one kubernetes cluster having 2 nodes. Each node has about 6-7 pod running with 2 containers for each pod. One container is my docker image and the other is created by istio for its service mesh. But after about 10 hours the nodes…
Ask
  • 91
  • 1
  • 1
  • 2
9
votes
1 answer

What Azure Kubernetes (AKS) 'Time-out' happens to disconnect connections in/out of a Pod in my Cluster?

I have a working Cluster with services that all respond behind a helm installed Ingress nGinx running on Azure AKS. This ended up being Azure specific. My question is: Why does my connection to the services / pods in this cluster periodically…
Necevil
  • 2,802
  • 5
  • 25
  • 42
8
votes
2 answers

Azure CLI in WSL2 uses Windows home directory

Running this in WSL2 (current folder /home/my-linux-user/): az aks get-credentials --resource-group my-resource-group --name cluster-name Outputs: Merged "cluster-name" as current context in C:\Users\my-windows-user\.kube\config What do I need to do…
Joel
  • 8,502
  • 11
  • 66
  • 115
8
votes
2 answers

Could not get apiVersions from Kubernetes: Unable to retrieve the complete list of server APIs

While trying to deploy an application got an error as below: Error: UPGRADE FAILED: could not get apiVersions from Kubernetes: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the…
Sanket Singh
  • 1,246
  • 1
  • 9
  • 26
8
votes
4 answers

Communication between Pods in Kubernetes. Service object or Cluster Networking?

I'm a beginner in Kubernetes and I have a situation as following: I have two differents Pods: PodA and PodB. Firstly, I want to expose PodA to the outside world, so I create a Service (type NodePort or LoadBalancer) for PodA, which is not difficult…
8
votes
1 answer

Why memory usage is greater than what I set in Kubernetes's node?

I allocated resource to 1 pod only with 650MB/30% of memory (with other built-in pods, limit memory is 69% only) However, when the pod handling process, the usage of pod is within 650MB but overall usage of node is 94%. Why does it happen because…
DaiKeung
  • 1,077
  • 1
  • 19
  • 38
8
votes
4 answers

How to set a Domain Name for a Load Balancer Service on AKS

What is the process to assign a DNS record to a Load balanced service. I have created a simple service of Type LoadBalancer on AKS. The service gets a external IP assigned and points to pods hosting a sample hello world application. How do I browse…
APSR
  • 83
  • 1
  • 1
  • 4
8
votes
3 answers

kubectl logs returns nothing (blank)

kubectl logs web-deployment-76789f7f64-s2b4r returns nothing! The console prompt returns without error. I have a pod which is in a CrashLoopbackOff cycle (but am unable to diagnose it) --> web-deployment-7f985968dc-rhx52 0/1 …
Banoona
  • 1,470
  • 3
  • 18
  • 32
8
votes
2 answers

mongodb StatefulSet on kubernetes is not working anymore after kubernetes update

I have updated my AKS Azure Kubernetes cluster to version 1.11.5, in this cluster a MongoDB Statefulset is running: The statefulset is created with this file: --- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: …
aumanjoa
  • 905
  • 1
  • 11
  • 30
8
votes
3 answers

Shell (ssh) into Azure AKS (Kubernetes) cluster worker node

I have a Kubernetes cluster in Azure using AKS and I'd like to 'login' to one of the nodes. The nodes do not have a public IP. Is there a way to accomplish this?
Greg Bala
  • 3,563
  • 7
  • 33
  • 43