Commit Graph

606 Commits

Author SHA1 Message Date
Justin Santa Barbara 8e68be7932 Skeleton bare-metal provider
Just creating the provider, it isn't wired in yet.
2017-08-30 21:10:46 -04:00
Justin Santa Barbara e793562ee6 Extract UserData from CloudFormation output during testing
This gives us some sanity, so we can peek inside the base64 blob
2017-08-29 09:47:11 -04:00
Justin Santa Barbara a16c8b1500 Refactor PKI classes into their own package
This will support generation of keys on the node.
2017-08-27 08:14:55 -04:00
andrewsykim 525fde3609 implement digitalocean volumes task 2017-08-21 09:50:36 -04:00
chrislovecnm ee17e6567c starting work on file assets builder 2017-08-18 13:04:12 -06:00
Mike Splain 4331c12f73 Update image
To make it more copy and paste friendly
2017-08-16 09:59:40 -04:00
Mike Splain f6018df43e Fix quote typo 2017-08-16 09:36:42 -04:00
andrewsykim 1f0d0bbc75 initial cloud interface for DigitalOcean 2017-08-11 19:33:17 -04:00
Kubernetes Submit Queue ac887ce290 Merge pull request #3016 from justinsb/upload_taskify_2
Automatic merge from submit-queue

Copy docker images when they are redirected
2017-07-21 12:10:47 -07:00
Justin Santa Barbara 76743e64de Copy docker images when they are redirected 2017-07-20 23:40:46 -04:00
Phillip Wittrock 6a020bcd59 Check in generated openapi for the kops apiserver.
- Note the openapi will not be regenerated on each change.  This needs to done in a follow up.
2017-07-19 18:42:09 -07:00
Justin Santa Barbara d21d81dc5b Initial experimental kops-apiserver 2017-07-17 00:51:20 -04:00
Justin Santa Barbara 7a870f65b9 Example of how to do bash in our CLI help
* Use the pretty.LongDesc function (which doesn't pipe it through
markdown -> ascii)
* Use pretty.Bash helper to avoid problems with backticks in
go-backtick-quoted-strings
* Make sure indentation is consistent
2017-07-15 22:09:48 -04:00
andrewsykim a866f70e1e digitalocean support -- dns provider 2017-07-14 09:00:15 -04:00
Justin Santa Barbara 1965a4be49 Updates to fix unit tests 2017-07-08 18:46:01 -04:00
Justin Santa Barbara e945322cab Support generated clientset as alternative to vfs clientset
We modelled our VFS clientset (for API objects backed by a VFS path)
after the "real" clientsets, so now it is relatively easy to add a
second implementation that will be backed by a real clientset.

The snafu here is that we weren't really using namespaces previously.
Namespaces do seem to be the primary RBAC scoping mechanism though, so
we start using them with the real clientset.

