Code Changes for Implementing Kubernetes Probes

64 Views Asked by At

I want to implement Kubernetes Liveliness Probes in my .Net core application with C# language. I understood that first I need to define the liveliness probe in deployment.yaml file of my application. I also created the http service in my application that is responding at 8080 port.

enter image description here

Apart from this what changes do I need to do in my C# code ? I am using below Kubernetes nuget in .csproj :

<PackageReference Include="KubernetesClient" Version="3.0.7" />
0

There are 0 best solutions below