Commit Graph

2851 Commits

Author SHA1 Message Date
Miao Luo 6b010c4c5e Enable CoreDNS in nodeup/protokube (#6)
* Enable CoreDNS in nodeup/protokube.

* Address comments.
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
Miao Luo 4f98f5b47e Use CoreDNS for vSphere provider (#2)
* Add support of CoreDNS for vSphere provider.

* Add instructions about how to setup CoreDNS for vSphere provider.

* Address comments for CoreDNS support code.
2017-04-20 23:33:20 -07:00
prashima e51e841d0c Added vSphere volumes to protokube, updated vSphere testing doc and makefile. (#1)
* Add vSphere volumes to protokube. Update vSphere testing doc and makefile.

* Updated vsphere_volume to get correct IP. Addressed comments.
2017-04-20 23:33:20 -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
Miao Luo 716349bf22 Fix the type of vSphere fields in CloudConfig and update auto-generated conversion files.
To make sure the vSphere fields in CloudConfiguration can be successfully serialized
and output into config file.
2017-04-20 23:33:18 -07:00
Miao Luo efdffd1c41 Address comments.
1. Check the emptiness of VSPHERE_USERNAME and VSPHERE_PASSWORD
2. Move vSphere specific fields from clusterSpec to clusterSpec.CloudConfig
2017-04-20 23:33:17 -07:00
Miao Luo 30573e9aaf Add more supports for vsphere.
Accept vSphere's server, datacenter, cluster setting by flags
"vsphere-server", "vsphere-datacenter", and "vsphere-resource-pool".
Username and password can be set by environment variables:
"VSPHERE_USERNAME" and "VSPHERE_PASSWORD".
2017-04-20 23:32:59 -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
SandeepPissay 82f9f0668d vsphere initial support. 2017-04-20 23:31:21 -07:00
Chris Love 4f71f49e71 Merge pull request #2001 from justinsb/fix_2000
rolling-update: if filtering IGs, don't warn if IG not found
2017-04-20 22:28:07 -06:00
Chris Love d3cbd98e5c Merge pull request #2359 from ryanlitalien/patch-1
Add "m4.16xlarge" type
2017-04-20 22:26:36 -06:00
Chris Love 17d0889286 Merge pull request #2387 from justinsb/fix_1067
Provide richer error messages for subnet CIDR validation
2017-04-20 22:24:24 -06:00
Chris Love 86d4dfeec7 Merge pull request #2188 from leandrocr/patch-1
Bump version and point users to official README
2017-04-20 22:13:09 -06:00
Justin Santa Barbara 08e2d07a9c Merge pull request #2389 from luomiao/userdefined-s3endpoint-fix
Fix user-defined s3 endpoint support code
2017-04-20 22:07:15 -04:00
Chris Love 233cee6ffa Merge pull request #2112 from justinsb/fix_2110
Perform validation of the security group names
2017-04-20 19:58:46 -06:00
Ryan L'Italien a16c4ec5fe Add m4.16xlarge type - remove extra whitespace 2017-04-20 17:42:40 -04:00
Leandro Repolho 75718857b6 Add reference to Route53 Addon Mantainer
I'm also adding a link to improved installing instructions at
addons/route53-mapper/README.md
2017-04-20 21:28:39 +10:00
Leandro Repolho 77bf343a5e Merge branch 'master' into patch-1 2017-04-20 21:28:03 +10:00
Leandro Repolho 3e29bed1ca Merge pull request #1 from kubernetes/master
update fork master
2017-04-20 21:26:24 +10:00
Miao Luo 22c49e76cb Fix user-defined s3 endpoint support.
Address review feedbacks and remove unintended space.
2017-04-19 23:46:05 -07:00
Justin Santa Barbara 4dcc6ad067 Merge pull request #2370 from luomiao/userdefined-s3endpoint
Support user-defined s3 endpoint
2017-04-20 01:17:08 -04:00
Justin Santa Barbara 4abb58b0a6 Provide richer error messages for subnet CIDR validation
We just hit this in the real-world again, where a richer error message
would have been helpful.

Fix #1067
2017-04-19 23:27:38 -04:00
Chris Love 32f0b39038 Merge pull request #2271 from pronix/feature/extend_PR_398
create encrypted volume during initiation cluster
2017-04-19 19:39:46 -06:00
Justin Santa Barbara 4f52e44b36 Merge pull request #2381 from justinsb/prepull_images
hook for prepulling images
2017-04-19 21:32:23 -04:00
Justin Santa Barbara 30361eef68 Merge pull request #2328 from andrewsykim/2310
Move cluster delete files to pkg/resources
2017-04-19 21:31:38 -04:00
Justin Santa Barbara 456a4635d5 hook for prepulling images 2017-04-19 20:43:56 -04:00
Justin Santa Barbara 7c556571dc Merge pull request #2382 from GauntletWizard/validate
Test for having fewer nodes than minimum count
2017-04-19 20:43:27 -04:00
Chris Love db7c973112 Merge pull request #2298 from justinsb/nvidia_hook
Experimental nvidia driver installation via a hook
2017-04-19 16:02:17 -06:00
Chris Love 6e81a8c1b5 Merge pull request #2260 from justinsb/hooks_poc
PoC of hooks
2017-04-19 16:00:24 -06:00
Justin Santa Barbara 0c9c45770e Merge pull request #2385 from justinsb/csr_api
Enable CertificateSigner API on k8s 1.6
2017-04-19 17:10:17 -04:00
Justin Santa Barbara 57deb17562 Enable CertificateSigner API on k8s 1.6 2017-04-19 16:10:03 -04:00
dima bf06e36a4f change flag to --encrypt-etcd-storage=true 2017-04-19 13:27:56 +02:00
Chris Love 3fe6e04c7a Merge pull request #2336 from justinsb/channels_f_alias
channels: accept -f and --files
2017-04-19 05:09:55 -06:00
Chris Love ea8d74e005 Merge pull request #2361 from mstump/master
Updated k8s dashboard to 1.6
2017-04-19 05:07:51 -06:00
dima 968cf784a9 Merge branch 'master' of https://github.com/kubernetes/kops into feature/extend_PR_398 2017-04-19 12:37:52 +02:00
Thomas Hahn df0482c6eb Test for having fewer nodes than minimum count 2017-04-19 06:40:50 +00:00
Justin Santa Barbara 9294102139 Experimental nvidia driver installation via a hook
With sha3sum validation technique thanks to @bskaggs
2017-04-19 00:43:59 -04:00
Chris Love 8d2b1bd49e Merge pull request #2380 from GauntletWizard/validate
Fix cluster validation when there's additional nodes.
2017-04-18 22:43:44 -06:00
Justin Santa Barbara 16b67d29b4 Merge pull request #2365 from BrentDorsey/master
kops nodeLables - additional documentation to clarify how nodeLables work in AWS
2017-04-19 00:19:59 -04:00
Justin Santa Barbara 799142b3fc channels: accept -f and --files 2017-04-19 00:17:13 -04:00
Justin Santa Barbara 17ead94ddd Merge pull request #2374 from pierreozoux/patch-1
Correct typo
2017-04-19 00:12:26 -04:00
Ted Hahn 46d885d39b Change validation to be happy with more than minimum nodes. 2017-04-18 18:50:19 -07:00
Ted Hahn 395c7428ad add a second, always ready node. Having healthy nodes shouldn't be a
problem for validation.
2017-04-18 18:50:08 -07:00
Chris Love 238a59d678 Merge pull request #2323 from justinsb/missed_errhandling_1
Add missed error handling from nodeup lstat
2017-04-18 14:20:03 -06:00
Miao Luo 76437a77d4 Support user-defined s3 endpoint. 2017-04-18 11:27:07 -07:00
Brent Dorsey 4adef05dbc Merge remote-tracking branch 'origin/master' 2017-04-18 12:24:33 -05:00
BrentDorsey f5046600c3 fixing broken link
adjusting wording to clarify both cloudLables and nodeLables are automatically applied to new nodes create by AWS EC2 auto scaling groups.
adding --force flag example
2017-04-18 12:24:25 -05:00