cf-for-k8s
cf-for-k8s copied to clipboard
registry-buddy healthcheck failing
Hi,
I am trying CF release v5.1.0
The cluster is up, but the cf-api-server and cf-api-worker are going into CrashLoopBackOff .
While checking it seems registry-buddy on both the pods are failing on health check.
Below are the logs.
cf-system cf-api-controllers-cccbb945c-z25td 3/3 Running 1 33m cf-system cf-api-deployment-updater-647fcf5477-mtzfl 2/2 Running 0 33m cf-system cf-api-server-6d54fd6d77-c6x6z 5/6 CrashLoopBackOff 13 30m cf-system cf-api-worker-7b554b6c9c-hbkgj 2/3 CrashLoopBackOff 12 30m cf-system eirini-api-c48f5b-bcccf 2/2 Running 0 33m
registry-buddy:
Container ID: containerd://e72a2c6ab8955e228dd54ce645744b77dd99784cb178211087d5abb8613c06b2
Image: cloudfoundry/cf-api-package-registry-buddy@sha256:163aca64a4e0aa1a3c8a9555d13b3c7218ae059c1ec2d986d783d961daa52d1d
Image ID: docker.io/cloudfoundry/cf-api-package-registry-buddy@sha256:163aca64a4e0aa1a3c8a9555d13b3c7218ae059c1ec2d986d783d961daa52d1d
Port:
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/178979988
The labels on this github issue will be updated when the story is started.
I'm having same issue too.
same issue here
https://github.com/cloudfoundry/cf-for-k8s/blob/develop/config/capi/_ytt_lib/capi-k8s-release/config/worker_deployment.yml#L88
How could that be 15000m (15 vCPU)? Should it be 1500m instead? I tried to run the deployment with 2500m (and some random higher number for the cpu limits but no luck).
As of v5.0.0 custom registries seem no longer supported. My registry-buddy error is:
2021/07/30 16:53:09 Error from healthyFunc(custom-docker-registry.net): error setting up transport to the registry: GET https://auth.docker.io/token?scope=repository%3Alibrary%2Fcustom-docker-registry.net%3Apush%2Cpull&service=registry.docker.io: unsupported status code 401
My cf-values.yaml is:
app_registry:
hostname: custom-docker-registry.net
repository_prefix: custom-docker-registry.net
username: registry-access
This worked in v4.2.0. I don't see any documentation of this change. Is this the same issue that others are reporting or should I create a separate issue?
Same issue here with v5.1 and harbor:
Error from healthyFunc(registry.fluidcloud.bskyb.com/nimbus-test): error setting up transport to the registry: GET https://registry.fluidcloud.bskyb.com/service/token?scope=repository%3Animbus-test%3Apush%2Cpull&service=harbor-registry: unsupported status code 500
Somehow i made it working and i tried this https://www.devopsschool.com/blog/getting-started-with-cloud-foundry-for-kubernetes-using-cf-for-k8s-in-linuxubuntu/
I am facing this issue too... increasing the timeout does not seems to work