Commit Graph

1847 Commits

Author SHA1 Message Date
Jeff Grafton dcb7c96b84 run make bazel-gazelle 2018-01-19 14:32:50 -08:00
k8s-ci-robot d8c6b25890
Merge pull request #4297 from blakebarnett/bdb/update_calico_cni_2-6-6
Upgrade to calico v2.6.6
2018-01-19 14:19:28 -08:00
Blake c78336fa99 Update bootstrap calico versions 2018-01-19 13:42:00 -08:00
k8s-ci-robot 77c21509b0
Merge pull request #4298 from blakebarnett/bdb/bazel_updates
bazel 0.9.0 running `make bazel-build` updates
2018-01-19 12:54:28 -08:00
Blake 0450d08c0b bazel 0.9.0 running `make bazel-build` updates 2018-01-18 13:26:27 -08:00
Blake 93fb66c223 Upgrade to calico v2.6.6 2018-01-18 13:23:56 -08:00
Kashif Saadat e315c350be Implement ability to update Load Balancer subnets 2018-01-17 11:57:29 +00:00
Otto Yiu e4427e9672 improve S3 url parsing for vfsPath to support more naming conventions 2018-01-12 16:07:18 -08:00
k8s-ci-robot 96268846c2
Merge pull request #4217 from justinsb/support_writeto_in_vfs_path
VFS: Support io.WriterTo interface
2018-01-09 12:42:14 -08:00
Justin Santa Barbara 6f6bafb65e VFS: Support io.WriterTo interface
Allows us to handle much bigger files (no need to buffer in-memory)
2018-01-08 22:34:27 -05:00
Justin Santa Barbara 7b04ede10e GCE: Don't set bucket-level permissions
We previously needed them to allow list operations; however we now use a
keyset.yaml file instead of listing keys.  That should be the sole use,
so we should no longer need this permission.

If not, we can re-enable the code easily.
2018-01-08 00:58:36 -05:00
Justin Santa Barbara 3b983dfabd gce: mounter asset has moved
The mounter asset is now available directly, no longer in
kubernetes-manifests.tar.gz
2018-01-07 17:07:54 -05:00
k8s-ci-robot 2f3f0548c2
Merge pull request #4154 from chrislovecnm/missed-lifecycle-elb
adding missed lifecycles in elb code
2018-01-05 12:14:12 -08:00
Justin Santa Barbara ec8db8b78c Initial implementation of bundle command
The bundle command will support enrollment of a machine via SSH.
2018-01-04 18:55:28 -05:00
k8s-ci-robot fcc904f468
Merge pull request #4170 from chrislovecnm/bazel-improvements
Improving bazel make targets, adding a target for kops cli, bumping go_rules version
2018-01-04 08:48:31 -08:00
chrislovecnm 6bc37d33ba Adding capability to handle tgz files as archive files 2018-01-02 13:04:26 -07:00
chrislovecnm 53565eedeb Adding CNI v0.6.0 which is required for Kubernetes 1.9 2018-01-02 13:04:25 -07:00
chrislovecnm 88baba38de fixing security lifecycle for additional security groups 2017-12-30 09:00:11 -07:00
Justin Santa Barbara 8c23031561 Add roundtrip tests for certs & private keys
Travis should cover all our supported go versions.
2017-12-29 21:18:29 -05:00
chrislovecnm 4dd3bb1dea Updating bazel BUILD files with new go_rules version 2017-12-29 15:03:14 -07:00
k8s-ci-robot 96bff2246b
Merge pull request #3840 from justinsb/avoid_list_for_keypairs_5
Implement mirroring for API CAStore
2017-12-27 16:12:36 -08:00
chrislovecnm 7f998802ee fixing lifecycle type for network in security phase 2017-12-27 13:47:45 -07:00
Albert c52472cfa8 Add support for cn-northwest-1. 2017-12-27 15:37:09 +08:00
Kubernetes Submit Queue e7443ca345
Merge pull request #3839 from justinsb/avoid_list_for_keypairs_4
Automatic merge from submit-queue.

Force nodeup to use the bundle

We disable fallback entirely for nodeup, so we can still share code, but
won't accidentally be using the wrong code path.

Builds on #3839
2017-12-22 09:51:58 -08:00
Kubernetes Submit Queue 9ca326391f
Merge pull request #4120 from KashifSaadat/protokube-custom
Automatic merge from submit-queue.

Fix null pointer issues when custom PROTOKUBE_IMAGE is specified.

When setting a custom protokube location via the environment variable `PROTOKUBE_IMAGE`, this appeared to not be getting set properly at the time of applying Cluster updates (via `kops update cluster ${KOPS_CLUSTER_NAME} --yes`), resulting in a runtime exception.

This PR resolves the above issue, so cluster updates are correctly applied with reference to a custom protokube image location (if provided).
2017-12-22 07:50:06 -08:00
Justin Santa Barbara ca6268b25b Implement mirroring for API CAStore
Makes the mirror code essentially identical.
2017-12-21 21:48:43 -05:00
Justin Santa Barbara 5cc5a936f9 Force nodeup to use the bundle
We disable fallback entirely for nodeup, so we can still share code, but
won't accidentally be using the wrong code path.
2017-12-21 16:06:11 -05:00
Justin Santa Barbara e981e708e4 Use bundles when loading keysets
This avoids the need to list directories, which is problematic on GCE.

It also makes for a more consistent experience; we can move nodeup to
use the bundle always, and we can move writing to the Mirror task, so
that VFS & kops-server are more similar.
2017-12-21 12:58:26 -05:00
Kubernetes Submit Queue 7d15b5be05
Merge pull request #3837 from justinsb/avoid_list_for_keypairs_2
Automatic merge from submit-queue.

Refactor VFS CA store to reuse keyset from clientset

This ensures the two behave more similarly, but also will help us parse a
serialized keyset.

Builds on #3836
2017-12-21 09:26:46 -08:00
Kashif Saadat 0b9a1116ad Fix null pointer issues when custom PROTOKUBE_IMAGE is specified. 2017-12-20 12:28:40 +00:00
Kubernetes Submit Queue 4f05a694d0
Merge pull request #4116 from bitfusionio/f1-instance-types
Automatic merge from submit-queue.

