vmware-archive / kops

Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management
Apache License 2.0
3 stars 3 forks source link

Implemented AttachISO task #4

Closed SandeepPissay closed 7 years ago

SandeepPissay commented 7 years ago

AttachISO task creates the user-data/meta-data cloud init files and creates cloud-init.iso file using "genisoimage" tool. It then uploads it to the datastore where the master/worker VM resides and inserts it into the cd-rom device of the master/worker VM. When the master/worker VM powers on, the cloud-init package in it runs the bootstrap script that downloads nodeup and runs it.

Testing done:

  1. Tested end to end that the master and worker VMs executes the cloud-init script successfully. 2, "make ci" is successful.
SandeepPissay commented 7 years ago

Addressed review comments.

luomiao commented 7 years ago

BTW can we compile with this PR's change on MacOS now?

SandeepPissay commented 7 years ago

Compilation is never a problem. The issue was the tool used to generate ISO file. If we run kops on mac you would need mkisofs tool and it should be in your PATH env variable.