Commit Graph

4236 Commits

Author SHA1 Message Date
Kubernetes Submit Queue 2406e28404 Merge pull request #3486 from justinsb/use_iskubernetesgte_helper
Automatic merge from submit-queue.

Use IsKubernetesGTE helper instead of reparsing semver
2017-09-30 21:57:44 -07:00
Kubernetes Submit Queue 53ec69f5d8 Merge pull request #3483 from justinsb/makefile_missing_phony
Automatic merge from submit-queue.

makefile: add 3 PHONY targets
2017-09-30 21:22:51 -07:00
Kubernetes Submit Queue 84891f39c7 Merge pull request #3492 from justinsb/fix_receiver_name
Automatic merge from submit-queue.

golint: rename two receievers for awsCloudImplementation
2017-09-30 20:44:55 -07:00
Lars Lehtonen 10921033ed
Makefile basic debugging in Travis 2017-09-30 20:28:43 -07:00
Kubernetes Submit Queue bd4ba4de8e Merge pull request #3487 from justinsb/cleanup_comment_maxtaskduration
Automatic merge from submit-queue.

Clean up comment on MaxTaskDuration
2017-09-30 20:08:24 -07:00
Kubernetes Submit Queue d0570729e5 Merge pull request #3485 from justinsb/reduce_log_severity_os_detection
Automatic merge from submit-queue.

Reduce log severity of not-unexpected nodeup log message
2017-09-30 19:32:57 -07:00
Justin Santa Barbara a4a58d277d Mirroring - Fixes from code review 2017-09-30 22:05:14 -04:00
Kubernetes Submit Queue bbf1f47432 Merge pull request #3484 from justinsb/makefile_fix_push_gce_run
Automatic merge from submit-queue.

GCE: fix makefile push-gce-run
2017-09-30 18:56:01 -07:00
Justin Santa Barbara 66b174321f Cleanup signature of default volume-size method
Because the default doesn't depend on the user-specified value, it's
misleading to pass it in.
2017-09-30 21:24:51 -04:00
Justin Santa Barbara df93d82bd8 Use IsKubernetesGTE helper instead of reparsing semver 2017-09-30 21:21:24 -04:00
Kubernetes Submit Queue 852455afed Merge pull request #3439 from justinsb/gce_zones_in_instancegroup
Automatic merge from submit-queue.

Add Zones field to InstanceGroup

The Zones field can specify zones where they are not specified on a
Subnet, for example on GCE where we have regional subnets.
2017-09-30 18:17:32 -07:00
Kubernetes Submit Queue 06b0111251 Merge pull request #3497 from justinsb/docs_stretch
Automatic merge from submit-queue.

Add docs that debian 9 images should work
2017-09-30 17:19:39 -07:00
Kubernetes Submit Queue 0ef1b697af Merge pull request #3493 from justinsb/dry_getgroups
Automatic merge from submit-queue.

Minor cleanups to #3446

Felt easier than iterating in PR comments!
2017-09-30 17:19:35 -07:00
Kubernetes Submit Queue 9718562581 Merge pull request #3491 from justinsb/stretch_support
Automatic merge from submit-queue.

Debian 9 (stretch) support
2017-09-30 16:45:13 -07:00
Justin Santa Barbara 7fd1196708 Add Zones field to InstanceGroup
The Zones field can specify zones where they are not specified on a
Subnet, for example on GCE where we have regional subnets.
2017-09-30 19:44:35 -04:00
Justin Santa Barbara da99a7270d Subnets on GCE are regional, create one per region
We also make the subnet zone and CIDR optional on GCE
2017-09-30 19:22:14 -04:00
Justin Santa Barbara eb2cd45cdf Support wget for download, not just curl
Some images don't include curl but do have wget.  Prefer curl, but
fallback to wget.

(The official Debian 9 image does not have curl.)
2017-09-30 19:12:58 -04:00
Kubernetes Submit Queue eb110f5b6c Merge pull request #3478 from chrislovecnm/using-same-disk-size-gce
Automatic merge from submit-queue.

using same disk sizes for gce

Using the same disk size for gce and aws.  We need to override the disk sizes in the e2e tests, but that is another PR.

Closes: https://github.com/kubernetes/kops/issues/3294
2017-09-30 16:01:38 -07:00
Julian V. Modesto 8cb2b68c74 Add k8s logrotate config for CoreOS 2017-09-30 18:45:22 -04:00
Kubernetes Submit Queue 0b97571545 Merge pull request #3480 from justinsb/gce_fix_migs_size_0
Automatic merge from submit-queue.

Support GCE MIGs of size 0
2017-09-30 15:25:45 -07:00
Justin Santa Barbara abd48ee653 Name CloudInstanceGroupMember consistently
Keep the naming of the type consistent.
2017-09-30 17:39:53 -04:00
Justin Santa Barbara 8280c4f9d3 Remove MarkIsReady function, calculate on demand
Avoids setting the trap of failing to call MarkIsReady
2017-09-30 17:39:53 -04:00
Justin Santa Barbara a5d72ca190 DRY FindAutoscalingGroups by removing from resources pkg 2017-09-30 17:39:53 -04:00
Justin Santa Barbara 44e67c4f93 DRY mock-aws cloudinstances functions 2017-09-30 17:39:53 -04:00
Kubernetes Submit Queue c7b4f7e925 Merge pull request #3446 from chrislovecnm/aws-get-groups
Automatic merge from submit-queue.

Refactoring to use cloud method for getting cloud groups

