kuberneteskubernetes-deployment

Deployment failed: HTTP probe failed with statuscode: 500


I am having two cluster cluster-1 and cluster-2.

In cluster-1 deployed service-1 in the namespace test-namespace-1. It got deployed successfully and running.

In cluster-2 deployed service-1 in the namespace test-namespace-1. Deployment status showing error as HTTP probe failed with statuscode: 500

When I checked the details, it has two conditions

  1. Processing status as true
  2. Available status as false and reason is MinimumreplicaUnavailable

I checked both namespaces quota details.

other details like request's storage, cpu etc have almost 40% available but in one clsuetr's namespace it is showing success and running and in another cluaster's namespace failed.


Solution

  • It got fixed, actual issue is due to deployment.yml file, liveness and readyness probes are mapped to 8090 but start probe was mapped to 8080 by the team. Due to this deployment got failed.