The namespace is currently inferred from the cluster name.  We map dots
to dashes, because of namespace limitations, which could yield
collisions, but we'll deal with this by simply preventing users from
creating conflicting cluster names - i.e. you simply won't be able to
create a.b.example.com and a-b.example.com
2017-06-20 22:29:37 -04:00
Justin Santa Barbara 9d40b0e6ca Support internal (gossip) names for AWS also 2017-06-19 14:16:35 -04:00
Chris Love 0c1fd6b272 Merge pull request #2617 from WillemMali/move-verify-gendocs-to-makefile
Move verify-gendocs into Makefile and tighten Makefile safety
2017-06-14 09:45:27 -06:00
Willem Mali 60ad299075 moved verify-gendocs into Makefile and tightened Makefile safety (enabled noclobber, errexit and errunset) 2017-06-12 22:25:14 +02:00
andrewsykim e8c99ee72e removes cluster delete code in upup/pkg/kutil duplicated in pkg/resources and puts instancegroup and rollingupdate code into its own packges 2017-06-10 15:21:06 -04:00
Willem Mali cc7fdf91f4 Implemented a Git hook for the CI tests and related installer in the Makefile.
Funnily enough, while trying to commit the hook code it rejected my commit because the hook was missing the standardized script header.
2017-05-14 18:25:38 +02:00
chrislovecnm 7487b0d756 updating docs, adding verify-gendocs and more build tweaks 2017-05-04 18:58:10 -06:00
Justin Santa Barbara eddd73549c Use LB IP address for private dns 2017-04-25 01:32:27 -04:00
Justin Santa Barbara c8b18be9dd Gossip backed DNS 2017-04-25 01:32:21 -04:00
Miao Luo aed9f154ad Fix minor errors due to rebase. 2017-04-21 11:03:13 -07:00
Miao Luo de72c50a0d Change the default image name for vsphere provider and other minor fix. 2017-04-20 23:38:33 -07:00
Miao Luo 58197e6dab Support user-defined s3 endpoint.
When Environment variable S3_ENDPOINT is not empty, kops will use
the bucket on this specific s3 endpoint, instead of using AWS S3
by default.
2017-04-20 23:38:32 -07:00
Miao Luo b15014f9a3 Address review comments and add installing instructions. 2017-04-20 23:37:41 -07:00
prashima 5c92bc6a2d Added featureflag for vSphere cloud. Fixes #26. (#29) 2017-04-20 23:37:40 -07:00
prashima fc8faea2c8 Fixed environment variable setting process for vSphere. (#16) 2017-04-20 23:37:19 -07:00
prashima bc3e8c3734 Added code to enable nodeup and protokube building and execution for vSphere VM (#11)
* Added code to enable nodeup and protokube building and execution for vSphere VM.

* Fixed nodeup template for vSphere.
2017-04-20 23:37:19 -07:00
SandeepPissay 3ed60bd708 Fixed the formatting and added copyright headers to new files 2017-04-20 23:31:49 -07: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 a7c2c554e1 channels: support targeting kubernetes versions 2017-04-08 11:08:03 -04:00
andrewsykim fe1dc540d1 add k8s.io/kops/pkg/resources to pkg/resources 2017-04-08 10:52:06 -04:00
Chris Love e28c7beb2a Merge pull request #2316 from justinsb/add_fix_for_hack_update_header
Add fix for hack/update-header.sh
2017-04-07 11:00:49 -06:00
Justin Santa Barbara 38d4d69a1d Add fix for hack/update-header.sh
Without this verify-boilerplate.sh gave an exit code of 1 and the script
exited.
2017-04-07 00:24:44 -04:00
chrislovecnm a3a97c665e updating CI in hack script 2017-04-06 16:59:54 -04:00
Kris Nova c0e88558f0 Getting deps up to speed for the server
Protobuf and etcd updates - yey
2017-03-28 11:10:21 +02:00
Justin Santa Barbara b6401a384c Merge pull request #2127 from justinsb/godeps_sync_tool
Script to sync our submodules from Godeps
2017-03-27 21:26:00 -04:00
Justin Santa Barbara bdf0d04b0a Merge pull request #2104 from justinsb/container_optimized_os
Initial Container-Optimized OS support
2017-03-27 10:21:39 -04:00
Justin Santa Barbara b595a88a18 Merge pull request #2140 from justinsb/goimports
Script to call goimports
2017-03-26 00:04:03 -04:00
Justin Santa Barbara 9e7c0506f8 Update to fix tests 2017-03-20 23:56:20 -04:00
Justin Santa Barbara a41e7598ca Script to call goimports
Trying out python
2017-03-16 09:42:38 -04:00
Justin Santa Barbara cb4641fea3 Code updates 2017-03-16 02:40:50 -04:00
Justin Santa Barbara 7800f8e48c Python script to update submodule from Godeps
Generates bash files.  Rough and ready, but eliminates some tedious
updating.
2017-03-15 23:19:07 -04:00
Justin Santa Barbara 645f330dad Re-enable GCE support
We move everything to the models.  We feature-flag it, because we
probably want to change the names etc, and we aren't going to be able to
offer smooth upgrades until that is done.
2017-02-28 20:08:03 -05:00
Justin Santa Barbara fab539f978 Cleanup nil handling in kubelet options 2017-02-21 00:44:55 -05:00
Justin Santa Barbara fec89f0f33 Skip DNS precreate on CF; a few test fixes 2017-02-17 11:04:39 -05:00
Justin Santa Barbara c649271c1f Refactor extra-field logic into pkg/edit
This will allow for easier reuse
2017-02-17 01:01:46 -05:00
yissachar e6f655f86d Merge pull request #1928 from justinsb/fix_1920
Support string-or-slice in IAM policies
2017-02-16 23:02:02 -05:00
Justin Santa Barbara dc9a343434 Support string-or-slice in IAM policies
Fix #1920
2017-02-16 22:24:28 -05:00
yissachar dfc5995488 Merge pull request #1932 from apenney/fix-brew
Adding this depends makes it work on Sierra for me
2017-02-16 18:33:02 -05:00
Ashley Penney a6aa30c338 Adding this depends makes it work on Sierra for me
Prior to this Makefile:70 always failed with the error that shasum
was unavailable.
2017-02-16 22:21:44 +00:00
Manuel de Brito Fontes da2630638b Fix build 2017-02-11 13:57:30 -03:00
andrewsykim 1594f3dc8e add k8s.io/kops/federation/model back to hack/.packges 2017-02-11 10:19:46 -05:00
andrewsykim c78d41cdba add mock autoscaling 2017-02-11 10:09:26 -05:00
Kris Nova 960cf39c46 Adding check for aws cli in $PATH 2017-02-07 11:11:49 -07:00
Kris Nova bf530ef826 Update hack script 2017-02-06 22:20:31 -07:00
Kris Nova 50dc7c9cb3 Adding hack script and fixing aws.md 2017-02-06 22:18:59 -07:00
Justin Santa Barbara 379e0ca098 Channel manifest should be version aware
* We can target AMIs to kubernetes versions
* We can recommend / force a kops upgrade
* We can recommend / force a kubernetes upgrade
2017-01-25 23:13:48 -05:00
Justin Santa Barbara 587c341dd7 Fix boilerplate / gofmt 2017-01-25 09:13:45 -05:00
Chris Love 849815b638 Merge pull request #1601 from justinsb/validate_subnet_no_mixing
validation: Validate we specify ids for all subnets
2017-01-24 23:01:41 -07:00
chrislovecnm 4372bb4320 updates for hack script 2017-01-25 00:42:21 -05:00
Justin Santa Barbara 9e015285f8 validation: Validate we specify ids for all subnets
Move our validation to the apimachinery style.  And then add a
validation that we specify IDs either for all subnets or no subnets.
2017-01-24 12:38:52 -05:00
Justin Santa Barbara 89460916c6 Merge pull request #1367 from frodopwns/1302-require-confirm-on-delete
Require a confirmation when deleting resources #1302
2017-01-19 10:21:51 -05:00
Chris Love 186e23b5bf Merge pull request #1484 from justinsb/move_flagbuilder
Move flagbuilder to a shared package
2017-01-17 08:01:09 -08:00
Kris Nova 5c7174da00 Merge pull request #1487 from justinsb/split_out_systemd
Split out systemd package
2017-01-16 21:19:57 -07:00
Justin Santa Barbara fa0d9e9d3c Move flagbuilder to a shared package
Splitting up the CoreOS PR into manageable chunks
2017-01-16 20:38:00 -05:00
Chris Love 4c8c587b6a Merge pull request #1485 from justinsb/split_out_kubeconfig
Refactor kubeconfig into its own package
2017-01-16 13:51:05 -07:00
Chris Love 51b764468c Merge pull request #1486 from justinsb/split_out_distros
Split out distros into its own package
2017-01-16 13:16:17 -07:00
Justin Santa Barbara e1e9dd3c4c Refactor kubeconfig into its own package
Splitting up the coreos PR
2017-01-15 18:19:39 -05:00
Justin Santa Barbara 515d4ddb21 Split out distros into its own package
Part of splitting up the coreos PR
2017-01-15 18:18:34 -05:00
Justin Santa Barbara b3fd80ac11 Split out systemd package
Part of splitting up the CoreOS PR
2017-01-15 17:52:56 -05:00
Justin Santa Barbara 4de7f2c0c7 Build for apimachinery builders from vendor 2017-01-15 16:02:17 -05:00
Justin Santa Barbara 53135fa57e Add conversion tests, and fix some problems
* We were naming our etcd zones inconsistently
* When we wrote to v1alpha2, we would change the etc member names

Fix #1202
2017-01-07 21:54:15 -05:00
Erin Corson 2d09b2aa92 updating packages 2017-01-06 12:10:52 -07:00
Kris Nova 0b245c96eb Merge pull request #1356 from justinsb/2017_is_a_year
Consider 2017 a year
2017-01-04 20:57:14 -07:00
Justin Santa Barbara 2aa138907a Consider 2017 a year
And generally update to the latest upstream boilerplate script
2017-01-04 21:54:47 -05:00
Chris Love 9f5c5fb0c6 Merge pull request #1258 from DualSpark/headers-2017
Headers 2016->2017
2017-01-04 16:54:57 -07:00
Zach Loafman 7079729f26 Revert "Revert "Load protokube from http/https"" 2017-01-04 09:32:24 -08:00
Zach Loafman d69fd6989c Revert "Load protokube from http/https" 2017-01-04 07:54:20 -08:00
Justin Santa Barbara fbbfa98872 Merge pull request #1318 from justinsb/images_over_http
Load protokube from http/https
2017-01-03 22:31:03 -05:00
Justin Santa Barbara 95a4069fad Recognize KOPS_BASE_URL, fallback to KOPS_URL
KOPS_URL feels a little too generic
2017-01-03 10:18:49 -05:00
Justin Santa Barbara 66d5d55195 Fixes per code review 2016-12-31 16:03:23 -05:00
Justin Santa Barbara 5c9d9f6f47 Use `git ls-files` to find go files
Otherwise it is hard to ignore files _not_ in git
2016-12-30 16:25:07 -05:00
Justin Santa Barbara e63dab8b9c Verify gofmt as part of build 2016-12-30 16:25:07 -05:00
Kris Childress a4b00a879a Headers 2016->2017 2016-12-25 20:02:30 -07:00
heschlie a4b7093b0d Calico integration
Adding the option to install Calico with the `--networking calico`
argument.  This will currently deploy Calico v2.0 to the cluster.

Documentation has also been updated with information about Calico and
where one can find more information or help.
2016-12-20 10:13:00 -08:00
Kris Childress 3d7a22c03b Fix nodeup_url - adding .s3 2016-12-11 14:07:57 -07:00
Justin Santa Barbara b6c9525933 Merge pull request #1031 from DualSpark/script-cleanup
removing our image and forcing setting of an ami
2016-12-07 09:21:05 -05:00
chrislovecnm 6958de8323 fixing nodeup url 2016-12-04 14:14:51 -07:00
Kris Childress 7242d91e24 Merge pull request #989 from WillPlatnick/brew_docs
Add brew install documentation
2016-12-04 06:00:26 -07:00
chrislovecnm f39a8a6ef8 adding hack/verify-boilerplate.sh to make ci target 2016-12-03 14:45:01 -07:00
chrislovecnm 078ec35fb0 more script tweaks 2016-12-03 12:55:38 -07:00
Will Platnick 9e6323afdd Update Homebrew documentation 2016-12-02 11:12:46 -06:00
chrislovecnm 9e354b6b26 removing our image and forcing setting of an image 2016-12-01 21:11:44 -05:00
chrislovecnm 19ea96e387 working on weave 2016-11-16 23:41:50 -05:00
chrislovecnm a890390fbf updating bugs 2016-11-16 20:05:27 -05:00
chrislovecnm 11fcc98178 more tweaks 2016-11-13 01:10:50 -05:00
chrislovecnm 23fe01c026 more tweaks 2016-11-13 00:42:38 -05:00
chrislovecnm 127c5b844e tweaks in names and added docs 2016-11-13 00:12:48 -05:00
chrislovecnm 5be3f4881e start work on dev script 2016-11-12 18:09:51 -05:00
chrislovecnm 8fa2aac99f fixing more headers 2016-10-15 19:20:56 -06:00
chrislovecnm 05090a4e82 script for updating headers 2016-10-15 19:20:55 -06:00
chrislovecnm f3cd5b5312 adding validation scripts for vet, linting, and check headers
going to use k8s validator

updating runtest.sh

updating headers

fixing problem in bash

working on golang
2016-10-15 19:20:51 -06:00