Kubernetes: Instalação do Kind e Tekton: Difference between revisions

From Wiki
No edit summary
Line 1: Line 1:
= Instalação do Kind =
Install Kind
Install Kind


Line 19: Line 20:
  kubectl config use "kind-$tekton_cluster"
  kubectl config use "kind-$tekton_cluster"
  kubectl config current-context
  kubectl config current-context
= Instalação do Tekton =


= Ver também =
= Ver também =

Revision as of 20:27, 21 January 2026

Instalação do Kind

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"

kind delete clusters "$tekton_cluster"
kind create cluster --name "$tekton_cluster"

Check config

kubectl config use "kind-$tekton_cluster"
kubectl config current-context

Instalação do Tekton

Ver também