Skip to content

Instantly share code, notes, and snippets.

@vrabbi
Last active August 17, 2023 13:11
Show Gist options
  • Select an option

  • Save vrabbi/44129fd93035e2ad51ddd35b390aab69 to your computer and use it in GitHub Desktop.

Select an option

Save vrabbi/44129fd93035e2ad51ddd35b390aab69 to your computer and use it in GitHub Desktop.
prep tap poc dev machine

Setup Developer Machine for working with TAP

Steps

1. Install Tanzu CLI

2. Install TAP Plugins for Tanzu CLI

  • run the command:
tanzu plugin install --group vmware-tap/default:v1.6.1

3. Install kubectl

  • Download the kubectl binary for kubernetes 1.26
  • Add the kubectl binary to your path
  • rename the binary to kubectl.exe

4. Configure kubeconfig

  • create a folder under your home directory called ".kube"
  • copy the kubeconfig from the admin machine located at /home/k8s/.kube/config to the new folder on your machine in a file named config as well
  • test access by running:
kubectl get nodes
  • if the test fails on a cert issue then edit the kubeconfig file and remove the ca-cert-data field for each cluster entry and instead add a line in its place:
insecure-skip-tls-verify: true
  • set kubectl to target the dev namespace
kubectl config set-context --current --namespace tap-demo-01

5. Install Tilt

6. Install jdk 17

7. Install IDE plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment