Kubernetes: Instalação do Kind e Tekton
Install Kind
# For Intel Macs [ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.31.0/kind-darwin-amd64 # For M1 / ARM Macs [ $(uname -m) = arm64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.31.0/kind-darwin-arm64 chmod +x ./kind mv ./kind /usr/local/bin/kind
Setup cluster
tekton_cluster="tekton-cluster" # optionally set memory and cpu #podman machine stop #podman machine set --cpus=2 #podman machine set -m=4096 #podman machine start kind delete clusters "$tekton_cluster" kind create cluster --name "$tekton_cluster"
Check config
kubectl config use "kind-$tekton_cluster" kubectl config current-context