cloudfoundry / cf-for-k8s

The open source deployment manifest for Cloud Foundry on Kubernetes
Apache License 2.0
300 stars 115 forks source link

Log streaming in Stratos does not work #585

Closed braunsonm closed 3 years ago

braunsonm commented 3 years ago

Describe the bug

Not sure if the bug should be reported here or on Stratos but Stratos works with regular CF Deployments so I reported here.

It seems that recent logs and log streaming does not work when connecting Stratos to a cf-for-k8s deployment.

To Reproduce*

Steps to reproduce the behavior:

  1. Deploy cf-for-k8s
  2. Connect any recent Stratos instance to it (4.3.0 in my case)
  3. Notice log streaming on every app does not work. Nothing appears.

Expected behavior

Logs should be visible

Additional context

cf logs --recent works fine.

cf-for-k8s SHA

cf-for-k8s v1.0.0 tag

Cluster information

AKS

cf-gitbot commented 3 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/175898203

The labels on this github issue will be updated when the story is started.

richard-cox commented 3 years ago

This may be similar to https://github.com/cloudfoundry/stratos/issues/4742, that case was specifically viewing logs of an application pushed via cf cli 7 and involves https://github.com/cloudfoundry/cf-for-k8s/issues/560 and https://github.com/cloudfoundry/stratos/issues/4741

MasslessParticle commented 3 years ago

This doesn't work because Stratos relies on the Firehose v1 api and cf-for-k8s does not implement the Firehose v1 or v2 APIs.

For convenience we've created: https://github.com/cloudfoundry/stratos/issues/4832