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

Kubernetes nginx ingress rabbitmq management and kibana

On my AKS cluster I have a Nginx ingress controller that I used to reverse proxy my kibana service running on the AKS. I want to however add another http services through the ingress, rabbitmq management console. I'm unable to get both to work with…
Softey
  • 1,451
  • 3
  • 21
  • 42
7
votes
1 answer

nginx-ingress sticky-session for websocket application

I have a websocket .net application inside K8s cluster. I need to implement sticky session for the websocket using the nginx opensource. I have read the documentation of nginx and kubernetes.…
Madie
  • 231
  • 3
  • 10
7
votes
2 answers

How to fix "failed to ensure load balancer" error for nginx ingress

When setting a new nginx-ingress using helm and a static ip on Azure the nginx controller never gets the static IP assigned. It always says . I install the helm chart as follows - helm install stable/nginx-ingress --name
Koman
  • 187
  • 1
  • 1
  • 12
7
votes
2 answers

Handling PersistentVolumeClaim in DaemonSet

I have a DaemonSet that creates flink task manager pods, one per each node. Nodes Say I have two nodes node-A node-B Pods the daemonSet would create pod-A on node-A pod-B on node-B Persistent Volume Claim I am on AKS and want to use azure-disk…
frictionlesspulley
  • 11,070
  • 14
  • 66
  • 115
7
votes
4 answers

Kubernetes - Single Cluster or Multiple Clusters

I'm migrating a number of applications from AWS ECS to Azure AKS and being the first production deployment for me in Kubernetes I'd like to ensure that it's set up correctly from the off. The applications being moved all use resources at varying…
olliefinn
  • 587
  • 4
  • 16
7
votes
3 answers

Terraform - How to pass environment variables to sub modules in terraform

My solution: ├── main.tf ├── modules │   ├── cluster1 │   │   ├── cluster1.tf │   │   ├── main.tf │   │   ├── output.tf │   │   └── variables.tf │   ├── cluster2 │   │   ├── cluster.tf │   │   ├── main.tf │   │   ├── output.tf │   │   └──…
user399256
  • 141
  • 2
  • 5
6
votes
1 answer

Cert-Manager and Nginx under one umbrella helm chart in AKS fails to issue my certificates

My experience with Kubernetes is relatively small about a month since I have started learning and experimenting. I am migrating my setup from azure app services to AKS and I have encountered some issues with nginx ingress controller and cert-manager…
6
votes
3 answers

Docker and AzureKeyVault: unable to load shared library 'libsecret-1.so.0'

I have Asp.net core Xunit integration tests that connect to MongoDb to test basic repositories on collections. The tests are built and run in a container in AKS. I have setup the test fixture to connect Azure Key Vault to retrieve connection string…
RedRose
  • 555
  • 7
  • 27
6
votes
1 answer

Kubernetes Ingress Controller - cannot TCP connect from outside Virtual Machine, network traffic not forwarded to "Service" Port

I have Azure Kubernetes Service cluster and I have VM outside the cluster, from different virtual network, from which I try to connect to my container Pod App which is being run on TCP Port 9000. I must not use Public IP and That is not HTTP…
vel
  • 1,000
  • 1
  • 13
  • 35
6
votes
1 answer

Kubernetes Ingress path priority (ingress-nginx)

I deployed 2 front-end applications that are based on angular. I use ingress-nginx (k8s.gcr.io/ingress-nginx/controller:v0.44.0) with the following configurations to route the requests to these applications: apiVersion:…
6
votes
1 answer

How to enforce MustRunAsNonRoot policy in K8S cluster in AKS

I have a K8S cluster running in Azure AKS service. I want to enforce MustRunAsNonRoot policy. How to do it? The following policy is created: apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: restrict-root spec: privileged:…
Michael Chudinov
  • 2,620
  • 28
  • 43
6
votes
3 answers

Azure Kubernetes - How to determine DNS name that can be used for INTERNAL Load Balancer?

We have defined our internal Load Balancer. apiVersion: v1 kind: Service metadata: name: ads-aks-test annotations: service.beta.kubernetes.io/azure-load-balancer-internal: "true" spec: type: LoadBalancer ports: - protocol: TCP …
vel
  • 1,000
  • 1
  • 13
  • 35
6
votes
1 answer

Running terraform apply gives Unauthorized for Kubernetes provider deploying k8s resources in Azure Cloud

I'm deploying an AKS k8s cluster with terraform. The cluster has rbac enabled with azure active directory. The cluster creation goes fine and after that terraform tries to perfom some taks on the cluster like creating k8s-roles storage classes....,…
nixmind
  • 2,060
  • 6
  • 32
  • 54
6
votes
2 answers

How to assign a Deployment to a specific Node Pool

I am fairly new to Kubernetes and was able to set up a workflow including ingress. How can I specify which Deployments (not pods) go to a specific Node pool? Also, do namespaces have any effect on the nodes as well?
James
  • 305
  • 3
  • 12
6
votes
1 answer

How to merge multiple deployment yaml files in k8s into one yaml file without using the separator '---'?

As mentioned above, I want to merge multiple deployment yaml files in k8s into one yaml file, but because of the project, I can't use the separator "---".