Commit Graph

5437 Commits

Author SHA1 Message Date
Justin Santa Barbara 48cabafd7c docs: suggest more strongly to export KOPS_STATE_STORE
Otherwise it's not entirely clear that you really want to do this, and
that it's not just for the formatting of the examples!
2016-07-06 10:16:20 -04:00
Justin Santa Barbara b6035bffaf Fix typo in error message
Fingerpring -> Fingerprint
2016-07-06 10:04:13 -04:00
Justin Santa Barbara 0a6460424a Merge pull request #60 from justinsb/fix_panic_in_dryrun
Fix panic when IAMInstanceProfile not found
2016-07-06 09:58:23 -04:00
Justin Santa Barbara db4b190831 Fix panic when IAMInstanceProfile not found 2016-07-06 09:51:44 -04:00
Justin Santa Barbara e953d76f9f Merge pull request #51 from justinsb/fix_48
Only warn if a _different_ ephemeral device is attached
2016-07-06 03:07:05 -04:00
Justin Santa Barbara fa3157e512 Merge pull request #54 from justinsb/fix_tests
Update & get tests working again
2016-07-06 03:06:59 -04:00
Justin Santa Barbara 9538d84eff Merge pull request #56 from justinsb/formatting_43
Fix formatting in error message
2016-07-06 03:06:53 -04:00
Justin Santa Barbara 981cbe0189 Merge pull request #55 from justinsb/fix_22
Fix #22
2016-07-06 03:06:45 -04:00
Justin Santa Barbara e3e6b5449b Merge pull request #57 from justinsb/fix_35
Wait for InstanceProfile to be readable after creation
2016-07-06 03:06:36 -04:00
Justin Santa Barbara 6f49a50886 Wait for InstanceProfile to be readable after creation
This should avoid spurious errors when creating dependent resources,
which fail if we try to create before the InstanceProfile is fully
created.

Issue #35
2016-07-06 01:01:24 -04:00
Justin Santa Barbara d8e8cd80ab Fix formatting in error message
Issue #43 (not a fix though, just something observed in that issue)
2016-07-06 00:45:32 -04:00
Justin Santa Barbara 2f84573e2b DebugPrint should handle the case where the resource cannot be found
We print "unknown resource" instead

Issue #22
2016-07-06 00:40:51 -04:00
Justin Santa Barbara 7b57329f34 Don't panic if asked to Open an empty resource
Return an error instead

Issue #22
2016-07-06 00:37:18 -04:00
Justin Santa Barbara c956bdada5 Update & get tests working again
They're still hitting the AWS APIs, have terrible coverage and are slow.
But it's a start!
2016-07-06 00:33:07 -04:00
Justin Santa Barbara a9198ee5a4 Merge pull request #52 from justinsb/fix_49
Remove glide from readme
2016-07-06 00:22:46 -04:00
Justin Santa Barbara 8d89dc5e9a Merge pull request #53 from justinsb/docs_choose_name
docs: provide more hints about how to choose a cluster name
2016-07-05 23:27:15 -04:00
Justin Santa Barbara 538c6ca007 docs: provide more hints about how to choose a cluster name
Make it clearer that the cluster name should be a DNS name.

Fix #28
2016-07-05 22:49:28 -04:00
Justin Santa Barbara 59479a7bd3 Remove glide from readme
It isn't required to build the code, now that we checked in the vendor
directory.

Fix #49
2016-07-05 22:35:38 -04:00
Justin Santa Barbara 05af11b72e Only warn if a _different_ ephemeral device is attached
When we retry a task, we run the Run method again.  But in this case,
the run method actually populated some default values.  Only warn if the
values we are populating are different, to avoid spurious warnings.

We probably need a stronger lifecycle - for example having a Validate
method would probably be helpful.

Fix #48
2016-07-05 22:05:42 -04:00
Justin Santa Barbara d2cc3d9160 Merge pull request #50 from justinsb/fix_11
Add dummy go source to root, to avoid go get warning
2016-07-05 21:24:11 -04:00
Justin Santa Barbara f3bb6879fa Add dummy go source to root, to avoid go get warning
Fix #11
2016-07-05 21:22:57 -04:00
Justin Santa Barbara 806fc8012c Merge pull request #39 from justinsb/docs_3
Initial docs for how to apply a configuration change
2016-07-05 13:06:27 -04:00
Justin Santa Barbara a2d7dc017c Initial docs for how to apply a configuration change
The procedure could definitely use some work!
2016-07-05 13:04:17 -04:00
Justin Santa Barbara e1e36ded1f Merge pull request #34 from justinsb/dont_force_ha_master
Don't force HA master by default
2016-07-05 12:36:55 -04:00
Justin Santa Barbara 9c07670d26 Don't force HA master by default
Users can still get HA master by explicitly specifying a list of
`--master-zones`.

