In this post, I will be covering the steps to be followed to install TBS in KIND (created in mac os):
Download TBS manually from Tanzu network or using Pivnet CLI:
https://network.pivotal.io/products/build-service/ – Signup is required to download the executable from Tanzu Network
Below pivnet CLI commands can be used too:
How to Install Pivnet CLI:
https://network.pivotal.io/users/dashboard/edit-profile – To generate or view API token
Note: https://network.tanzu.vmware.com/users/dashboard/eulas, refer to manually accept eula.
Additional tools: I know too many tools, but these are tiny and doesn’t take more than few mins.
Install below mentioned Carvel CLIs for your operating system. These can be found Tanzu Network pages:
- kapp is a deployment tool that allows users to manage Kubernetes resources in bulk.
- ytt is a templating tool that understands YAML structure.
- kbld is tool that builds, pushes, and relocates container images
- imgpkg is tool that relocates container images and pulls the release configuration files. Note: imgpkg 0.12.0 or higher is required for installation.
- Install KP CLI:
kp CLI is used for interacting with your Tanzu Build Service (TBS) installation on K8s cluster
docker login registry.pivotal.io
If copy is failing, try with diff imgpkg version or see if you are able to download the images manually:
imgpkg pull -b “registry.pivotal.io/build-service/bundle:1.3.1” -o tbs-pkg
docker pull registry.pivotal.io/build-service/bundle:1.3.1
imgpkg pull -b “eknath009/build-service:1.3.1” -o /tmp/bundle
if the installing is failing, you can retry the deployment using:
kapp delete -a tanzu-build-service
3:21:34PM: ongoing: reconcile tanzunetdependencyupdater/dependency-updater (buildservice.tanzu.vmware.com/v1alpha1) namespace: build-service
3:21:34PM: ^ Waiting for generation 1 to be observed
Remove tanzunet_username and tanzunet_password from ytt command.