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
3,471
questions
0
votes
0
answers
29
views
Running Helm in my Pipeline keeps asking me to login
I have a pipeline where I need to run some helm commands in order to deploy something. I run az login and then I run my az aks get-credentials. After that, if I try to run helm install or even kubectl ...
0
votes
0
answers
21
views
Spark UI - History Server - Unable to view driver logs
I have deployed "Spark History Server" in Azure Kubernetes Services(AKS) using Helm chart.
Then I submitted a SparkApplication(SparkOperatorOnk8s) with the below yaml
apiVersion: ...
3
votes
1
answer
49
views
Trouble with Golang Application with Azure Pipeline
We are develop our first Golang API Application. When whe Azure pipelines is executed for release this app the AKS pod is not created and we get this error message:
Error: release golang-app failed, ...
0
votes
0
answers
30
views
ClassNotFoundException in AKS Pod: org.jboss.resteasy.client.jaxrs.internal.proxy.ProxyBuilderImpl - Error Occurs in UAT Env, but Not in Test Env
I am encountering a java.lang.ClassNotFoundException specifically for the class org.jboss.resteasy.client.jaxrs.internal.proxy.ProxyBuilderImpl when my service attempts to connect to the Keycloak ...
1
vote
0
answers
57
views
Issue with Creating Azure Marketplace Offering for Multi-Container Application
I am currently working on creating an offering on the Azure Marketplace for my application, which is of the multi-container type. I am considering the option of using a "managed application" ...
-1
votes
0
answers
18
views
Excluding `apiGroups` in Kubernetes admission controllers (MutatingWebhookConfigurations)
I'm currently developing an admission controller with a Mutating Webhook. In this context, I'm seeking a method to capture CREATE events for all API groups but with the ability to exclude specific ...
0
votes
1
answer
32
views
Create a kubernetes and add a second ingress-nginx controler but kubernetes didn't recognize how to use the correct controller
I add the second ingress-nginx controller but kubernetes doesn't knpw where to send the traffic between these controllers. Have one way to disable/delete the second nginx and fix everything?
The ...
0
votes
0
answers
34
views
Aks workload identity with deamon set
i'm trying to integrate aks workload identity with elastic-agent deamon set. The yaml of elastic-agent is automatically generated by elastic cloud instance and it is this one:
---
# For more ...
0
votes
0
answers
50
views
Kubernetes Ingress: Expose multiple API paths
I have a Service which have the following paths (as example):
/api/weatherforecast
/api/weatherforecast/echomyname/name
/api/employee
/api/employee/getemployeebyid/1
my nginx ingress has public IP ...
0
votes
1
answer
56
views
Kubernetes pod gives image pull error despite docker login to ACR
I have an AKS deployed in Azure and my pod is not able to pull the images from the ACR, the error is ImagePullBackOff, The error is failed to resolve reference "//:": failed to authorize: ...
0
votes
1
answer
60
views
Incorrect Hostname of pods in same stateful set in an AKS cluster
I am at my wits' end here. I have been trying to solve this issue that all of a sudden started happening with my recent deployments to AKS to no solution. I have gone through a lot of different ...
0
votes
1
answer
61
views
Need a connection to Azure Kubernetes for my own CLI Tool
The following scenario
I have written my own CLI tool with python and want to establish a connection to the AKS. As I found out it is only possible with REST API (if there are other ways please let me ...
0
votes
1
answer
37
views
Open telemetry pod fails on AKS with failed to get config
I am applying the following yaml manifest to the AKS cluster
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
name: default-otel-collector
annotations:
# We want to ...
0
votes
0
answers
29
views
Migrating from Azure traffic manager to Azure front door [closed]
I have aks cluster which is behind traffic manager right now. I want to move it to Azure front door but the configurations are returning "404-not found, nginx" error
0
votes
1
answer
45
views
Horizontal Pod Autoscaler for two deployments and same pod
I have setup like this:
one container "cont1" in Azure ACR with one image and one tag (image1:1.0.0),
AKS cluster with one custom defined namespace: testns,
two separate deployments: ...
0
votes
2
answers
38
views
App running in a pod of AKS cluster can't access VM from the same resource group
I have an AKS cluster in dev-test resource group on Azure. One of the services running there - api-service needs to connect to a service running on a VM outside the cluster, in the same resource group ...
0
votes
0
answers
51
views
Can I Create/List Pods in Azure AKS without Installing Kubelogin, Similar to EKSHook in Amazon, Using Airflow?
I'm currently working on a project where I need to create and list pods in Azure AKS using Airflow. I know that there is a way in Amazon using EKSHook without the need for an extra installation like '...
0
votes
0
answers
29
views
KStream Joins Not working in kubernetes env but is working perfectly in local
I have a simple application that would consume two streams from topicA and topicB, convert them to KTables and then join both tables using Foreign Keys. The result of the join is then send to an ...
0
votes
1
answer
72
views
minimum permission to create AKS cluster
what could be the minimum permission required to create AKS cluster?
Need to know the list of "Job function roles" to be attached with the app(created in App Registration) and those roles ...
0
votes
0
answers
45
views
Round robin load balancing between 2 ports exposed by each container in Kubernetes [closed]
Assuming every container in every pod in a Kubernetes cluster exposes two ports 8090 and 8091 as shown in the YAML below:
kind: Service
apiVersion: v1
metadata:
name: my-ml-svc
labels:
app: my-...
0
votes
1
answer
50
views
kubernetes in aks enviroment with nginx ingress 404 Not Found nginx
I have a dns mapped to an external ip of my aks load balancer, below the load balancer there is a nginx ingress controller that commicate with an ingress for the services in my cluster.
When I try to ...
0
votes
1
answer
114
views
Permission to attach AKS to ACR without subscription level role?
I have created a user with contributor role to specific resource group and owner
role to an ACR and an AKS cluster which are both in that resource group.
In spite of this when the user tries to attach ...
0
votes
1
answer
67
views
AKS error when trying to install a private marketplace app
I have created an app that is in a private store on Azure. I am trying to install the app from the marketplace when I get the following error:
Error: [ InnerError: [Helm installation failed : Unable ...
0
votes
1
answer
64
views
Azure Kubernetes: OOMKilled - exit code: 137, Auto scaling did not kick-in to add additional node
I have the following configuration in Azure Kubernetes
while trying to deploy an application in the cluster, I getting the following error
If this is failing due to the resource(s), I would expect ...
0
votes
0
answers
26
views
Cant enablie HTTPS and HTTP to a clusterIp service behind a Ingress Controller
I have a Azure Kubernetes service with Nginx-Ingress enabled. This has a web app called OrderService developed in Asp.Net core which i've deployed and is working.
This service has both HTTP and HTTPS ...
0
votes
1
answer
47
views
Custom Scheduler on AKS - Not Bin packing as expected
I followed this article (https://cast.ai/blog/custom-kube-scheduler-why-and-how-to-set-it-up-in-kubernetes/) to deploy a custom scheduler on AKS and I used a OTA Gatekeeper to automatically switch all ...
0
votes
1
answer
59
views
Creating an OpenSearch Ingress service on Azure Kubernetes
I'm trying to create an external IP address for an OpenSearch kubernetes service, but I can't seem to get it to work.
I tried following this Microsoft tutorial https://learn.microsoft.com/en-us/azure/...
0
votes
1
answer
44
views
PS cmdlet New-AzAksCluster will trigger SP creation ignoring the -EnableManagedIdentity option
Note: This is my first time posting here so apologies if this isn`t the right platform for these type of questions or if the context is not clear. Any feedback is welcome!
At a high level, I`m ...
0
votes
2
answers
150
views
Unable to attach or mount volumes: timed out waiting for the condition - AKS Solr Server error
I'm trying to run a solr server pod on my AKS cluster, but it keeps throwing an error saying - Unable to attach or mount volumes: unmounted volumes=[backup-repository-solr-backup], unattached volumes=[...
1
vote
1
answer
75
views
How to manage aks with terraform when AD enabled RBAC and local_account_disabled = true is set
I am creating aks cluster with Azure AD RBAC enabled and local account disabled.
Scenario:
Create admin group
Add admin id to group
create resource group
Provide "Azure Kubernetes Service ...
0
votes
0
answers
54
views
Containers in AKS cannot access Azure resources (Failed to resolve URL)
I have an API server (Python Flask) hosted on AKS. When the service starts, it:
Access Azure key-vault to get storage account connection string
use the connection string to perform CRUD jobs on Azure ...
0
votes
1
answer
67
views
Deployment with replicas and resources not deploying specific resources in Azure
I tried to add Deployment with replicas in Azure. I added resources but it's always taking 4 CPU and 15Gi Memory.
Below is the deployed yml.
apiVersion: apps/v1
kind: Deployment
metadata:
name: test
...
0
votes
1
answer
18
views
Same deployment working is working fine in Docker-Desktop, not in AKS
I'm working with a basic angular application. My image is in docker hub. I've applied a Deployment and Load Balancer service in 2 namespaces, Docker Desktop and AKS. The code is working just fine in ...
0
votes
1
answer
33
views
Azure Kubernetes Nodeport service creation
Can we add Nodeport service to aks for accessing private network in aks for the typdef service i have started implementation on Nodeport service i was facing issue with the process and which will be ...
0
votes
0
answers
52
views
Blazor Server App deployed to Azure Kubernetes hangs if I use @inject on razor components
I am developing an Asp.Net Blazor app that I deploy to Azure AKS. I have a razor component as a page started from NavMenu razor page:
<AuthorizeView>
<div class="nav-item px-...
0
votes
1
answer
17
views
Can't access AKS springboot application
I deployed a springboot application on a pod in AKS. The application deployed successfully but I can't seem to access it when I hit the external IP.
Below were my steps to deploy the application
...
0
votes
1
answer
152
views
failed to create shim task: hcs::CreateComputeSystem xx: container operating system does not match the host operating system:unknown
I am new to docker and AKS. I am using Docker Desktop for windows to containerize the legacy asp.net Framework 4.6.2 application. I then pushed the image to ACR. When i try to create a pod in windows ...
0
votes
0
answers
51
views
How to make nginx ingress strip -blue/-green suffixes from host names of any incoming requests before routing them to namespaces?
I have a k8s cluster with many services accessible through nginx ingress. Suppose https://xyz.acme.com is one of the many urls landing into one of the services. Again, passing through the ingress.
Now ...
0
votes
1
answer
59
views
Check execution error: timed out waiting for checker pod to report in
I am trying to create the custom check in kuberhealthy just to check cosmosDB http response. When I see the check on interface, it gives me error: "Check execution error: default/cosmoscheck: ...
0
votes
0
answers
46
views
Settings different values for appsettings.json foreach pod
I have an application running on AKS with multiple pods. Each pod initiates a subscription to SErvice Bub topic subscription. However, each pod must subscribe to different subscription ID which is ...
0
votes
2
answers
478
views
AKS no longer able to connect to Azure Files PVC with Output: mount error: cifs filesystem not supported by the system mount error(19): No such device
This deployment has been running fine for months. It looks like the Pods redeployed early this morning, I think probably related to applying 2023.10.31 (AKSSecurityPatchedVHD.
The Pods that mount ...
0
votes
1
answer
67
views
How to retain logs after pod deletion in AKS?
Is there any way to add configuration to my AKS cluster to keep log data from Kubernetes pods that have been deleted. For example, If there were 3 pods running, after sometime or maybe a day; there ...
0
votes
1
answer
77
views
Does azure-spring-boot-starter-keyvault-certificates libray support Azure AD Workload Identity
I work on a project written in Kotlin and Spring, executed on Azure Kubernetes Service (AKS) and I am using the library com.azure.spring:azure-spring-boot-starter-keyvault-certificates:3.14.0 with the ...
-1
votes
1
answer
28
views
Is it possible to create parent dockerfile as I have multiple asp.net microservices project and each project have one dockerfile
example file structure
my project looks like this ,I have 6 projects ,I want to have single parent dockerfile which can call the other dockerfiles
I have multiple docker files as
**-docker.users
-...
0
votes
1
answer
112
views
Mysql Helm chart keeps on restarting
I'm running following helm chart for my Mysql db running in azure aks. Initially the db was running as intended, until this log started appearing:
[Warning] [MY-013360] [Server] Plugin ...
0
votes
0
answers
33
views
Trying to create a Domain Claim in a AKS Cluster using Knative API
I am trying to create a domain mapping object in a kubernetes cluster, but before that I need to create a domain claim. So I'm making a request as per the documentations and when I debug it there are ...
0
votes
1
answer
108
views
If a container or pod exceeds its memory limit(OOMKilled-137), Does that Pod get rescheduled to another Node or what happened?
Base on my understanding about Kubernetes ,if pod consumes more memory than it mentioned limit.
E.g. If mentioned limit is 128Mi,But Pod try to consume memory > 128Mi
Then it becomes crashloopback ...
0
votes
1
answer
243
views
exec /usr/local/bin/docker-entrypoint.sh: exec format error
I created a custom docker image for my nextjs app that i pushed to my azure container registry (ACR), in order to pull into the pod of my azure kubernetes (AKS) cluster, but the pod status says '...
0
votes
0
answers
50
views
application does not handle SIGTERM an azure AKS
I have a containerized NestJS application. If I run it locally using docker, I can shut it down gracefully which I can see via logging. If I run the same container on AKS, there is no log output about ...
1
vote
0
answers
53
views
Azure Functions keys when hosted in AKS [closed]
I have a working Azure Function project running as a regular Azure Function App in Azure today.
Now i'm trying to move the function project to Azure Kubernetes Service.
I would like to add function ...