Questions tagged [aks]

80 questions
0
votes
0 answers

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 whitelist individual address and not ranges. The…
Ed Boykin
  • 101
  • 2
0
votes
0 answers

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 recommendation?
0
votes
0 answers

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. az network nsg rule create \ --resource-group…
Wadjet
  • 1
0
votes
1 answer

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 pod is running, which for the pods in question…
David Hirst
  • 193
  • 1
  • 1
  • 8
0
votes
0 answers

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 these resources, I have tried most of the Storage…
htm11h
  • 170
  • 11
0
votes
1 answer

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 have a public IP. I am looking for a possible explanation…
faizan
  • 98
  • 4
0
votes
0 answers

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 DB by enabling 'selected networks' in Cosmos DB. I…
floaty39
  • 1
  • 1
0
votes
0 answers

Cannot install cluster autoscaler manually in an AKS cluster

I want to install Cluster Autoscaler for an AKS cluster manually (not enable cluster autoscale) but it doesn't work. I tried many ways: using helm chart, using yaml files, but no one works. I referred to some examples…
xuanhai266
  • 169
  • 7
0
votes
0 answers

How do you instrument a nodepool in AKS to use their public ip for all communication outbound?

How do you go about configuring two nodes in AKS to use their public ip in a request/response type setting? Say you have two nodes in AKS, A and B. A hosts a API and B consumes it. B is configured with a public ip. and A has a DNS name mapping to…
netbrain
  • 753
  • 1
  • 6
  • 11
0
votes
0 answers

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-manager jetstack/cert-manager \ --namespace…
user2331760
  • 155
  • 4
  • 12
0
votes
0 answers

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 metadata: labels: app: jenkins-agent spec: …
user2331760
  • 155
  • 4
  • 12
0
votes
0 answers

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://localhost/api/v1/namespaces/devcluster-ns": dial…
gotothesky
  • 13
  • 3
0
votes
1 answer

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 command sudo chmod +x rtfctl Now it is asking for my…
Ashish
  • 101
  • 1
0
votes
0 answers

Azure AKS Web API 500 error outside of debugger

I am developing a REST API using ASP.NET and .NET 7. Everything works fine on my local machine (in and out of a Docker container), when I publish to Azure App Service again no problem but when I publish to AKS (HTTP layer for now) I get 500 internal…
Mike F
  • 101
  • 1
0
votes
0 answers

Terraform running Helm deploy against AKS fails with "failed to find any PEM data in key input"

I'm setting up a one-click deploy of an environment for some webservices, in which Terraform is used to deploy the infrastructure and then run Helm to populate it. The Terraform step is working fine and I can see the Kubernetes cluster created in…