Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [aks]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
40 views

502 Error When Accessing AKS via Application Gateway Ingress in Azure Private network

I have configured an Azure Kubernetes Service (AKS) with an Application Gateway in a private network setting. To facilitate communication between them, I've set up an Application Gateway Ingress ...
Rahul's user avatar
  • 111
0 votes
0 answers
17 views

I'm getting the error "InvalidParameter" while trying to create nodes in my AKS Cluster

I'm trying to install CAST AI, a tool that helps to reduce kubernetes costs, the tool is trying to create a agentPools in my cluster but i'm getting the following error: { "code": "...
vero's user avatar
  • 1
1 vote
0 answers
45 views

Upgrading personal AKS cluster

I have a personal Kubernetes cluster on AKS and Azure is making it mandatory for me to update the Kubernetes version in order to add a new node into the cluster. Now that I have to do this, I would ...
deniable_encryption's user avatar
0 votes
0 answers
38 views

Data written to PVC using job pod is not available in main POD

I have a job pod with a bash script that executes and writes data to the PVC, however, the same data is not available when I check in from the main POD, both the deployment & job use the same PVC, ...
Naveen Naidu's user avatar
0 votes
1 answer
120 views

Azure kubernetes service private cluster

I have a private Kubernetes cluster that needs to be accessible by a client, but I still want to keep everything enclosed within a VPN. Unfortunately, the VPN I created requires an address space that ...
DevLookForHelp's user avatar
1 vote
1 answer
87 views

Setting bytes-to-inode ratio on AKS storage class

I'm hitting inode limits on an AKS cluster in a volume (ext4) provisioned with Azure Disk Provisioner. I've found the docs on the CSI Driver, but there's no mention on how to choose the target ...
fuero's user avatar
  • 9,749
0 votes
0 answers
17 views

Clarification Needed on Lifecycle Management of AKS LoadBalancer IP Addresses Labeled 'Static'

I'm currently managing an AKS cluster and have come across a point of confusion regarding the public IP addresses allocated for LoadBalancer services. These IPs are labeled as 'Static' in my Azure ...
Christian Matthew's user avatar
0 votes
0 answers
64 views

How to set azure app gateway ingress in one namespace and target service istio-ingress is in another namespace in kubernetes?

azure app gateway ingress in one namespace and target service istio-ingress is in another namespace, how to set that. apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: server-ingress ...
uday kiran reddy's user avatar
0 votes
0 answers
245 views

OpenTelemetry Collector Data not being fetched by Prometheus in Grafana

I have a requirement where I have some container workload in Azure AKS cluster and I need to use OpenTelemetry to gather data like metrics, logs and traces. I also have Grafana as the visualisation ...
arjunbnair's user avatar
0 votes
0 answers
65 views

How to fix access denied error for aks kubernetes commands?

with service principal logged in with azure cli. Below command got this error. az aks command invoke --resource-group rg-licanltcs-aks-prod --name aks-licanltcs-prod-eastus --command "kubectl ...
uday kiran reddy's user avatar
0 votes
0 answers
166 views

OpenTelemetry K8s Operator Collector - Exporter Configuration for Prometheus

I have some container workloads in Azure AKS cluster. I need to use OpenTelemetry to get the metrics, logs and trace data from the container workload and get it collected by the OTEL collector. I have ...
arjunbnair's user avatar
0 votes
1 answer
104 views

What happens to Pod-Workload if a Node gets destroyed

when running pod-workload on an AKS-cluster with autoscaling enabled, what happens, if the pool gets scaled down? If a Pod is running workload on a node, and this node is being removed because of ...
greterpiffin's user avatar
0 votes
0 answers
108 views

How to route azure application gateway to a service in different namespace?

My ingress for azure application gateway, so that it will use istio gateway internally. apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: server-ingress namespace: productnamespace ...
sardar's user avatar
  • 11
0 votes
0 answers
98 views

How to use mTLS without using istio ingress and using azure app gateway ingress?

We have our application running in aks cluster and using cert-manager helm chart in separate namespace for lets encrypt certificate generation. argocd namespace is for handling deployments. We need to ...
sardar's user avatar
  • 11
0 votes
1 answer
742 views

Dealing with Flask routing paths when deployed behind URL prefix

I have single page application build using the python Flask framework. I'm using gunicorn as the web server and I have containerised it using docker. It is deployed on Azure Kubernetes Services (aks) ...
gigio's user avatar
  • 3
1 vote
0 answers
409 views

AKS Egress Internal via Load Balancer to on-premise service

I have an AKS cluster and one of the pods, call it "my-service", needs to connect to an on-premises service via VPN and that service requires whitelisting of IPs. Unfortunately, it can only ...
Ed Boykin's user avatar
  • 111
0 votes
0 answers
132 views

AKS System Node Pool and number of nodes

The AKS docs mention that 3 nodes are recommended in Production for System Node Pool. What is the rationale behind this? Does the fact that the cluster is a private cluster change anything in the ...
Maximusawesome's user avatar
0 votes
0 answers
74 views

Restrict access to a Prometheus server in AKS can only be achieved with nginx-ingress?

Prometheus server with its respective Loadbalancer in AKS. I wanted to secure the access to /metrics through network rules...but it doesn't work. I can still acess to the endpoint with any device. ...
Wadjet's user avatar
  • 1
0 votes
1 answer
408 views

AKS Kubectl command doesn't return completed pods

I am using AKS with Kubernetes v1.25.6 and I have started to see a number of pods with a Completed status. From what I understand these are generated when an exit 0 code is returned on the process the ...
David Hirst's user avatar
0 votes
0 answers
49 views

Azure AKS Persistent Volume and Storage class permissions

I am looking for specific permissions that will allow read access to view the storage configurations and set up in Azure AKS. There just doesn't seem to be anyway to provide limited read access to ...
htm11h's user avatar
  • 170
0 votes
1 answer
524 views

Why do my AKS node have public IP even though "enableNodePublicIP" is set to false?

I have an AKS cluster where I added a new node pool. While creating the node pool, I set the option "Enable public IP per node" as Disabled. However, I still notice that my nodes in the VMSS ...
faizan's user avatar
  • 98
1 vote
1 answer
742 views

strict MIME type checking is enabled issue with PGAdmin in Azure application gateway

I am trying to install pgAdmin (image: 'dpage/pgadmin4:6.21') in Azure AKS. I am able to access the application when I use a Kubernetes LoadBalancer service, but when I use an Azure Application ...
k.elgohary's user avatar
0 votes
0 answers
307 views

CosmosDB with private endpoint causes 'request originated from VNET through service endpoint' error?

I have a Node Js app which interacts with CosmosDB and which is deployed to a private AKS cluster. I was able to connect to Cosmos DB through a service endpoint in the Cluster VNET/subnet for Cosmos ...
floaty39's user avatar
1 vote
2 answers
104 views

Monitor Azure Kubernetes Service (AKS) with Prometheus servers running independently

Can I deploy Prometheus to each Azure Kubernetes Service (AKS), and monitor each Prometheus from a Prometheus created by a virtual machine outside the AKS? In other words, I want to connect the ...
gotothesky's user avatar
-1 votes
1 answer
332 views

Azure aks private cluster - How show list workload

I learning work with aks in azure. I want create private aks. I know manage or deploy to cluster over az aks command invoke.... But I have problem with portal.azure.com. When I click to list ...
spirit123's user avatar
0 votes
0 answers
694 views

cert-manager failing to generate certificate in kubernetes, how to fix that?

In the aks cluster, the helm chart I installed: Chart got from link And the ingress chart I used helm repo add jetstack https://charts.jetstack.io helm repo update helm upgrade --install \ cert-...
user2331760's user avatar
0 votes
0 answers
2k views

How to build a docker image from jenkins agent running on kubernetes?

I tried below pipeline code to check whether docker commands work first but failing. pipeline { agent { kubernetes { yaml """ apiVersion: v1 kind: Pod ...
user2331760's user avatar
0 votes
0 answers
4k views

invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

enter image description here Error: Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable Error: Get "http:...
gotothesky's user avatar
0 votes
1 answer
96 views

MuleSoft Runtime Fabric Deployment on Azure

I am new to RTF and Azure. I am following the MuleSoft documentation for the installation of RTF in AKS. https://docs.mulesoft.com/runtime-fabric/1.10/install-rtfctl It comes with the following ...
Ashish's user avatar
  • 101
2 votes
1 answer
1k views

What does the MEMORY(bytes) value mean in "kubectl top nodes" on Windows AKS nodes?

When I run kubectl top nodes on my Azure Kubernetes Services cluster with Windows nodes, I get a value back for MEMORY(bytes): PS >kubectl top nodes NAME CPU(cores) ...
Fabian Schmied's user avatar
0 votes
1 answer
274 views

AKS Isolate Service in namespace

We deploy a service to our existing AKS cluster that needs to be isolated as much as possible so it can't access other services or resources in our cluster. I created a new kubernetes namespace and ...
Markus S.'s user avatar
  • 101
2 votes
1 answer
328 views

Azure App Gateway warning about Public IP

I am using the Azure App Gateway v2 and the App Gateway Ingress Controller as a public frontend to an AKS cluster. Following the guidance in this doc, I created and associated the IP address to my ...
gutsmania's user avatar
  • 121
2 votes
2 answers
4k views

How does Azure Loadbalancer work with Azure AKS

I recently tried to figure out how an Azure Loadbalancer in front of an Azure AKS cluster actually routes traffic to the cluster nodes. Our (quite basic) setup: AKS cluster version 1.23.x with the ...
antaxify's user avatar
  • 123
1 vote
0 answers
1k views

ETCD snapshots causing etcdserver: leader changed

For a while now we've experienced regular errors from operations on kube API in AKS resulting in etcdserver: leader changed message. From what we've learned there is an ETCD snapshot performed every ...
Radek 'Goblin' Pieczonka's user avatar
1 vote
0 answers
372 views

Azure AKS user nodepool VM temporary storage requirements

Do AKS user nodepool VMs use Azure VM temporary storage for any purpose? Can an AKS user nodepool run on VMs without temporary storage? What is is the minimal amount of Azure VM temporary storage ...
axk's user avatar
  • 267
1 vote
0 answers
186 views

How to access aks service from same vnet?

I have created an aks cluster and deployed an application there and exposed it as a service. Can be accessible through LoadBalancer. To access it internally, I created a windows VM in the same vnet (...
user2331760's user avatar
0 votes
2 answers
521 views

Unable to serve images from wordpress site - response is malformed

I'm trying to deploy Wordpress behind Traefik on Azure, using a PersistentVolume backed by Azure Files. For the most part, it works. I could set up wordpress, configure it, access it externally, ...
IanJ's user avatar
  • 1
0 votes
0 answers
64 views

How are Kubernetes persistent volumes related to AzureDisks in AKS?

Say I have One K8s node with Two pods. Each pod claims 5Gi of PV storage. The provisioned AKS VM (node) has a 32GiB SKU SSD AzureDisk data drive. Will/can both of the 5Gi K8s volumes be located on the ...
maloo's user avatar
  • 101
1 vote
0 answers
350 views

How to keep postgres flexible server and aks on the same vnet?

I have created aks cluster with azure network type selected. Terraform files for reference My VNet used with aks. But this vnet is not available in the dropdown of azure postgres flexible server ...
Sara June's user avatar
  • 521
1 vote
1 answer
2k views

How to connect AKS with postgres in private vnet?

I have created postgres with private vnet option. So, no direct access to posgres from internet. But, I can't access it from "CloudShell" also. Also, while creating database,when I want to ...
Sara June's user avatar
  • 521
0 votes
1 answer
805 views

How to create a service connection with access to all namesapces in azure kubernetes pipeline?

I tried to create a service connection to azure kubernetes cluster, but it is asking to provide namespace mandatory. So I provided one namespace and set the cluster admin option selected. And in the ...
Sara June's user avatar
  • 521
0 votes
1 answer
2k views

How to set flux to deploy latest image tag for every build?

I have added github actions to build a docker image for every latest commit and push it to our container registry in azure. We have created yaml files to deploy the docker image to kubernetes on azure....
Sara June's user avatar
  • 521
0 votes
0 answers
1k views

AKS Multiple Nginx Ingress with internal LB

Azure Kubernetes - AKS - K8s version - 1.20.9. Trying to setup multiple nginx ingress with Internal LB. ingress controller with ingress-class - helm install test1 ingress-nginx/ingress-nginx \ --...
sanjayparmar's user avatar
0 votes
1 answer
2k views

How to launch a sql file on kubernetes pod creation?

We have our database either in aws rds or azure postgres or even on a different online server based on customer. But our product will be running in azure kubernetes as a pod and service with database ...
uday kiran's user avatar
1 vote
1 answer
886 views

How to expose services in private AKS cluster?

I've created a private cluster on AKS and deployed some workloads to it, but I'm not sure how to connect to the services. They are all NodePort services, both TCP & UDP. Initially, I thought that ...
Sentrigan's user avatar
0 votes
1 answer
1k views

Custom CRDs not getting deleted in aks cluster, how to delete that?

I have installed consul helm repository to default namespace. Now, want to change it to a custom namespace. So, deleted the help chart using helm uninstall command. Now, when I try to install again, ...
uday kiran's user avatar
0 votes
0 answers
2k views

How to redirect the port in ingress?

In that ingress section of AKS, we can add routes to multiple application but all having container port as 80 only. With Ingress, our application is using port 8080. But with ingress, even if I keep ...
Sara June's user avatar
  • 521
0 votes
2 answers
2k views

Kubernetes NGINX Ingress Controller Failure using Helm on AKS

When going through the setup of a K8 ingress controller, which is documented here I am unable to get past the step of "Create an Ingress Controller" During the Helm command step and placing ...
thxmike's user avatar
  • 153
1 vote
2 answers
2k views

What is the right way to assign Network Contributor Role to an AKS cluster via ARM / Bicep template?

I'm trying to configure a Load Balancer for my AKS server using Bicep/ARM. I am using the NGinx Ingress Controller in kubernetes and it does seem to work but when I first spin things up I am ...
justin.m.chase's user avatar
0 votes
1 answer
227 views

Use fwmark in iptables on a container running in Azure K8S

I have a weird use case, where a pod running in Azure Kubernetes needs to route traffic from specific ports to specific targets through a dedicated VPN tunnel. But those targets are private IPs and ...
neomax's user avatar
  • 11