This topic assumes that Application Accelerator is installed, and that the web UI can be reached from a browser. To publish new Accelerators, you need kubectl configured with administrator rights to the cluster where the Accelerator is running.
You can use any git repository to create an Accelerator. You need the URL for the repository to create an Accelerator.
Use the following procedure to create an accelerator:
Select New Accelerator in the Application Accelerator web UI.
Fill in the new project form with the following information:
Download and expand the zip file.
To apply the k8s-resource.yml, run the following command in your terminal in the folder where you expanded the zip file:
kubectl apply -f k8s-resource.yaml
The output file contains YAML for an Accelerator resource, pointing to the git repository.
apiVersion: accelerator.apps.tanzu.vmware.com/v1alpha1 kind: Accelerator metadata: name: simple-accelerator spec: git: url: https://github.com/jldec/readme ref: branch: main
Refresh the Accelerator web UI to reveal the newly published accelerator.
The Accelerator zip file contains a file called
new-accelerator.yaml. This file contains additional information about the Accelerator.
accelerator: displayName: Simple Accelerator description: Contains just a README iconUrl: https://raw.githubusercontent.com/simple-starters/icons/master/icon-tanzu-light.png tags: - simple - README
Copy this file into your git repo as
accelerator.yaml to have additional attributes rendered in the web UI.
Learn more about: