Open macevil opened 4 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/175574198
The labels on this github issue will be updated when the story is started.
Stratos side we've spent some time investigating this. We've tested viewing apps in stratos pushed with cf cli v6 and v7 to KubeCF when it's in Deigo and Eirini modes and everything works as expected. Stratos still uses v2 of the api, we're waiting on v3 to be completed still. I'm hypothesising it's something to do with how cf-for-k8s handles v2 api requests.
Thanks for the update @richard-cox. This sounds like an issue with the API endpoints that the CF API bundled into cf-for-k8s supports. We already have issue #540 open to improve the error message returned by the API for endpoints that are not supported by cf-for-k8s.
We'll leave this issue open to specifically track the incompatibility with Statos.
Just wanted to clarify, is this an issue with how cf-for-k8s uses the generic api bundle or with the generic cf api bundle included in cf-for-k8s itself? I'm just a bit concerned that the API, used by all, is now selectively dropping support for various v2 endpoints outside of the official deprecation plan (my understanding is that it's still in phase 0).
I've followed this up in slack (https://cloudfoundry.slack.com/archives/CH9LF6V1P/p1604655000088900). I'll try firing up an instance and investigate which endpoints are failing.
Just wanted to clarify, is this an issue with how cf-for-k8s uses the generic api bundle or with the generic cf api bundle included in cf-for-k8s itself?
I think it is an issue with the CF API included in cf-for-k8s. IIRC, it was decided to not back-port support for K8s to some of the v2 endpoints that are no longer used by the CF CLI as of v7 since CF for K8s does not support the v6 CLI.
We deployed v4.3.0 of Stratus and pushed spring-music to cf-for-k8s @ https://github.com/cloudfoundry/cf-for-k8s/commit/6819c2c36435090f9871dcfbbfb546cbd62448cd. Here is a screenshot of the app summary page:
@davewalter can u plz check the Log Stream page
Describe the bug
The state of a deployed app differs between cf7 cli and Stratos app. See also https://github.com/cloudfoundry/stratos/issues/4741
To Reproduce*
Steps to reproduce the behavior:
cf-4-k8s
like described here: https://github.com/cloudfoundry/cf-for-k8s/blob/develop/docs/getting-started-tutorial.mdStratos app
: https://stratos.app/docs/deploy/kubernetes/helm-installationExpected behavior
The app state is displayed correctly in both places.
Additional context
https://github.com/cloudfoundry/stratos/issues/4741
Deploy instructions
Cluster information
GKE Cluster 1.18.0-gke.1501
CLI versions
ytt --version
: 0.30.0kapp --version
: 0.34.0kubectl version
: Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.9-gke.1501", GitCommit:"9eccd76926a6de5029d61bd586d7d68fe13b545a", GitTreeState:"clean", BuildDate:"2020-10-07T18:19:12Z", GoVersion:"go1.13.15b4", Compiler:"gc", Platform:"linux/amd64"}cf version
: 7.1.0+4c3168f9a.2020-09-09