But HA master is not as well tested, is slower, needs more machines etc
and we probably shouldn't silently force it as the default.

Fix #33
2016-07-05 12:23:47 -04:00
Justin Santa Barbara 188ca8339c Merge pull request #32 from justinsb/makefile_fixes
Makefile improvements
2016-07-05 11:56:20 -04:00
Justin Santa Barbara 2cf46731aa Makefile improvements
Fix some paths; don't try to push to production buckets.

Reorganize protokube into the main Makefile
2016-07-05 11:54:41 -04:00
Justin Santa Barbara d37e896fd9 Merge pull request #31 from justinsb/aws_set_hostname_override
AWS: set hostname-override from metadata service
2016-07-05 11:38:14 -04:00
Justin Santa Barbara 9c2f92f289 AWS: set hostname-override from metadata service
This is a weird edge case, because it can't be determined in advance.

We carve out a special well-known name, `@aws`, which nodeup/protokube
will expand to the local-hostname from the aws metadata service when it
is found in the HostnameOverride value.

Ideally we wouldn't do this at all now that we have DNS integration, but
we first want to get into the tested & working configuration!

Fixes #19
2016-07-05 11:36:47 -04:00
Justin Santa Barbara aea06555f4 Merge pull request #20 from justinsb/add_vendor
Include vendored dependencies
2016-07-05 00:06:15 -04:00
Justin Santa Barbara 27e68d23f6 Include vendored dependencies
glide just has too many edge-cases still, sadly.
2016-07-05 00:03:07 -04:00
Justin Santa Barbara e8c78fbf47 Merge pull request #15 from justinsb/schema_update
Update schema to sync up with coming changes in API
2016-07-02 15:00:12 -04:00
Justin Santa Barbara 8e4d751eb9 Update schema to sync up with coming changes in API
Thankfully we aren't yet using any of these properties
2016-07-02 14:58:34 -04:00
Justin Santa Barbara 15f24e0d57 Merge pull request #14 from justinsb/protokube_docs
Initial protokube README
2016-07-02 14:49:22 -04:00
Justin Santa Barbara 59ee0b05a0 Initial protokube README 2016-07-02 14:47:12 -04:00
Justin Santa Barbara 0fbb35dec0 Merge pull request #10 from justinsb/az_diagnostics
More diagnostics when an AZ is not recognized
2016-07-01 10:07:12 -04:00
Justin Santa Barbara ea85493ddc Merge pull request #9 from justinsb/fix_makefile
Simple fix to makefile & gofmt
2016-07-01 10:05:07 -04:00
Justin Santa Barbara 16341bd836 Merge pull request #8 from MHBauer/build-directory
fix build directory
2016-07-01 10:04:57 -04:00
Justin Santa Barbara 58fbef0572 Apply gofmt 2016-07-01 10:02:30 -04:00
Justin Santa Barbara 15594eb1ac Fix makefile gofmt code path 2016-07-01 10:02:04 -04:00
Justin Santa Barbara bfdd976855 More diagnostics when an EC2 zone is not recognized 2016-07-01 10:00:19 -04:00
Justin Santa Barbara ac119289fd Add ap-south-1 region 2016-07-01 09:59:56 -04:00
Morgan Bauer e90a2d7ff1
fix build directory 2016-06-30 10:06:54 -07:00
Justin Santa Barbara 4162bafd2e Merge pull request #7 from justinsb/docs_1
docs: streamline readme
2016-06-30 10:35:43 -04:00
Justin Santa Barbara 4c53077b60 docs: streamline readme
Drop some optional arguments that are just noise
2016-06-30 10:34:27 -04:00
Justin Santa Barbara 06f92131f7 Merge pull request #6 from justinsb/cleanup_1
Cleanup: move docs to top-level, add .gitignore
2016-06-30 10:32:28 -04:00
Justin Santa Barbara 3886c03efe Cleanup: move docs to top-level, add .gitignore
Rearranging for the new repo
2016-06-30 10:31:18 -04:00
Justin Santa Barbara 153320078f Merge pull request #5 from justinsb/rename_cloudup_to_kops_create
Merge cloudup tool into `kops create cluster`
2016-06-30 10:27:45 -04:00
Justin Santa Barbara d8b661777b Merge cloudup tool into `kops create cluster` 2016-06-30 10:25:50 -04:00
Justin Santa Barbara f757cc9def Merge pull request #1 from justinsb/rename_to_kops
Rename to kops
2016-06-30 09:32:57 -04:00