Create the AMI Catalog

Use a CLI command to create the AMI catalog, based on the catalog definition.

In order to create the catalog, issue a CDP CLI command, as follows. Substitute the following values into the example command:

  • --name: Enter the name to refer to the custom catalog when creating AMIs (here, “my-catalog”)
  • --content: Enter the name of the json file you created for the catalog definition, above. (here, “path-to-file.json”)
cdp imagecatalog create-kubernetes-catalog --name "my-catalog" 
   --content `base64 path-to-file.json`

Once the catalog is registered, a CRN is returned as the response.