Questions tagged [aks]

80 questions
1
vote
0 answers

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 creation.
Sara June
  • 451
  • 1
  • 9
  • 28
1
vote
1 answer

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 choose existing VNets, aks cluster(VNet) is not showing in…
Sara June
  • 451
  • 1
  • 9
  • 28
1
vote
1 answer

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 the endpoint AKS provides could be used to interact…
Sentrigan
  • 21
  • 5
1
vote
1 answer

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 encountering an error. Mainly I'm wondering what is the…
1
vote
1 answer

How to simulate an Availability Zone (AZ) failure in Azure?

I'm setting up a cross AZ AKS cluster. I would like to simulate a failure of an AZ to test the behaviour of cluster and application after such an event. What would be the best way of doing this?
Alvin
  • 11
  • 1
1
vote
1 answer

Consul containers are creating as privileged containers, how to change that?

With the azure policy addon enabled(as per organization policy), we can’t create privileged containers on the aks, azure kubernetes. Our application is set to security context as below. securityContext: allowPrivilegeEscalation: false …
uday
  • 352
  • 10
  • 30
1
vote
2 answers

I have deleted all the Azure AKS Kubernetes Nodes, how to restore back the Cluster to it's original state?

I am new to the Azure AKS Cluster world, and while messing with a test cluster i have deleted all its Nodes with kubectl delete node xxxx, thinking that the cluster will heal itself. Boy, was i wrong. Now, let me explain the issue, so, when i run…
bumbo-jumbo
  • 31
  • 1
  • 4
1
vote
0 answers

AKS Certificate Manager upgrade w/ namespace change - Wrong cert-manager hook ID

Recently, we changed uninstalled our cert manager and reinstalled it into a new namespace. There were no issues with the uninstall / reinstall of the cert manager. When we tried to create a new certificate issuer, the cert manager is unable to…
Brennan Mann
  • 133
  • 1
  • 3
1
vote
0 answers

Azure AKS does not have D2 v4 nodes listed in selection

Want to select D2 v4 (0GB Temp storage) nodes for my AKS node pool, but this node size is not available. Now we are using D2s v3 (16GB temp storage). That temp storage is not used and also is not that cheap (premium p10 ssd). Azure Pricing…
1
vote
0 answers

Maesh address not resolved in AKS

I'm currently working with migrating a deployment to maesh. In this process I annotated, as required. my service with the maesh label. But trying to curl the service afterwards fails. The old address(in my example) with…
kek112
  • 11
  • 1
1
vote
0 answers

mysql helm aks keeps crashing

I tried to install mysql using helm chart helm install mysql --set mysqlRootPassword=medone,mysqlUser=mysql,mysqlPassword=medone,mysqlDatabase=profil,persistence.existingClaim=mysql-pv-claim stable/mysql when i tried to connect to the pod it…
Medone
  • 11
  • 1
0
votes
1 answer

Azure AKS minimize costs for intermittent use

My team is investigating the use of AKS, we do this once a week for a few hours, been working like that for several weeks. So we only need the cluster up for a small block of time every week. Deleting and creating a new cluster every week is not…
Oliver
  • 240
  • 2
  • 7
0
votes
0 answers

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 annotations: kubernetes.io/ingress.class:…
sardar
  • 1
  • 2
0
votes
0 answers

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 enable mTLS, does that required istio to be…
sardar
  • 1
  • 2
0
votes
1 answer

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) with Nginx Ingress Controller. The setup My Flask…
gigio
  • 3
  • 1