Skip to content

Packer Golden Image for Rancher integration with phoenixNAP's Managed Private Cloud (MPC)

License

Notifications You must be signed in to change notification settings

phoenixnap/rancher-golden-image-mpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


phoenixnap Logo
Rancher Golden Image for MPC

The golden image created using Packer allows you to integrate Rancher with your vSphere to be able to deploy a Kubernetes cluster.

Managed Private CloudDevelopers PortalKnowledge Base

Notes:

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

Contact phoenixNAP

Get in touch with us if you have questions or need help with Managed Private Cloud or our other solutions.

TwitterFacebookLinkedInInstagramYouTubeEmail

About

Packer Golden Image for Rancher integration with phoenixNAP's Managed Private Cloud (MPC)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages