Commit Graph

918 Commits

Author SHA1 Message Date
Justin Santa Barbara 4545352c00 Don't rolling-update all masters at once
Also add force command to rolling-update, for testing sanity.

Fix #284
2016-08-16 12:53:37 -04:00
Justin Santa Barbara 807902f167 Merge pull request #323 from justinsb/issue_91
Warn if KOPS_STATE_STORE is not an S3 bucket
2016-08-16 12:22:38 -04:00
Justin Santa Barbara f3bd394008 Document cleaned up upgrade command
Issue #239
2016-08-16 10:27:37 -04:00
Justin Santa Barbara fe27d8bb61 Warn if KOPS_STATE_STORE is not an S3 bucket
Issue #91
2016-08-16 10:16:32 -04:00
Justin Santa Barbara 686bd5ae1c Merge pull request #322 from justinsb/nodeup_cleanups
A few nodeup cleanups
2016-08-16 10:13:31 -04:00
Justin Santa Barbara 9b7291ab24 A few nodeup cleanups
* Correctly identify user tasks as a dependency for services
* Cleaned up flag-walking
2016-08-16 10:10:44 -04:00
Justin Santa Barbara 96f0f19948 Merge pull request #321 from justinsb/fix_317
Add top-level retry to nodeup
2016-08-16 10:02:20 -04:00
Justin Santa Barbara 2bc5a3cd61 Add makefile target for go16 as well
We should have a target for all our supported versions
2016-08-16 09:57:30 -04:00
Justin Santa Barbara 08114a3a68 Add top-level retry to nodeup 2016-08-16 09:54:43 -04:00
Justin Santa Barbara 9320f6cd3a Merge pull request #318 from justinsb/upgrade_for_upgrade
Rename old upgrade command; make new upgrade intuitive
2016-08-16 09:30:28 -04:00
Justin Santa Barbara 5d8c170360 Rename old upgrade command; make new upgrade intuitive
The old upgrade command (which was only called as part of a kube-up ->
kops upgrade) is now `kops toolbox convert-imported`.  The docs are
updated, but this is only normally called once per import so this should
not be high impact.

The upgrade command now looks for things that need upgrading.  Currently
only `upgrade cluster` is implemented; it currently only checks the
KubernetesVersion.  If KubernetesVersion is out of date, it will be
printed, and if --yes is specified the cluster spec will be set to the
next value.
2016-08-16 09:28:36 -04:00
Justin Santa Barbara 230a39acbf Merge pull request #319 from justinsb/makefile_check_go17
Create test-build command for go 1.7
2016-08-16 09:24:45 -04:00
Justin Santa Barbara fbd703647a Create test-build command for go 1.7 2016-08-16 02:04:11 -04:00
Justin Santa Barbara 6f52c099ef Merge pull request #316 from justinsb/lock_k8s_version
Set KubernetesVersion on cluster creation
2016-08-15 23:12:05 -04:00
Justin Santa Barbara afff47e3d4 Merge pull request #310 from justinsb/fix_46
Validate that the cluster name is a valid DNS name
2016-08-15 23:11:58 -04:00
Justin Santa Barbara 8bf1a565b8 Merge pull request #296 from justinsb/e2e
e2e test runner
2016-08-15 23:11:26 -04:00
Justin Santa Barbara 68719704ef e2e test runner 2016-08-15 23:09:11 -04:00
Justin Santa Barbara b5b173c0e3 Merge pull request #314 from zmerlynn/container_build
CI: Add container build
2016-08-15 22:07:15 -04:00
Justin Santa Barbara 201e6c05a9 Set KubernetesVersion on cluster creation
This is the only remaining "magic" setting, which changes externally
- when new versions of k8s are released.  (The AMIs are locked in the
instance groups)

We now record the current version of KubernetesVersion in the cluster
spec.  It can still easily be changed if needed, but this also means we
don't need to make "fake" changes.
2016-08-15 22:02:44 -04:00
Zach Loafman 39301f469b CI: Add container build
Add a simple Dockerfile that can build kops, and a short README on how
to build it. This generates a 425M image, which is about as tight as I
could get it in a short amount of work without just busting apart the
golang:1.6-alpine image to compress the Go layer itself. It's good
enough for what I'm planning to use it for: CI builds.

Along the way: Fix-up .gitignore to include more from k8s/.gitignore
(include editor ones, and terraform output dir).
2016-08-15 17:08:11 -07:00
Justin Santa Barbara d95a969f8d Merge pull request #309 from justinsb/delete_cluster_message
Fix message when no name passed to delete cluster
2016-08-15 01:23:23 -04:00
Justin Santa Barbara 6aee9528e1 Validate that the cluster name is a valid DNS name
This should help users avoid the common mistake of just specifying the
name, not a fully-qualified domain name.

Fix #46
2016-08-15 01:21:12 -04:00
Justin Santa Barbara 069550fc52 Fix message when no name passed to delete cluster 2016-08-15 00:41:39 -04:00
Justin Santa Barbara f3ff93582c Merge pull request #308 from justinsb/docs_aug14c
Docs: run `kops delete cluster` even with TF, for dynamic resources
2016-08-14 23:47:02 -04:00
Justin Santa Barbara 0a49f5ae33 Docs: run `kops delete cluster` even with TF, for dynamic resources 2016-08-14 23:45:20 -04:00
Justin Santa Barbara d9fb3812cb Merge pull request #307 from justinsb/fix_208
If no changes are needed in an update, don't print a confusing message
2016-08-14 23:43:06 -04:00
Justin Santa Barbara daed90728f Merge pull request #305 from justinsb/dns_replicas
DNS is a SPOF; make sure there are replicas
2016-08-14 23:43:01 -04:00
Justin Santa Barbara 36ec05ad93 Merge pull request #306 from justinsb/tf_fixes
Fixes for terraform, folllowing release of 0.7
2016-08-14 23:42:55 -04:00
Justin Santa Barbara 5fb39913cc If no changes are needed in an update, don't print a confusing message
Fix #208
2016-08-14 23:40:18 -04:00
Justin Santa Barbara 37199e4849 Sanitize tf SSH keypair name
Fix #299
2016-08-14 23:23:44 -04:00
Justin Santa Barbara 004d08d1a6 Update terraform docs for 0.7 release
Issue #281
Closes #256
2016-08-14 23:16:44 -04:00
Justin Santa Barbara 10fe716125 DNS is a SPOF; make sure there are replicas
Change the default to a more sensible starting point.
2016-08-14 22:47:40 -04:00
Justin Santa Barbara 5a1c1dc74f Merge pull request #304 from justinsb/fix_286
Add note that ASGs change during upgrade from 1.2
2016-08-14 22:43:35 -04:00
Justin Santa Barbara 8bcbfd2991 Add note that ASGs change during upgrade from 1.2
Fix #286
2016-08-14 22:42:11 -04:00
Justin Santa Barbara 8be3b87e1b Merge pull request #303 from justinsb/docs_aug14a
Start work on documenting authentication/security
2016-08-14 22:33:03 -04:00
Justin Santa Barbara 399e622f64 Start work on documenting authentication/security
In particular SSH

Issue #166
Issue #263
Issue #236
2016-08-14 22:30:49 -04:00
Justin Santa Barbara 62fc3cfd69 Merge pull request #302 from justinsb/hints_on_update
Provide hints after update cluster
2016-08-14 22:21:51 -04:00
Justin Santa Barbara 58f761bc9d Merge pull request #301 from justinsb/fix_166
Export admin password in kubecfg
2016-08-14 22:20:43 -04:00
Justin Santa Barbara e778c792fe Provide hints after update cluster
This should make kops more discoverable

Issue #166

Issue #263
2016-08-14 22:19:52 -04:00
Justin Santa Barbara 7cde6890a4 Export admin password in kubecfg
This is where users expects to find it, because it is how kube-up does
it.

Issue #166
2016-08-14 22:18:58 -04:00
Justin Santa Barbara 6ef55682b7 Merge pull request #295 from justinsb/docs_aug11_a
Add notes describing aug 11 changes
2016-08-12 01:24:33 -04:00
Justin Santa Barbara 6d4284a029 Add notes describing aug 11 changes 2016-08-11 22:40:16 -04:00
Justin Santa Barbara 7699dc8fd2 Merge pull request #294 from justinsb/use_ssh_key
SSH key improvements
2016-08-11 22:28:41 -04:00
Justin Santa Barbara 1f68107ded Merge pull request #292 from justinsb/run_ci_versions
Run CI versions of k8s
2016-08-11 22:28:33 -04:00
Justin Santa Barbara 5f98402e2a Merge pull request #275 from justinsb/hi1_instance_types
Add support for hi1 instance type
2016-08-11 22:26:29 -04:00
Justin Santa Barbara e790d6120f Merge pull request #283 from dberuben/update_kops
how to Update kops
2016-08-11 12:10:36 -04:00
Justin Santa Barbara 96b49d5641 Document key creation for import 2016-08-11 12:05:35 -04:00
Justin Santa Barbara a3cfec6c24 Support changing the SSH public key
This requires that we include the OpenSSH fingerprint in the AWS key
name.
2016-08-11 12:00:52 -04:00
Justin Santa Barbara 219c6e4308 Use the SSH key from the secret store
It is an error if there is not exactly one, but we have commands to
manage it now.
2016-08-11 12:00:46 -04:00
Justin Santa Barbara 189526ab20 Merge pull request #293 from justinsb/dhcp_eventual_consistency
Add another eventual consistency error code
2016-08-11 02:46:57 -04:00