The golden image created using Packer allows you to integrate Rancher with your vSphere to be able to deploy a Kubernetes cluster.
Managed Private Cloud • Developers Portal • Knowledge Base •
1. Create hashed and salted password for installer.
$ openssl passwd -6 -salt xyz changeme
$6$xNsPV508IB6sk$pTEPpSXgmPbJp85STQnZwsY91J9x0aIzHJyiQQwt471WIzTqFmoNQkYIWn2elQbiEI3THIa2cS67MRAmYYBAy0
2. Insert values inside variables.json
Example:
{
"vcenter_server":"10.100.2.20",
"username":"admin",
"password":"changeme",
"datastore":"PHX-GLM-DS-01",
"folder":"g-rke-cluster-dev",
"cluster":"PHX-GLM",
"network":"K8SRKENETWORK",
"ssh_username":"ubuntu",
"ssh_password":"changeme"
}
3. Run packer
/usr/bin/packer build --force --var-file=variables.json ubuntu-2004.json
Get in touch with us if you have questions or need help with Managed Private Cloud or our other solutions.