Container is running without liveness probe Affecting Container service in Kubernetes


Severity

0.0
medium
0
10
    Severity Framework
    Snyk CCSS
    Rule category
    Containers / Health

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Controls
  • Snyk ID SNYK-CC-00625
  • credit Snyk Research Team

Description

Kubernetes will not be able to detect if the application is able to service requests and will not restart unhealthy pods.

How to fix?

Add livenessProbe attribute.

Terraform