This topic tells you how to use the Tanzu Accelerator CLI tanzu accelerator get
command to get accelerator information.
Get accelerator information.
You can choose to get the accelerator from the Application Accelerator server using –server-url flag or from a Kubernetes context using –from-context flag. The default is to get accelerators from the Kubernetes context. To override this, you can set the ACC_SERVER_URL environment variable with the URL for the Application Accelerator server you want to access.
tanzu accelerator get [flags]
tanzu accelerator get <accelerator-name> --from-context
--from-context retrieve resources from current context defined in kubeconfig
-h, --help help for get
-n, --namespace string namespace for accelerator system (default "accelerator-system")
--server-url string the URL for the Application Accelerator server
-v, --verbose include all fields and show long URLs in the output
--context name name of the kubeconfig context to use (default is current-context defined by kubeconfig)
--kubeconfig file kubeconfig file (default is $HOME/.kube/config)