Skip to content

Latest commit

 

History

History

quickstart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Example RKE2 Deployment

This is an example RKE2 deployment which uses the main module at the root of this repo to deploy RKE2

Quick Deployment

  • Run from this examples directory, e.g. cd examples/quickstart
  • Copy terraform.tfvars.sample to terraform.tfvars
  • Change cluster_name and other settings, but most can be left as the defaults
  • Run terraform apply -auto-approve

Connect

For kubectl

source ../../scripts/fetch-kubeconfig.sh
kubectl get nodes

For SSH

../../scripts/fetch-ssh-key.sh