cloudfoundry-incubator / kubecf

Cloud Foundry on Kubernetes
Apache License 2.0
115 stars 62 forks source link

Renable cc_deployment_updater and fix readiness check #1704

Closed andrew-edgar closed 3 years ago

andrew-edgar commented 3 years ago

Add back the cc_deployment updater to the scheduler pod.

Description

Basically this reverted commit dfcc97d441efab31ec49a07b3cf87062baf7aeac. But also fixed the readiness check

Motivation and Context

This will allow the cc_deployment_updater to run and reenable the zero downtime functionality in CF.

How Has This Been Tested?

Deployed this in a full kubecf env and ran the CATs tests which validate this functionality

Screenshots (if appropriate):

Types of changes

Checklist:

jandubois commented 3 years ago

@andrew-edgar Did you test the new readiness probe? It always fails for me, most likely because the server only listens on the 127.0.0.1 address, but k8s will probe the actual pod IP address: https://github.com/cloudfoundry/capi-k8s-release/issues/91

So I think this PR can only be merged after we have bumped cf-deployment to something more recent.

andrew-edgar commented 3 years ago

I had tested the readiness probe and it did work for me. but maybe some of our other changes caused that to work. picking up 16.9.0 seems the right thing if that helps. excellent.

andrew-edgar commented 3 years ago

@jandubois yes we are now seeing in the older version the readiness check failing. I think we will get this fixed like you say when we bump to the latest cf-deployment. thanks