Skip to content

Hide cluster features that don't work yet with Group Clusters

Problem

From slack conversation we think that the following features aren't supported yet for group clusters:

  • Terminals
  • Pod logs
  • Deployment board

Deployment board gets stuck on a spinner and continuously requests the same end-point.

Screen_Shot_2018-12-14_at_2.09.54_PM

Further details

We currently do not have support for group clusters for the above features. All current support for above features assume at most 1 project, which is simply not true for group clusters.

On a high level, this can mean one of two things :

  1. Nothing is returned / error. This is the case for Deploy boards, Pod Logs and Terminals
  2. A random project is returned from the list of projects under the group.

Clusters::Platform::Kubernetes#project returns nil for a group cluster. See https://gitlab.com/gitlab-org/gitlab-ce/blob/a4ff91f7/app/models/clusters/platforms/kubernetes.rb#L117

Solution

These should be hidden from users so that they don't get confused. We should also update the docs to reflect this too and create follow up issues to ensure these features work before removing the Beta tag on Group clusters.

/cc @danielgruesso @tauriedavis

Edited by Taurie Davis