Skip to content

Cannot add multiple instance-level kubernetes clusters on EE

Summary

Cannot add multiple instance-level kubernetes clusters on EE

Steps to reproduce

Add 1 instance-level cluster. The "add cluster" button will then be grayed out.

Example Project

https://autodevops.net/admin/clusters

What is the current bug behavior?

Only 1 cluster can be added

What is the expected correct behavior?

Admin should be able to add multiple clusters

Relevant logs and/or screenshots

image

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)