Skip to content

Rodri9o/vmware-k3s-infra-public

Repository files navigation

Overview

Deploy master and worker nodes for k3s on vSphere using a Packer image already built. You can find a reference to the Packer GitLab repo here.

This repo uses a Terraform module to deploy VMs in vSphere. The module uses Cloud-Init for customization.

Test

The pipeline will create a k3s cluster and store the kube config in Vault. Run the commands below to test the new cluster.

export VAULT_TOKEN=<your_token>
export VAULT_ADDR=http://vault.home
vault kv get -field k3s_config_base64 external/k3sdemo | base64 --decode > mytestconfig
export KUBECONFIG=mytestconfig
kubectl get nodes -owide
kubectl get all --namespace kube-system

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published