Search code examples
dockerrancherharbor

Why can't install harbor from Rancher server catalog?


Using new version of rancher server. One master node and two agent nodes.

When install Harbor from catalog, the services got all unhealthy, why?

enter image description here All the config were using default options before lunch it: enter image description here


Solution

  • The error message says:

    Allocation failed: needs host with label harbor-host: true

    Does at least one of the hosts have a host label of harbor-host that is set to true?

    See http://rancher.com/docs/rancher/v1.6/en/hosts/#host-labels for more information. You can navigate to the hosts section in the UI and edit an individual host to set labels on it.