Applications is failing after upgrading Kubernetes from 1.24 to 1.25

Bhatti, Fawad 21 Reputation points
2023-06-05T16:39:51.1633333+00:00

Hi,

One of our applications is failing after upgrading Kubernetes from 1.24 to 1.25. However, when I run healthcheck, it gives me a 200 response, but the actual application is giving me a 500 error. My application is working fine in AKS version 1.24.9

Healthcheck link: https://utopia.backgroundchecking.com/authportal/ebchealthcheck

Application link: https://utopia.backgroundchecking.com/authportal/

Here are the pod logs for you to look at, and I would appreciate your help.

[16:27:27 INF] Request starting HTTP/1.1 GET http://xx.xxx.x.xx:5000/ebclivenesscheck - - at 
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
633 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,846 questions
0 comments No comments
{count} votes

Accepted answer
  1. mutaz-msft 2,266 Reputation points Microsoft Employee
    2023-06-06T12:08:15.5266667+00:00

    Hi Bhatti,

    Can you verify if it is related to the cgroup version since AKS version 1.25 will be using cgroup v2 as described here.

    For more infomraition about cgroup v2 you can refer to this article

    Thank you,

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Bhatti, Fawad 21 Reputation points
    2023-06-07T07:10:06.1133333+00:00

    I can confirm that after reverting Kubernetes 1.25 to cgroup v1 I'm able to load/run the application.

    0 comments No comments