Code Changes for Implementing Kubernetes Probes

5/30/2021

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 <br/><br/>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" />
-- solveit
.net
.net-core
c#
kubernetes
livenessprobe

0 Answers