Closed krismarc closed 3 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/177238080
The labels on this github issue will be updated when the story is started.
Thank you, @KrzMar, for your detailed issue report. Unfortunately, cf-for-k8s does not currently support adding or updating buildpacks through the same method as cf-for-vms, so I'm not surprised you're running into errors. Though the related API endpoints have not been disabled, they are not expected to work. cf-for-k8s uses kpack for staging, and the kpack configuration is what controls the list of available buildpacks. If the ibm-websphere-liberty-buildpack were a Cloud Native Buildpack like the paketo buildpacks, then you could likely integrate it with kpack and add it to your deployment. At first glance it seems that it is an older, Cloud Foundry-specific buildpack that likely won't work with kpack.
Hi @matt-royal, thx for your reply. Ok, so it's more or less expected behavior. As far as I know IBM plans to release another buildpack based on buildpacks.io.
Meanwhile, I gave a try against another app example (python) and status of the app can't checked, an error occurs details in this issue -> https://github.com/cloudfoundry/cf-for-k8s/issues/639
Best regards, K.M.
Since it appears all the relevant information has been shared, I'm closing this issue.
Hi CF community!
Describe the bug
I came up with an idea to deploy cf-for-k8s using minikube on WSL2 - Ubuntu 20.04.1 LTS (Focal Fossa). https://github.com/cloudfoundry/cf-for-k8s/blob/develop/docs/deploy-local.md#steps-to-deploy-on-minikube
1) First problem which I've faced was a cf-domain. It's proposed in the instruction to use $(minikube ip) which results with a local IP address.
After deployment, any cf command resulted in a timeout. So I decided to use 127.0.0.1 instead and this worked fine.
2) once it started to work, another thing which I wanted to do was a buildpack (https://github.com/cloudfoundry/ibm-websphere-liberty-buildpack) creation and it failed with:
so I did some research around and found out a solution for this by applying envoy filter for istio ingress: https://stackoverflow.com/questions/61439893/istio-how-to-use-envoyfilter-to-change-max-request-bytes-of-envoy-sidecar
since then, it started to fail with another error:
..so far I am stuck. Anyone knows if this can be handled by any other filter?
Something's also wrong with local buildpacks "store". After all those failures, it leaves some metadata which can't be deleted nor recreated. It says the buildpack already exists but can't be deleted or listed using cf buildpacks. /// update: seems like buildpack record gets created and it's in 'AWAITING' status for the file upload
..disappears if not provided in a short period of time. ///
What's also weird. Buildpack creation says 'OK' and error appears afterwards. This part of comment also contains the command I use to create the buildpack.
Expected behavior
My current goal is to create a buildpack and push IBM's test app. However, buildpack creation fails. buildpack: https://github.com/cloudfoundry/ibm-websphere-liberty-buildpack app: https://github.com/IBM-Cloud/get-started-java
Cluster information
local minikube using WSL2
CLI versions
paste output of the following commands
ytt --version
: ytt version 0.31.0kapp --version
: kapp version 0.35.0kubectl version
: v1.19.3cf version
: cf version 7.2.0+be4a5ce2b.2020-12-10