Commit Graph

16 Commits

Author SHA1 Message Date
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
Justin Santa Barbara 0143be7c4f autogen: BUILD and BUILD.bazel 2017-10-02 14:27:21 -04:00
Kashif Saadat e0461b92a9 Add ability to store partial cluster and instancegroup spec in userdata,
so component config changes are detected and causes nodes to be updated
2017-08-09 14:15:02 +01:00
Derek VerLee ffa95b8112 Add support for cluster using http forward proxy 2017-08-07 14:30:42 -04:00
Lars Lehtonen d88509d4e1
Expand returned err to fmt.Errorf 2017-07-15 13:17:16 -07:00
Lars Lehtonen 6cf856d972
Fix swallowed errors in upup subdirectory. 2017-07-15 11:43:24 -07:00
Abrar Shivani 3707436f2f Change vm_uuid location 2017-04-20 23:38:32 -07:00
prashima 3bfe3b6e18 Added comments for files and functions. Fixes #52. (#55) 2017-04-20 23:37:41 -07:00
prashima 074791b446 Removed hardcode from protokube logic. Fixes #15. (#46) 2017-04-20 23:37:40 -07:00
Abrar Shivani e191f7dd96 Add vm-uuid in cloud-config file required by Kubernetes vSphere CloudProvider 2017-04-20 23:37:40 -07:00
Miao Luo 3075258ca3 Add DNS server into /etc/resolv.conf by cloud-init. 2017-04-20 23:33:21 -07:00
SandeepPissay 22e0ce3775 Implemented AttachISO task (#4)
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.

Also removed redundant VirtualMachineModelBuilder that does nothing.

Testing done:
1. Tested end to end that the master and worker VMs executes the cloud-init script successfully.
2, "make ci" is successful.
2017-04-20 23:33:21 -07:00
SandeepPissay 117f4747b8 Implemented VM power on (#7) 2017-04-20 23:33:19 -07:00
SandeepPissay 17baf04218 Implemented creating a link cloned VM from a template VM (#5)
Implemented CreateLinkClonedVM cloud interface to create a link cloned VM from a template VM. The code checks if the template VM has a snapshot, if no it creates it before creating a link cloned VM. If snapshot already exists, it uses it to create the link cloned VM.

Testing done:
1. kops cluster create goes through fine and creates the link cloned VM for the master and worker. Verified that it creates the snapshot on the template VM if it does not exists before creating a link cloned VM. In case the snapshot exists, it uses it to create the link cloned VM.
2. "make ci" is successful.
2017-04-20 23:33:19 -07:00
SandeepPissay 3ed60bd708 Fixed the formatting and added copyright headers to new files 2017-04-20 23:31:49 -07:00
SandeepPissay 333e1aee40 Sample vsphere tasks added 2017-04-20 23:31:21 -07:00