This builds on various other PRs.  The only two SHAs to review are:

1. Moving delete instancesgroups into its own file d52d767508
2. Refactoring to use cloud based GetCloudGroups c33a078f52

AWS is the only one that has GetCloudGroups implemented at this point.  GCE is next.

TODO

- [x] e2e testing rolling-update
- [x] e2e testing rolling-update with only one instance group
- [x] e2e testing force
- [x] e2e testing cloud-only

Updates

I have moved more of the code into `/pkg/cloudinstances` per guidance from @justinsb!  I am liking it more!
2017-09-30 14:39:06 -07:00
Justin Santa Barbara 383194780a Create helper function for critical pod annotations
In particularly I think we want a toleration also; easiest to put the
code in one function.
2017-09-30 17:38:20 -04:00
Kubernetes Submit Queue 6a0af5c5d7 Merge pull request #3481 from julianvmodesto/critical-pod-annotations
Automatic merge from submit-queue.

Set critical pod annotations

Addresses #1714
2017-09-30 14:02:40 -07:00
chrislovecnm 892ff7a6b7 fixing integration test 2017-09-30 14:40:39 -06:00
Kubernetes Submit Queue 1e9010ddbf Merge pull request #3495 from justinsb/split_out_baremetal_no_networkcidr
Automatic merge from submit-queue.

baremetal: error if NetworkCIDR set
2017-09-30 13:24:44 -07:00
chrislovecnm c9cc561885 refactoring FindInstanceTemplates into gce cloud interface 2017-09-30 14:02:58 -06:00
Justin Santa Barbara 5332ce5fe6 Add docs that debian 9 images should work 2017-09-30 15:57:49 -04:00
Justin Santa Barbara b32e6b569f baremetal: error if NetworkCIDR set 2017-09-30 15:10:10 -04:00
Justin Santa Barbara cc97557096 golint: rename two receievers for awsCloudImplementation
Keep the receiver name the same
2017-09-30 12:21:46 -04:00
Justin Santa Barbara 6059fdf9cb Debian 9 (stretch) support
Recognize debian 9 and map docker on it
2017-09-30 10:24:34 -04:00
Justin Santa Barbara afa3753bcf Clean up comment on MaxTaskDuration 2017-09-30 02:12:29 -04:00
Justin Santa Barbara ce61e9fc54 Reduce log severity of not-unexpected nodeup log message 2017-09-30 02:11:43 -04:00
Justin Santa Barbara ab60539e41 GCE: fix makefile push-gce-run
We need to copy to a location that is not mounted noexec
2017-09-30 02:11:13 -04:00
Justin Santa Barbara 3669a01a71 makefile: add 3 PHONY targets
Marking some targets as phony that are plainly missing dependencies.
2017-09-30 02:10:53 -04:00
Julian V. Modesto ae9d332b93 Set critical pod annotations 2017-09-30 01:28:59 -04:00
Justin Santa Barbara 2e39109ff7 Support GCE MIGs of size 0 2017-09-29 21:46:20 -04:00
chrislovecnm d92f34ec32 thining out issue template 2017-09-29 16:46:57 -06:00
chrislovecnm c4c63b2b0c using same disk sizes for gce 2017-09-29 16:07:38 -06:00
chrislovecnm a431eb3e43 refactoring to use cloud based GetGroups 2017-09-29 12:29:07 -06:00
chrislovecnm 9bf197830f Fixing stdout on tests 2017-09-29 12:25:07 -06:00
chrislovecnm 2f12a3e521 refactoring delete into its own file 2017-09-28 15:52:50 -06:00
chrislovecnm 93f3600f36 adding aws_cloud instancegroups delete and get methods 2017-09-28 15:52:50 -06:00
chrislovecnm db5b931579 Adding three new funcs for cloud providers, for refactoring delete and
get
2017-09-28 15:52:49 -06:00
Kubernetes Submit Queue ea314784b5 Merge pull request #3456 from justinsb/gce_forwardingrule_lifecycle
Automatic merge from submit-queue.

GCE: Ignore Lifecycle in forwarding rule
2017-09-27 11:17:34 -07:00
Kubernetes Submit Queue dce11865a7 Merge pull request #3458 from jlaswell/update-rolling-update-cli-docs
Automatic merge from submit-queue.

Doc updates to clarify and fix typos in rolling-update cmd.

Helps with https://github.com/kubernetes/kops/issues/3441. (Previous https://github.com/kubernetes/kops/pull/3452)
2017-09-27 10:37:03 -07:00
Kubernetes Submit Queue 383a37ad16 Merge pull request #3229 from gambol99/manifest_files
Automatic merge from submit-queue.

Manifest files

The current implementation uses flags embedded into the command line rather than argument which is more consistent with other manifests and kubeadm. Logging currently pushes all the logs into the host, which isn't really ideal with an ephemeral host model, users should be pushed to implement a proper remote logging stack to retain logs not ssh to boxes.

- changed the manifest to use arguments rather than option flags
- changed the logging to use journal rather than relying on host logging files

```shell
core@ip-10-250-34-21 ~ $ cat /etc/kubernetes/manifests/kube-apiserver.manifest  | grep -A 6 args
  - args:
    - --address=127.0.0.1
    - --admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,ResourceQuota,PodTolerationRestriction
    - --allow-privileged=true
    - --anonymous-auth=false
    - --apiserver-count=3
    - --authorization-mode=RBAC
```
2017-09-27 09:55:48 -07:00