Accessing Tanzu Build Service
Page last updated:
To use your Build Service installation, gain kubeconfig access to the Kubernetes Cluster that has the Build Service installed. For example, if you are using TKGI (formerly PKS):
tkgi login -a <tkg-api-url> -u <username> -p <password> tkgi get-credentials <clustername> -a <tkg-api-url> -u <username> -p <password>
You can use the
kp CLI, downloaded as part of the installation to interact with Build Service.
kp CLI uses the local
KUBECONFIG utilized by
kubectl. All operations will be performed on kubernetes current-context namespace.
kp CLI help text is published here.
$ kp kp controls the kpack installation on Kubernetes. kpack extends Kubernetes and utilizes unprivileged kubernetes primitives to provide builds of OCI images as a platform implementation of Cloud Native Buildpacks (CNB). Learn more about kpack @ https://github.com/pivotal/kpack Usage: kp [command] Available Commands: build Build Commands builder Builder Commands clusterbuilder Cluster Builder Commands clusterstack Cluster Stack Commands clusterstore Cluster Store Commands completion Generate completion script help Help about any command image Image commands import Import dependencies for stores, stacks, and cluster builders secret Secret Commands version Display kp version Flags: -h, --help help for kp Use "kp [command] --help" for more information about a command.
Note: These docs assume kp cli v0.2.* from TBS release v1.1.*. If a feature is not working, you may need to upgrade your cli.