Share via

Liveness probe - breaks port redirection on node

SfDen 141 Reputation points
2020-07-07T08:27:39.96+00:00

I have standalone cluster 7.1.417.9590 on Windows Server 2019 and containerized application.
I add Liveness probe in ApplicationManifest - https://learn.microsoft.com/en-us/azure/service-fabric/probes-codepackage
<CodePackagePolicy CodePackageRef="Code">
<Probes>
<Probe Type="Liveness" FailureThreshold="3" SuccessThreshold="2" InitialDelaySeconds="10" PeriodSeconds="5" TimeoutSeconds="5">
<HttpGet Path="/healthcheck" Port="2532" Scheme="http"/>
</Probe>
</Probes>
</CodePackagePolicy>
Application successfully upgrade, but http endpoint becomes unavailable. I tested this on several applications.

Azure Service Fabric
Azure Service Fabric

An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.