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.
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 :
- Nothing is returned / error. This is the case for Deploy boards, Pod Logs and Terminals
- 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.