Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.7 KB

File metadata and controls

52 lines (38 loc) · 1.7 KB
title harbor instance create
weight 10

harbor instance create

Description

Create a new preheat provider instance in Harbor

Synopsis

Create a new preheat provider instance within Harbor for distributing container images. The instance can be an external service such as Dragonfly, Kraken, or any custom provider. You will need to provide the instance's name, vendor, endpoint, and optionally other details such as authentication and security options.

harbor instance create [flags]

Examples

  harbor-cli instance create --name my-instance --provider Dragonfly --url http://dragonfly.local --description "My preheat provider instance" --enable=true

Options

  -a, --authmode string      Choosing different types of authentication method (default "NONE")
      --description string   Description of the instance
      --enable               Whether it is enabled or not (default true)
  -h, --help                 help for create
  -i, --insecure             Whether or not the certificate will be verified when Harbor tries to access the server (default true)
  -n, --name string          Name of the instance
  -p, --provider string      Provider for the instance
  -u, --url string           URL for the instance

Options inherited from parent commands

  -c, --config string          config file (default is $HOME/.config/harbor-cli/config.yaml)
  -l, --log-format string      Output format for logging. One of: json|text (default "text")
  -o, --output-format string   Output format. One of: json|yaml
  -v, --verbose                verbose output

SEE ALSO