added instance types for f1 family
2017-12-20 04:15:18 -08:00
Justin Santa Barbara ad82cd24eb Refactor VFS CA store to reuse keyset from clientset
This ensures the two behave more similarly, but also will help us parse
a serialized keyset.
2017-12-20 00:54:47 -05:00
Justin Santa Barbara f3e68c954c Remove use of deprecated create-if-missing functions
Generally tightening up the interface to make it easier to remove list
operations.
2017-12-20 00:54:47 -05:00
Justin Santa Barbara 9e5c086c5b Remove use of deprecated create-if-missing functions
Generally tightening up the interface to make it easier to remove list
operations.
2017-12-20 00:52:18 -05:00
Peter Whitesell 7b10093082 added instance types for f1 family 2017-12-19 16:25:29 -06:00
Kubernetes Submit Queue e43ac18590
Merge pull request #3834 from justinsb/cleanup_ssh_3
Automatic merge from submit-queue.

Refactor: clean up SecretStore to not use KeystoreItem

More moving to use API objects, except in this case we eventually want to
deprecate SecretStore entirely.

Builds on #3833
2017-12-19 10:29:15 -08:00
Justin Santa Barbara 7f3d3544c4 Refactor: clean up SecretStore to not use KeystoreItem
More moving to use API objects, except in this case we eventually want
to deprecate SecretStore entirely.
2017-12-19 11:43:43 -05:00
Manuel de Brito Fontes cb9859719d Update ottoyiu/k8s-ec2-srcdst docker image 2017-12-19 09:46:09 -03:00
Kubernetes Submit Queue e88496a248
Merge pull request #4061 from meringu/create-subnets
Automatic merge from submit-queue.

Add --subnets and --utility-subnets to kops create cluster

This change adds two new options to `kops create cluster`

When specifying `--vpc`, `--subnets` can be specified as an unordered array of subnet ids. Kops will then look up the zones of the subnets to find which zone to add the subnet id to.

If `--topology private` is also specified, `--utility-subnets` can similarly be specified.

~If a zone was specified but a subnet wasn't given that matches the zone, then the subnet will be allocated a CIDR with the current behaviour.~ This case fails validation here 7bd0a6a703/pkg/apis/kops/validation/validation.go (L151)

I can add unit tests and docs changes if required, but I am keen to get feedback before I proceed much further.

I have only added support for AWS.

I have tested this by running a command similar to this:

```bash
kops create cluster \
  --zones=us-east-1a,us-east-1b,us-east-1c \
  --topology private \
  --master-zones=us-east-1a,us-east-1b,us-east-1c  \
  --vpc $vpc_id \
  --subnets subnet-111111,subnet-222222,subnet-333333 \
  --utility-subnets subnet-444444,subnet-555555,subnet-666666 \
  $cluster_hosted_zone_name
```

And the cluster spec was as expected.
2017-12-18 21:12:59 -08:00
Kubernetes Submit Queue 78b61a5b6e
Merge pull request #4106 from justinsb/fix_comment_onPhaseiam
Automatic merge from submit-queue.

Fix code comment on PhaseSecurity
2017-12-18 20:38:33 -08:00
Kubernetes Submit Queue ca0a720a7e
Merge pull request #3833 from justinsb/cleanup_ssh_2
Automatic merge from submit-queue.

Refactor CAStore to use API types

We now return KeySet objects


Builds on #3832
2017-12-18 20:08:41 -08:00
Justin Santa Barbara be9d15b565 Fix code comment on PhaseSecurity 2017-12-18 22:33:05 -05:00
Raúl Cuza cd442b3560
make it go to f
`aws ec2 describe-availability-zones` returns 1a-1f for my account. This change allows me to provision things in the 1f availability zone.
2017-12-18 10:05:41 -05:00
Kubernetes Submit Queue 15c7d61dfb
Merge pull request #3997 from aledbf/amazon-vpc-cni
Automatic merge from submit-queue.

Add support for Amazon VPC CNI plugin

TODO:
- [x] IAM perms so that the CNI provider only has perms for the nodes in the cluster
- [x] Cleanup of security groups
- [ ] Replace image aledbf/k8s-ec2-srcdst:v0.1.0-5 with the official after https://github.com/ottoyiu/k8s-ec2-srcdst/pull/5 and https://github.com/ottoyiu/k8s-ec2-srcdst/pull/6
2017-12-17 21:41:13 -08:00
Kubernetes Submit Queue ff857218df
Merge pull request #4098 from chrislovecnm/gazelle-updates
Automatic merge from submit-queue.

fixing bazel

man we need a ci test for this :(
2017-12-17 17:36:13 -08:00
Justin Santa Barbara bf74133fd4 Refactor CAStore to use API types
We now return KeySet objects
2017-12-17 20:09:00 -05:00
Kubernetes Submit Queue dd49d69399
Merge pull request #3254 from chrislovecnm/file-assets
Automatic merge from submit-queue.

work on using files assets

Basic MVP for file assests.

- using file assest builder
- able to upload files
- using URL structs instead of strings everywhere
2017-12-17 16:10:23 -08:00
chrislovecnm c0da5e7fbb fixing bazel 2017-12-17 17:03:58 -07:00
Kubernetes Submit Queue 7768729cf2
Merge pull request #3832 from justinsb/cleanup_ssh
Automatic merge from submit-queue.

Refactor: separate out SSHCredentials from Keyset stores
2017-12-17 15:05:09 -08:00
chrislovecnm 7057aaf1bb Enabling the file assets
File assets and the SHA files are uploaded to the new location. Files
when are users uses s3 are upload public read only. The copyfile task
uses only the existing SHA value.

This PR include major refactoring of the use of URLs.  Strings are no
longer categnated, but converted into a URL struct and path.Join is
utlilized.

A new values.go file is included so that we can start refactoring more
code out of the "fi" package.

A
2017-12-17 15:26:57 -07:00
Manuel de Brito Fontes 2e05dd17aa Add support for Amazon VPC CNI plugin 2017-12-17 18:08:24 -03:00
Kubernetes Submit Queue 922a0d3ac6
Merge pull request #3924 from justinsb/remove_nodeup_templates
Automatic merge from submit-queue.

Remove nodeup templating
2017-12-16 09:58:09 -08:00
Kubernetes Submit Queue b44d894813
Merge pull request #3860 from justinsb/batching
Automatic merge from submit-queue.

Copy dnsprovider into our code, implement route53 batching

Fixes #3121
2017-12-15 15:44:12 -08:00
Kubernetes Submit Queue 96ee92a4b3
Merge pull request #4063 from rajivm/fix-canal-hostport
Automatic merge from submit-queue.

Support for hostPort when using canal

Similar to: https://github.com/kubernetes/kops/pull/3206

Without this, we are unable to get `hostPort` working with `canal`. The same is true for `flannel`, but this does add support for plain flannel.
2017-12-15 07:00:22 -08:00
Kubernetes Submit Queue 794b7a12f4
Merge pull request #4075 from justinsb/assetstore_atomic_expand
Automatic merge from submit-queue.

assetstore: extract tar files to a temp directory
2017-12-15 06:09:19 -08:00
Kubernetes Submit Queue 56da7ed34e
Merge pull request #4081 from justinsb/files_npe
Automatic merge from submit-queue.

files task: fix potential nil pointer error
2017-12-15 03:47:04 -08:00
Justin Santa Barbara 6cedbbf456 Remove nodeup templating
As it is now unused
2017-12-15 01:20:34 -05:00
Justin Santa Barbara 78b84d6c2c apt-get: specify unattended installation
Otherwise we risk getting stuck on a prompt
2017-12-15 01:12:37 -05:00
Justin Santa Barbara 060d94e9e8 files task: fix potential nil pointer error
If the user didn't exist, we would panic with a nil pointer error
2017-12-15 01:12:20 -05:00
Justin Santa Barbara c198d3ed89 assetstore: extract tar files to a temp directory
This ensures that even if we are interrupted mid-expand, we won't leave
the system in an unexpected state.
2017-12-15 00:44:29 -05:00
Henry Muru Paenga afc1b58722 Tests for create cluster in shared vpc 2017-12-15 18:29:20 +13:00
Rajiv Makhijani 2c42970c24 Bump canal version for kops manifest tweaks 2017-12-14 14:42:37 -08:00
Kubernetes Submit Queue a19d90143f
Merge pull request #4062 from justinsb/bump_weave_for_212
Automatic merge from submit-queue.

Bump weave version in bootstrapchannelbuilder

2.1.3 upstream becomes 2.1.3-kops.1, so if we need to make our own
"packaging" changes, we can do 2.1.3-kops.2 etc.
2017-12-14 06:25:41 -08:00
Kubernetes Submit Queue 9487dd4102
Merge pull request #4064 from justinsb/bump_flannel_version_for_3952
Automatic merge from submit-queue.

Bump flannel packaging version
2017-12-14 05:25:42 -08:00
Kubernetes Submit Queue 8f271027a9
Merge pull request #4065 from justinsb/gazelle
Automatic merge from submit-queue.

Update gazelle
2017-12-14 01:25:41 -08:00
Kubernetes Submit Queue 3fc8ddd471
Merge pull request #3952 from mikesplain/fix_flannel_nonMasqueradeCIDR
Automatic merge from submit-queue.

Fix Flannel nonMasqueradeCIDR

Fixes https://github.com/kubernetes/kops/issues/3950

~~And looks like we forgot to bump the version in `bootstrapchannelbuilder.go`~~(moved to https://github.com/kubernetes/kops/pull/3953) (thanks @jkemp101)
2017-12-13 23:25:41 -08:00
Justin Santa Barbara a8a83f3ce9 Update gazelle 2017-12-14 01:31:28 -05:00
Kubernetes Submit Queue 291edf329a
Merge pull request #3944 from bboreham/weave-212
Automatic merge from submit-queue.

Update Weave Net to version 2.1.3

This version supports 'v1' NetworkPolicy semantics.

Also includes a feature to clear down data for deleted nodes, which is probably the most-requested fix.
2017-12-13 22:25:41 -08:00
Kubernetes Submit Queue f97f5bdc40
Merge pull request #4017 from zengchen1024/security_group_rule_task
Automatic merge from submit-queue.

Implement security group rule task

fix: #4015
2017-12-13 21:25:41 -08:00
Kubernetes Submit Queue fded8486f6
Merge pull request #4016 from zengchen1024/security_group_task
Automatic merge from submit-queue.

implement security group task

fix: #4015
2017-12-13 20:25:41 -08:00
Kubernetes Submit Queue 0d837bcea8
Merge pull request #3947 from chrislovecnm/goimports
Automatic merge from submit-queue.

updating goimports
2017-12-13 19:25:43 -08:00
Justin Santa Barbara 3e236283f3 Tag 1.8.0 2017-12-13 22:13:27 -05:00
Justin Santa Barbara e65d1b0608 Bump flannel packaging version
For #3952
2017-12-13 21:55:48 -05:00
Rajiv Makhijani 05f06bea5c Update canal configuration to support portmap plugin (for hostport) 2017-12-13 18:35:16 -08:00
Justin Santa Barbara 6f5036f0cd Bump weave version in bootstrapchannelbuilder
2.1.3 upstream becomes 2.1.3-kops.1, so if we need to make our own
"packaging" changes, we can do 2.1.3-kops.2 etc.
2017-12-13 21:29:20 -05:00
Kubernetes Submit Queue 7bd0a6a703
Merge pull request #3898 from rdrgmnzs/additional_cidr
Automatic merge from submit-queue.

Add additionalNetworkCIDRs to support VPCs with multiple CIDRs in AWS

Add additionalNetworkCIDRs to support VPCs with multiple CIDRs in AWS.

@justinsb I cannot find anywhere that does a check on an existing VPC to see if the networkCIDR matches what is on the VPC defined, I was looking for that so I can add a similar check for this. Am I missing something or is there really no check like that?
2017-12-13 18:25:41 -08:00
Kubernetes Submit Queue ac7ae3fd58
Merge pull request #3809 from rdrgmnzs/hostnameOverride_use_hostname
Automatic merge from submit-queue.

Let a user set a hostnameOverride when the cloud provider is aws.

Let a user use the hostname or set a hostnameOverride when the cloud provider is aws. This would allow for a more descriptive name to be used. The name of the hosts when using @hostname can be set by using a hook or some other method.
2017-12-13 17:46:21 -08:00
Justin Santa Barbara f03cc5dbd9 Update dnsprovider imports to use our version 2017-12-13 20:43:01 -05:00
Justin Santa Barbara 509b83ac7a Refactor: separate out SSHCredentials from Keyset stores
We've done this in the API already, but we had a single CAStore
interface that did Keysets and SSHCredentials.  Separate out
SSHCredentials into SSHCredentialStore, and start using API objects as
our primary representation.
2017-12-13 20:16:59 -05:00
Kashif Saadat 4f15273d49 Downgrade Flannel in Canal deployment to v0.9.0 2017-12-12 11:09:23 +00:00
Peter Rifel 3da1bdc069 Don't report an InternetGateway rename when using shared IGWs
Adds test to confirm fixed behavior
2017-12-06 16:36:35 -08:00
zengchen1024 1880aa7fa5 Implement security group rule task 2017-12-06 17:56:09 +08:00
zengchen1024 3e2942a87e generate other methods 2017-12-06 17:39:04 +08:00
zengchen1024 431e7b1bbf implement security group task 2017-12-06 17:24:34 +08:00
zengchen1024 f2f4a1ebfa generate the other methods of Volume 2017-12-06 17:20:43 +08:00
Rodrigo Menezes 3942185698 Merge remote-tracking branch 'upstream/master' into additional_cidr 2017-12-04 12:53:20 -08:00
Bryan Boreham 1b9486a7af Bump to v2.1.3 2017-12-04 15:11:15 +00:00
Kubernetes Submit Queue 23319a0974
Merge pull request #3941 from vainu-arto/private_dns_cert_fix
Automatic merge from submit-queue.

When using private DNS add ELB name to the api certificate

This fixes issue #2032 by using the gossip paths with private dns as well:

* When creating the api server certificate, include the ELB hostname
* When generating kubeconfig, use the ELB hostname as the api server name
2017-12-04 06:01:25 -08:00
Kubernetes Submit Queue 5c1b3b2d24
Merge pull request #3990 from ripta/ripta/new-instance-types-nov2017
Automatic merge from submit-queue.

Add support for M5 and H1 instance families

This PR adds support for the new [M5 General Purpose](https://aws.amazon.com/blogs/aws/m5-the-next-generation-of-general-purpose-ec2-instances/) and [H1 Storage-optimized](https://aws.amazon.com/blogs/aws/new-h1-instances-fast-dense-storage-for-big-data-applications/) instance types that were announced at re:Invent 2017. The blog posts note that these instance types are available immediately.

`hack/verify-gofmt.sh` exits cleanly (go1.9.2 darwin), and I've _just_ signed the CLA. Let me know if I've missed any prereqs!
2017-12-02 11:27:52 -08:00
Ripta Pasay 2ed76b9f51 Add support for M5 and H1 instance families 2017-12-02 13:24:26 -05:00
Justin Santa Barbara f34d748f6b Provide better message if GCE network is in legacy mode 2017-12-02 02:43:51 -05:00
Justin Santa Barbara a09d2fd1fa Guard against nil pointers in tryResourceAsString
Issue #3943
2017-12-01 02:53:04 -05:00
Mike Splain 1417f9eebe Fix Flannel nonMasqueradeCIDR 2017-11-29 09:34:37 -05:00
Mike Splain 96aefac318 Fix flannel error on starting 2017-11-28 21:39:08 -05:00
Mike Splain a2aa1da816 Fix flannel version 2017-11-28 16:26:46 -05:00
chrislovecnm fc9caea827 updating goimports 2017-11-28 11:34:28 -07:00
Justin Santa Barbara b8b7287e4a Bump versions to 1.8.0-beta.2 2017-11-28 13:27:58 -05:00
Bryan Boreham f1c8d89e55 Update Weave Net to version 2.1.2
This version supports 'v1' NetworkPolicy semantics.
Also includes a feature to clear down data for deleted nodes.
2017-11-28 17:13:31 +00:00
Arto Jantunen 53669b8217 Make ELB somewhat mockable 2017-11-28 11:48:57 +02:00
Rodrigo Menezes 2594d382ae Merge remote-tracking branch 'upstream/master' into additional_cidr 2017-11-27 23:30:42 -08:00
Kubernetes Submit Queue 967ed4acf5
Merge pull request #3928 from justinsb/kopeio_auth
Automatic merge from submit-queue.

Update kopeio auth
2017-11-27 15:02:12 -08:00
Rodrigo Menezes f908dcb3bf Check and docs 2017-11-26 20:37:16 -08:00
Kubernetes Submit Queue 0ade1dd2c4
Merge pull request #3822 from gambol99/dns_controller_optional
Automatic merge from submit-queue.

DNS Controller Optional

The current implementation enforces a dns-controller is running; given the user can switch the make the kube-apiserver server Internal and then reuse the dns for the masterInternalName; this effectlively removes the need to run the service (assuming your not using it for pods, node and service dns)

- adding a disableDnsController to the ExternalDNS spec provides a toggle on the addon (name is definitely up for debate)
- the default behaviour remains, the dns-controller is always pushed as an addon
2017-11-26 15:03:47 -08:00
Justin Santa Barbara d0944714f4 Update kopeio auth 2017-11-26 15:32:14 -05:00
Justin Santa Barbara e3c7f03aaa Avoid generating a CA keypair on-demand
Instead we must explicitly create it; this avoids races where we are
reading the private key and creating CA certs.

Issue #3875
2017-11-25 23:12:55 -05:00
Justin Santa Barbara b05faa0068 Set SleepDelay function in AWS
Works around nil SleepDelay problem: latest aws-sdk-go (in k8s 1.9 and
kops 1.8) has updated SleepDelay logic; fix is in
https://github.com/kubernetes/kubernetes/pull/55307 but that is only in
1.9.

Set the SleepDelay to work around the problem.
2017-11-22 16:50:19 -05:00
Kubernetes Submit Queue 8eac358795
Merge pull request #3869 from chrislovecnm/calico-2.6-update
Automatic merge from submit-queue.

Updating Calico manifests to Calico release 2.6.2

Renamed the k8s-1.8 manifest to a k8s-1.7. This is required because of config
change that occurs between k8s 1.6 and k8s 1.7. This refactor will also
be re-used when Calico Kubernetes data source support is added to kops.
Updated bootstrapchannelbuilder with the new Calico version numbers.

The diffs for the k8s-1.6 version is pretty rough, tried to make it cleaner, but nada.

FIXES: https://github.com/kubernetes/kops/issues/3866
FIXES: https://github.com/kubernetes/kops/issues/3867

Line: https://github.com/kubernetes/kops/compare/master...chrislovecnm:calico-2.6-update?expand=1#diff-891cbc61587adb202b66b7c9bc6896daR209  is why Calico would not start on k8s 1.6 - thanks @caseydavenport 

 **TODO**
Testing K8s versions

- [x] test 1.5
- [x] test 1.6
- [x] test 1.7
- [x] test 1.8

/cc @blakebarnett @itajaja
2017-11-22 10:20:04 -08:00
chrislovecnm 3067a21341 Updating Calico manifests to Calico release 2.6.2.
Renamed the k8s-1.8 manifest to a k8s-1.7. This is required because of config
change that occurs between k8s 1.6 and k8s 1.7. This refactor will also
be re-used when Calico Kubernetes data source support is added to kops.
Updated bootstrapchannelbuilder with the new Calico version numbers.
2017-11-22 09:45:21 -07:00
Justin Santa Barbara 1b58585c8c
Merge pull request #3892 from romana/romana-networking-update
Version and validation updates for romana networking.
2017-11-22 11:25:35 -05:00
Kubernetes Submit Queue e5194cf08b
Merge pull request #3904 from zengchen1024/generate_codes_for_cinder_volume_tasks
Automatic merge from submit-queue.

generate gazelle for cinder volume tasks

for issue #3886
2017-11-22 00:25:29 -08:00
zengchen1024 769a9e9dbb update gazelle 2017-11-22 14:29:14 +08:00
Kubernetes Submit Queue cabe97230f
Merge pull request #3887 from georgebuckerfield/fix-routetable-deletion
Automatic merge from submit-queue.

Respect the shared tag when deleting route tables

Fixes #3828.

Modifies the `buildTrackerForRouteTable` function (used by `ListRouteTables`) to set the `Shared` field of each returned route table resource, based on the presence of the `kubernetes.io/cluster/<clustername>: shared` tag. This prevents route tables with this tag from being deleted.

WIP while I add some more tests.
2017-11-21 21:05:31 -08:00
Kubernetes Submit Queue ae94d14e54
Merge pull request #3893 from zengchen1024/cinder_volume_task
Automatic merge from submit-queue.

Implement volume task for Openstack platform

Implement volume task to create volume for ETCD cluster.
Which issue this PR fixes: #3886
2017-11-21 15:00:13 -08:00
Kashif Saadat 79eef3cc6c Support replacing kops secrets via force flag 2017-11-21 11:47:03 +00:00
Rohith 4816ed5e36 DNS Controller Optional
The current implementation requires enforces a dns-controller is running; given the user can switch the make the kube-apiserver server Internal and then reuse the dns for the masterInternalName; this effectlively removes the need to run the service (assuming your not using it for pods, node and service dns)

- adding a disableDnsController to the ExternalDNS spec provides a toggle on the addon (name is definitely up for debate)
- the default behaviour remains, the dns-controller is always pushed as an addon
2017-11-20 22:06:50 +00:00
zengchen1024 0949d597b7 build volume task 2017-11-20 11:52:19 +08:00
zengchen1024 f1d673f77e implement volume task 2017-11-20 09:42:55 +08:00
georgebuckerfield eab351c913 Add tests for ListRouteTables function 2017-11-18 12:34:39 +00:00
Caleb Gilmour 04ef7ee0a3 Version and validation updates for romana networking. 2017-11-16 23:37:04 +00:00
Tom Denham 9dfe9443c0
Bump all flannel versions to latest release - v0.9.1 2017-11-16 12:29:59 -07:00
Kubernetes Submit Queue a84f086544
Merge pull request #3851 from justinsb/calico_on_other_versions_also
Automatic merge from submit-queue.

Apply gossip dns changes to 1.8 calico version also
2017-11-14 02:06:45 -08:00
Justin Santa Barbara dedf88c52b Apply gossip dns changes to 1.8 calico version also 2017-11-14 03:14:15 -05:00
marshallbrekka 5aea1d2484 Mount /etc/hosts in calico containers for gossip based DNS. 2017-11-14 02:23:59 -05:00
Justin Santa Barbara 0ce39f26b4 Regenerate gazelle 2017-11-14 02:02:40 -05:00
Kubernetes Submit Queue 17487a4853
Merge pull request #3820 from zengchen1024/add_openstack_cloud
Automatic merge from submit-queue.

add openstack cloud provider

Add an Openstack cloud provider. It does not implement all the interfaces of fi.Cloud, hence, can not create a cluster, but it can pass the work flow of creating cluster for the command like "kops create cluster --cloud openstack --zones nova -v 15 --target direct --yes myoscluster4.k8s.local"
Which issue this PR fixes: #3819
2017-11-13 22:19:23 -08:00
Giacomo Tagliabue b7a16a28cc add version map 2017-11-13 17:52:35 -05:00
Giacomo Tagliabue 3719d15c6b update templates and bootstrapper 2017-11-13 17:11:10 -05:00
Giacomo Tagliabue af64c2894c update calico template 2017-11-13 17:11:10 -05:00
zengchen1024 76b9aebafb update hack/.package 2017-11-13 17:03:30 +08:00
zengchen1024 f9c98c3b4c add openstack cloud provider 2017-11-13 16:59:24 +08:00
Justin Santa Barbara 148a65e1ad Fix CNI CPU allocations
* Limit each CNI provider to 100m

* Remove CPU limits - they cause serious problems
(https://github.com/kubernetes/kubernetes/issues/51135), but this also
makes the CPU allocation less problematic.

* Bump versions and start introducing the `-kops.1` suffix preemptively.

* Upgrade flannel to 0.9.0 as it fixes a lot.
2017-11-13 01:28:40 -05:00
Kubernetes Submit Queue f1fddb5512
Merge pull request #3620 from murali-reddy/remove-beta-init-container
Automatic merge from submit-queue.

kube-router: remove beta annotation versions (deprectated in 1.8) of init container

kube-router: remove beta annotation versions (deprectated in 1.8) of init container and move init container to spec section
2017-11-10 10:08:38 -08:00
Kubernetes Submit Queue aab07e365b
Merge pull request #3794 from shamil/patch-2
Automatic merge from submit-queue.

Add support for C5 instance family

AWS [released](https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2) 5th generation of Compute oriented EC2 series. This PR adds support for them.
2017-11-10 01:14:33 -08:00
Rodrigo Menezes 255305b8ef Let a user use the hostname or set a hostnameOverride when the cloud provider is aws 2017-11-08 23:59:21 -08:00
Kubernetes Submit Queue 531d21018b
Merge pull request #3802 from KashifSaadat/canal-1.8-tolerations
Automatic merge from submit-queue.

Update tolerations in Canal spec so the pods can run on all nodes.
2017-11-08 12:06:56 -08:00
Kashif Saadat f7dbcf0978 Update tolerations so the pods can run on all nodes. 2017-11-08 17:06:49 +00:00
Rohith 260124d1d9 DNS Controller Watch Command line
- adding a fix to the building of the argument, as the double quote cause an yaml parsing error
  error building tasks: error remapping manifest addons/dns-controller.addons.k8s.io/pre-k8s-1.6.yaml: error parsing yaml: error converting YAML to JSON: yaml: line 37: did not find expected key
2017-11-08 15:00:39 +00:00
Alex Simenduev a99844ffb9 machine_types: go formatting 2017-11-08 12:20:53 +02:00
Alex Simenduev 304d7229d5
Add support for C5 instance family 2017-11-08 10:50:38 +02:00
Kashif Saadat 657a91729e Update Canal to use Calico v2.6.2. 2017-11-07 09:26:18 +00:00
Justin Santa Barbara 9b71713d68 Tag 1.8.0-beta.1 2017-11-06 23:24:51 -05:00
Justin Santa Barbara 7066368f5c
Merge pull request #2063 from pdh/additional-sans
Allows additional Subject Alternate Names
2017-11-06 22:51:52 -05:00
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
chrislovecnm 5c300e6cb9 bazel updates 2017-11-04 20:55:38 -06:00
chrislovecnm 74b33ea6ff moving code that is not supported by windows 2017-11-04 20:50:19 -06:00
chrislovecnm 1e418c3e13 more goimport updates 2017-11-04 10:03:02 -06:00
pdh fc6f33db24 Allows additional Subject Alternate Names 2017-11-02 10:26:03 -07:00
chrislovecnm 4fd4bb8d0e subnet test not correct, not sure now 2017-11-01 13:48:12 -06:00
chrislovecnm 8d1ee1fa16 updating files for goimports 2017-11-01 12:51:43 -06:00
Kubernetes Submit Queue ed2f269b5b
Merge pull request #3748 from justinsb/log_google_application_credentials_path
Automatic merge from submit-queue.

GCE: log when loading from GOOGLE_APPLICATION_CREDENTIALS
2017-11-01 08:55:26 -07:00
Kubernetes Submit Queue 08c34b6eb4
Merge pull request #3184 from justinsb/test_does_not_change_tags
Automatic merge from submit-queue.

Fix shared subnet/vpc tags
2017-11-01 08:23:29 -07:00
Justin Santa Barbara ba9ec6aebc GCE: log when loading from GOOGLE_APPLICATION_CREDENTIALS 2017-10-31 20:31:21 -04:00
Justin Santa Barbara 9c005d785b GCE: Use CloudPlatformScope when requesting a token 2017-10-31 17:26:56 -04:00
Kubernetes Submit Queue 101e6e03f3
Merge pull request #3737 from justinsb/storageacl_comments
Automatic merge from submit-queue.

Fix log messages from storage acl tasks
2017-10-31 13:20:30 -07:00
Justin Santa Barbara 95fa47b9a9 Fix log messages from storage acl tasks
The messages were ambiguous at best, wrong at worst.
2017-10-30 23:46:06 -04:00
Justin Santa Barbara bfe3766de3 GCE: log the service account & scopes in use
Once we figure out why e2e is failing we can likely make this optional
(e.g. only with v=2 or above)
2017-10-30 23:45:23 -04:00
Justin Santa Barbara 2eb47b82ce Tolerate errors from Find for tasks with WarnIfInsufficientAccess
We glog.Warning a message, and we record a structured warning for future
use, but we allow operation to continue.
2017-10-30 01:56:41 -04:00
Justin Santa Barbara b2bcba4a6d GCE: Use object-level permissions for files in GCS
This lets us configure cross-project permissions while ourselves needing
minimal permissions, but also gives us a nice hook for future lockdown
of object-level permissions.
2017-10-29 19:17:00 -04:00
Justin Santa Barbara d1ee8026ac GCE: Tasks for object & bucket level permissions
We also switch to setting a bucket-level ACL permission, as this
requires less permissions.
2017-10-29 18:08:08 -04:00
Kubernetes Submit Queue efcf7e0bc7
Merge pull request #3723 from justinsb/consistent_error_messaging
Automatic merge from submit-queue.

Fix error message in StorageBucketIam task
2017-10-29 15:02:25 -07:00
Kubernetes Submit Queue 4a43f2f55f
Merge pull request #3724 from justinsb/fix_lifecycle_comment
Automatic merge from submit-queue.

Fix comment on Lifecycle constant
2017-10-29 14:30:05 -07:00
Justin Santa Barbara c14113a585 Apply goimports formatting to upup/pkg/fi/cloudup/gcetasks/ 2017-10-29 13:39:33 -04:00
Justin Santa Barbara 235ba5de18 Fix comment on Lifecycle constant 2017-10-29 13:30:54 -04:00
Justin Santa Barbara 19ca67e8e9 Fix error message in StorageBucketIam task
We want to include the entity both for consistency, and because it's
important information!
2017-10-29 13:29:57 -04:00
Justin Santa Barbara 3981f24626 Use compute API to fetch default service account directly
Requires less permissions and is more correct.
2017-10-28 13:02:42 -04:00
Kubernetes Submit Queue e38f2a5166
Merge pull request #3715 from dvavili/p3-support
Automatic merge from submit-queue.

Updates for p3 machine type

Adding support for P3 instances on AWS
2017-10-28 07:46:06 -07:00
Kubernetes Submit Queue 4162ae1e3b
Merge pull request #3712 from justinsb/storage_acls_minimal
Automatic merge from submit-queue.

GCE: Set up permissions for cross-project configurations
2017-10-28 07:15:19 -07:00
Divya Vavili b4bb1c98ec Updates for p3 machine type 2017-10-28 03:16:05 -07:00
Justin Santa Barbara 15dedf8e79 Updates from running gazelle 2017-10-28 03:27:18 -04:00
Justin Santa Barbara dbbe3f373b GCE: Set up permissions for cross-project configurations
This ensures that the cluster can read the kops state store files, even
if the GCS bucket is in a different project.

We automatically set up an IAM access policy that grants access.
2017-10-28 03:24:18 -04:00
chrislovecnm 4711d1596e update to imports that apimachinery is doing now automatically 2017-10-27 14:28:48 -06:00
Kubernetes Submit Queue a4d6895472 Merge pull request #3707 from andrewsykim/droplet
Automatic merge from submit-queue.

Implement DigitalOcean Droplet FI Task

Implements cloudup fi tasks for DigitalOcean droplets. It makes a few assumptions to reduce the size of this PR, those will be addressed in future PRs. 

Also does some cleanup in the DigitalOcean `dns` package.
2017-10-27 08:30:57 -07:00
andrewsykim 45bf2cb3a7 Implement DigitalOcean Droplet FI Task 2017-10-27 09:48:42 -04:00
Kubernetes Submit Queue 66f7400b06 Merge pull request #3581 from wongnai/master
Automatic merge from submit-queue.

UsePolicyConfigMap for kube-scheduler

Continued from #3546 

In this version, a single option `usePolicyConfigMap` is added that will install scheduler.addons.k8s.io, which contains a default configmap.
2017-10-26 20:11:09 -07:00
Kubernetes Submit Queue 1f4224b50d Merge pull request #3472 from chrislovecnm/global-rate-limiter
Automatic merge from submit-queue.

adding kubernetes core rate limiter handlers

This PR is re-using the handlers from the k8s core project, to create a global rate limiting.

This work starts work on https://github.com/kubernetes/kops/issues/3471
2017-10-26 19:03:26 -07:00
Manatsawin Hanmongkolchai a708919bf4 Generate scheduler policy by dynamic cluster addons 2017-10-27 08:56:07 +07:00
chrislovecnm 6dc953c3d4 adding kubernetes core regional global rate limiter that spans all calls 2017-10-26 17:46:21 -06:00
chrislovecnm dc338c4829 Refactoring phases to work in sequence properly 2017-10-26 13:17:34 -06:00
chrislovecnm 384c74d66c Refactoring IAM phase to Security Phase 2017-10-26 12:28:50 -06:00
chrislovecnm 4179c76513 updates to generate go-bin-data 2017-10-25 19:41:47 -06:00
Kubernetes Submit Queue 8df13bd468 Merge pull request #3679 from justinsb/support_api_aggregation
Automatic merge from submit-queue.

Initial aggregation work

Create the keypairs, which are supposed to be signed by a different CA.
    
Set the `--requestheader-...` flags on apiserver.
    
Fix #3152
Fix #2691
2017-10-24 12:08:27 -07:00
Mike Splain e000d21673 Add a v1.7.0 storage addon resource.
Fixes #3298
2017-10-23 22:11:28 -04:00
Kubernetes Submit Queue 760da7eeba Merge pull request #3637 from justinsb/bump_kopeio_networking
Automatic merge from submit-queue.

Bump kopeio networking to 20171015
2017-10-23 12:09:56 -07:00
Justin Santa Barbara 9cf22aeeef Sort Tags consistently to avoid test flakes 2017-10-23 11:39:18 -04:00
Justin Santa Barbara a7f82a6380 Fix shared subnet/vpc tags
* Stop setting the Name tag on a shared subnet/vpc

* Stop setting the legacy KubernetesCluster tag on a shared subnet/vpc
that is new enough (>=1.6); we rely on the shared tags instead

* Set tags on shared subnets; i.e. we _do_ set the shared tag on a
shared subnet; that is important for ELBs

* Set tags on shared VPCs; i.e. we _do_ set the shared tag on a shared
VPC; that is not used but consistent with subnets.

* Add tests for shared subnet
2017-10-23 11:30:25 -04:00
Justin Santa Barbara 15d50aff48 Update tests; add to bazel 2017-10-23 00:42:56 -04:00
Justin Santa Barbara 4bd997496d Grant kubelets system:node role in 1.8
This is an interim measure until we fully support the NodeAuthorizer and
dynamic kubelet bootstrapping.

Issue #3551
2017-10-23 00:34:24 -04:00
Justin Santa Barbara 88d2374f19 Fix typo in SessionAffinity terraform field 2017-10-22 16:55:55 -04:00
Justin Santa Barbara a879521ba3 Initial aggregation support
Create the keypairs, which are supposed to be signed by a different CA.

Set the `--requestheader-...` flags on apiserver.

Fix #3152
Fix #2691
2017-10-22 14:41:38 -04:00
Justin Santa Barbara dfa89c096e Bump kopeio networking to 20171015 2017-10-20 23:12:15 -04:00
Kubernetes Submit Queue 3315d29bdb Merge pull request #3630 from wlan0/api
Automatic merge from submit-queue.

Add Cloud Controller Manager addon

This adds the CCM addon for the Kubernetes cluster. 

This is a follow-up PR to https://github.com/kubernetes/kops/pull/3408. 

cc @chrislovecnm @andrewsykim
2017-10-20 19:07:50 -07:00
wlan0 d3143ec3cc add Cloud Controller Manager addon 2017-10-19 12:33:44 -07:00
chrislovecnm 3a7a4ebf7c fixing bazel testing for upup 2017-10-17 13:53:40 -06:00
Kubernetes Submit Queue b4c4afb8e7 Merge pull request #3657 from justinsb/missing_bazel_1
Automatic merge from submit-queue.

Fix misssing bazel dependency
2017-10-17 10:45:01 -07:00
Justin Santa Barbara 1d5a19b30c Fix misssing bazel dependency
Forgot to run gazelle again
2017-10-17 11:44:17 -04:00
Justin Santa Barbara 552d04589e Avoid spurious mirror tasks in plan 2017-10-17 09:59:50 -04:00
Kubernetes Submit Queue 1d5b2814d9 Merge pull request #3623 from KashifSaadat/canal-v2.5
Automatic merge from submit-queue.

Add Calico v2.5 support for Kubernetes v1.8+

Added support for Canal (Calico) v2.5.1, which is required to work with Kubernetes v1.8.0+.

Older versions of Calico relied on ThirdPartyResources API to store it's config data, however this is now fully deprecated in Kubernetes v1.8 and has moved over to CustomResourceDefinitions (CRD). Calico v2.5+ has been updated to use CRD, however there is a manual upgrade process involved to migrate the configuration data across: https://github.com/projectcalico/calico/blob/master/upgrade/v2.5/README.md
2017-10-16 19:51:08 -07:00
Bryan Boreham e2357f8568 Add critical-pod annotation and toleration for rescheduler
Background at
https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/

Note the extra toleration is not strictly necessary, because
rescheduler adds CriticalAddonsOnly with effect NoSchedule, so it's
covered by the existing toleration, but that isn't documented so going
by the book we add both.
2017-10-16 13:50:10 +00:00
Kashif Saadat 6d624c7ad5 Add Calico v2.5 support for Kubernetes v1.8+ 2017-10-16 12:23:53 +01:00
Kubernetes Submit Queue 2c2f9fd6cd Merge pull request #3632 from justinsb/kopeio_cricial
Automatic merge from submit-queue.

kopeio-vxlan: mark critical, remove cpu limit
2017-10-15 14:44:57 -07:00
Justin Santa Barbara 0d7e72e43c kopeio-vxlan: mark critical, remove cpu limit 2017-10-15 14:30:44 -04:00
Justin Santa Barbara a6ab7c3c61 GCE: Install correct storage class
We only want to install the AWS storage class on AWS, and on GCE we want
to install the GCE storage class.
2017-10-14 11:36:58 -04:00
Murali Reddy 2c7d85f480 Remove beta annotation versions (deprectated in 1.8) of init containers and move init
container to spec section
2017-10-13 02:29:36 +05:30
Bryan Boreham 88e001f88e Update to Weave Net 2.0.5
including a Weave Net template for Kubernetes 1.7 and above which adds
a volume-mount for the iptables lock file, which avoids collisions
between Weave components and kube-proxy that would result in a
half-configured Weave network.

This is only for version 1.7 and above because it requires the change
in https://github.com/kubernetes/kubernetes/issues/47212
2017-10-12 11:08:44 +00:00
Kubernetes Submit Queue 4c4f12b262 Merge pull request #3588 from justinsb/sort_tf_literals
Automatic merge from submit-queue.

Sort terraform literals in ELB task
2017-10-10 22:24:59 -07:00
Justin Santa Barbara e063af8d5a Sort terraform literals in ELB task
Fixes #3578
2017-10-11 00:01:11 -04:00
Justin Santa Barbara d71bd09a6c GCE: Limit length of InstanceTemplate
We explicitly set a separate prefix for the names, and we ensure it is
not too long
2017-10-10 09:48:38 -04:00
Kubernetes Submit Queue 211dab152a Merge pull request #3522 from murali-reddy/3463-kube-router-rbac
Automatic merge from submit-queue.

Use system:kube-router User for clusterrole binding

Kube-router as it provides service proxy as well, it has a chicken-egg problem (can not
access api server till it can setup service proxy), so service account are not usable. certificate generated for kube-router has CN `system:kube-router`, so user  `system:kube-router` need to be given necessary RBAC permissions

Fixes #3463
2017-10-09 00:14:03 -07:00
Justin Santa Barbara af6a7ef4d8 Containerized mounter fixes per code review 2017-10-08 11:41:09 -04:00
Justin Santa Barbara 3a38d05385 GCE: install containerized mounter on COS
The containerized mounter is a little tricky to install, with lots of
bind mounts.  This code path is only hit on GCE though.
2017-10-08 11:12:37 -04:00
Kubernetes Submit Queue f42b1f676f Merge pull request #3538 from mikesplain/fix_kube_dns_pre_1.6
Automatic merge from submit-queue.

Fix CVE for kube-dns pre k8s 1.6

Additional fix for https://github.com/kubernetes/kops/issues/3512.

Testing now
2017-10-06 14:54:06 -07:00
Murali Reddy a43df55540 Certificate generated for kube-router has CN system:kube-router, so user
system:kube-router need to be given necessary RBAC permissions

Fixes #3463
2017-10-05 21:29:11 +05:30
Kubernetes Submit Queue 7397370f1e Merge pull request #3533 from justinsb/gce_rolling_update_special_restart
Automatic merge from submit-queue.

GCE: use recreateInstance when rolling a MIG
2017-10-04 18:42:13 -07:00
Mike Splain 2195da0f15 Fix CVE for kube-dns pre k8s 1.6 2017-10-04 15:23:31 -04:00
Justin Santa Barbara 8693683324 GCE: use recreateInstance when rolling a MIG 2017-10-04 02:54:40 -04:00
Justin Santa Barbara deff8d32c9 GCE: strip prefixes from Zone & MIG Name
Fixes bug where MIGs were not matched correctly.
2017-10-04 00:20:09 -04:00
Justin Santa Barbara ed25d60947 bazel: update for concurrent chages 2017-10-03 10:39:06 -04:00
Kubernetes Submit Queue 518e97d97b Merge pull request #3510 from justinsb/bazel
Automatic merge from submit-queue.

Initial bazel support

Builds on the 1.8 version bump

The "trick" is to strip the BUILD & BUILD.bazel files from the vendor-ed deps.

Will rebase after 1.8 version bump merges.
2017-10-03 01:19:27 -07:00
Kubernetes Submit Queue 48e61b9523 Merge pull request #3507 from justinsb/gce_rolling_update
Automatic merge from submit-queue.

rolling-update - initial GCE support
2017-10-03 00:05:03 -07:00
Justin Santa Barbara 737f2fcd80 rolling-update - initial GCE support 2017-10-02 23:07:35 -04:00
Mike Splain 538e351160 Fix silly typo from
6ea6e3aa3f (diff-d41e15155acd41a0ecf59ccd3d3309a3)
2017-10-02 15:12:52 -04:00
Justin Santa Barbara 0143be7c4f autogen: BUILD and BUILD.bazel 2017-10-02 14:27:21 -04:00
Kubernetes Submit Queue 6ea6e3aa3f Merge pull request #3511 from mikesplain/update_kube_dns_to_1.14.5
Automatic merge from submit-queue.

Update kube-dns to 1.14.5 for CVE-2017-14491

As described: https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html

Not sure if it'd be possible to cut a new 1.7 release with this or something to give people a quick fix.

Current work around would be to manually update the addons in s3.  For those who may reference this, simply upgrading to 1.7.7 will not fix this in kops.

### Edit

~ @chrislovecnm

Please see https://github.com/kubernetes/kops/issues/3512 for more information on how to address these concerns with current kops releases.  We are still in the process of testing this release of kube-dns, which is a very critical component of kubernetes.
2017-10-02 10:32:16 -07:00
Mike Splain db995fc416 Update kube-dns to 1.14.5 for CVE-2017-14491 2017-10-02 12:14:54 -04:00
Justin Santa Barbara 544990842a More fixes for 1.8 API changes 2017-10-01 23:02:32 -04:00
Justin Santa Barbara 95d4f3eb59 More code updates for 1.8 2017-10-01 21:13:00 -04:00
Justin Santa Barbara 3478031533 API types changed package 2017-10-01 14:03:56 -04:00
Justin Santa Barbara 0c89c9851e Simple code updates for 1.8 breakages 2017-10-01 13:17:40 -04:00
Kubernetes Submit Queue 0905e71741 Merge pull request #3411 from justinsb/mirror_stores
Automatic merge from submit-queue.

Mirror keystore & secretstore
2017-09-30 23:08:33 -07:00
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 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
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
Justin Santa Barbara a4a58d277d Mirroring - Fixes from code review 2017-09-30 22:05:14 -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 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
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
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
chrislovecnm c9cc561885 refactoring FindInstanceTemplates into gce cloud interface 2017-09-30 14:02:58 -06: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 afa3753bcf Clean up comment on MaxTaskDuration 2017-09-30 02:12:29 -04:00
Justin Santa Barbara 2e39109ff7 Support GCE MIGs of size 0 2017-09-29 21:46:20 -04:00
chrislovecnm a431eb3e43 refactoring to use cloud based GetGroups 2017-09-29 12:29:07 -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