Commit Graph

10409 Commits

Author SHA1 Message Date
Peter Rifel 9754e80a93 Update GCB jobs to use bazel 2.2.0 2020-04-04 21:36:57 -05:00
Kubernetes Prow Robot 5b76715562
Merge pull request #8848 from hakman/cni-0.8.5-1.18
Use CNI 0.8.5 for Kubernetes 1.18+
2020-04-04 12:13:46 -07:00
Ciprian Hacman 3001e0619b Use CNI 0.8.5 for Kubernetes 1.18+ 2020-04-04 17:21:47 +03:00
Kubernetes Prow Robot c4d8fcf34a
Merge pull request #8844 from rifelpet/machine-types-ecu
Remove unused ECU and Burstable fields from AWSMachineTypeInfo
2020-04-03 21:39:47 -07:00
Peter Rifel 4d24c4d1e6 Remove unused ECU and Burstable fields from AWSMachineTypeInfo
I tracked these fields back to a 2016 commit that added the entire struct but they still werent used even back then.
2020-04-03 22:19:05 -05:00
Ole Markus With cf42d2b92d Make topologymanagerpolicy configurable 2020-04-03 14:34:53 +02:00
Kubernetes Prow Robot ec42233d5d
Merge pull request #8835 from rifelpet/image-stamp
Enable stamping on bazel image builds
2020-04-02 20:57:45 -07:00
Peter Rifel afd9aa1a4d Enable stamping on bazel image builds
Currently the images have a timestamp of epoch 0:

```
$ docker inspect kope/kops-controller:1.18.0-alpha.2 -f '{{ .Created }}'
1970-01-01T00:00:00Z
```

The `container_image` bazel rule [0] mentions that `creation_time` has a default value of 0 unless `stamp = True`, so this should be enabled on all container_image rules that are pushed to a docker registry.

[0] https://github.com/bazelbuild/rules_docker#container_image-1
2020-04-02 20:27:14 -05:00
Kubernetes Prow Robot 58ed32ff68
Merge pull request #8832 from gjtempleton/Cleanup-InstanceGroup-Docs
Cleanup InstanceGroup MixedInstancePolicy docs
2020-04-02 11:04:24 -07:00
GuyTempleton c1a259b5a4
Cleanup InstanceGroup MixedInstancePolicy docs
Also improved consistency of rest of InstanceGroup docs and
some docstrings
2020-04-02 16:48:17 +01:00
Kubernetes Prow Robot 759e24a490
Merge pull request #8802 from thejasbabu/feature/spot-block
Add support for Spot block in launch template
2020-04-01 10:15:27 -07:00
Kubernetes Prow Robot 882d0124ce
Merge pull request #8734 from rifelpet/tf-test
Add terraform testing
2020-03-31 13:29:28 -07:00
Peter Rifel a0e1672cdc add terraform testing 2020-03-31 14:50:45 -05:00
Peter Rifel 8f8d7afae7 add tests that validate .tf files 2020-03-31 11:51:55 -05:00
Kubernetes Prow Robot 73d4d1c941
Merge pull request #8744 from rifelpet/tf-bastion-userdata
Don't set terraform user_data if it is empty
2020-03-31 09:32:40 -07:00
Kubernetes Prow Robot 7c3b8546d0
Merge pull request #8820 from spotinst/feature-aws-me-south-1
Adding support for the Middle East (Bahrain) region (me-south-1)
2020-03-31 08:56:41 -07:00
Kubernetes Prow Robot 6f480326b8
Merge pull request #8821 from johngmyers/fix-role
Fix dns-controller flapping on spot instances
2020-03-31 08:20:40 -07:00
Peter Rifel 54c3b2f69c Only check for bastion user data files in integration tests if they should exist 2020-03-31 09:40:55 -05:00
Thejas B dda8dc3f37 Add support for Spot block in launch template
- Launch configuration does not support the field SpotDurationInMinutes which is used to reserve the spot instances, but however Launch Template does
2020-03-31 20:07:01 +05:30
Peter Rifel ee86488d98 Don't set terraform's user_data if it is an empty string
Bastion hosts have no user_data by default.
This is not valid in terraform, based on the error messages reported here [0]

The Terraform provider code says user_data is optional for both LaunchConfigurations and LaunchTemplates [1] [2]

This change prevents the user_data property from being added to aws_launch_configuration and aws_launch_template resources unless the string is not empty.

[0] https://travis-ci.org/github/kubernetes/kops/jobs/662472020
[1] 04d24f80f3/aws/resource_aws_launch_configuration.go (L74-L76)
[2] 04d24f80f3/aws/resource_aws_launch_template.go (L510-L512)
2020-03-31 09:33:16 -05:00
Kubernetes Prow Robot 2e57aaa5ac
Merge pull request #8737 from rifelpet/integration-test-refactor
Refactor integration tests
2020-03-31 07:10:41 -07:00
Peter Rifel db50663452 refactor integration tests 2020-03-31 07:34:16 -05:00
John Gardiner Myers 849e97d0d4 Fix dns-controller flapping on spot instances 2020-03-30 21:53:03 -07:00
liranp 98a74deba6
fix(aws): add missing region: me-south-1 2020-03-31 01:10:41 +03:00
Kubernetes Prow Robot 90af3a14b9
Merge pull request #8816 from rifelpet/integration-test-anonymous-auth
Disable anonymous auth in integration test clusters
2020-03-29 23:57:54 -07:00
Peter Rifel 833b22575f Disable anonymous auth in integration test clusters
This silences the anonymousAuth warning printed during `update cluster`, reducing the integration test output by >500 lines.
2020-03-29 22:21:10 -05:00
Kubernetes Prow Robot b09a6920cc
Merge pull request #8431 from johngmyers/remove-v1alpha1
Remove v1alpha1 API
2020-03-29 15:49:53 -07:00
Kubernetes Prow Robot f93ea91052
Merge pull request #8813 from rifelpet/tf-json-tags
Fix terraform json field tags
2020-03-28 10:13:52 -07:00
Peter Rifel 5505de2c3c Fix terraform json field tags
In preparation for the Terraform 0.12 support I noticed these inconsistencies.
I dont think it has any impact on functionality, I'm just trying to minimize the diff of the 0.12 PR
2020-03-28 11:34:45 -05:00
Kubernetes Prow Robot 7698323377
Merge pull request #8799 from johngmyers/deprecate-1.10
Deprecate support for Kubernetes 1.10
2020-03-27 12:03:54 -07:00
Kubernetes Prow Robot 8df55b8571
Merge pull request #8776 from tiendc/ut_upup_pkg_fi_files
Add UT for upup/pkg/fi/files.go
2020-03-27 05:56:23 -07:00
Kubernetes Prow Robot 2fc6d7269d
Merge pull request #8800 from appvia/core-user-kubecfg
Update default user for CoreOS, Flatcar for kubecfg
2020-03-26 08:40:26 -07:00
Kashif Saadat d09717dca8 Update default user for CoreOS, Flatcar for kubecfg 2020-03-26 10:04:46 +00:00
John Gardiner Myers 758f8017e4 Deprecate Kubernetes 1.10 2020-03-25 20:10:51 -07:00
Kubernetes Prow Robot b129a83638
Merge pull request #8798 from hakman/kubeconfig-users
Update default users for kubeconfig with supported distros
2020-03-25 12:18:25 -07:00
Ciprian Hacman 53c07fff3f Update default users for kubeconfig with supported distros 2020-03-25 19:04:17 +02:00
Kubernetes Prow Robot c6a75d3ecd
Merge pull request #8797 from rifelpet/weaveworks
Fix weaveworks/mesh vendoring
2020-03-25 09:55:04 -07:00
Peter Rifel 25733f4680 Fix weaveworks/mesh vendoring
The `make gomod` target removes peer_name_mac.go and performs updates to peer_name_hash.go.

It looks like peer_name_mac.go was accidentally checked in, so I'm rerunning `make gomod` on master and these are the resulting changes.
2020-03-25 11:04:38 -05:00
Kubernetes Prow Robot b29284c33e
Merge pull request #8795 from appvia/canal-v3.13.1
Canal v3.13.1
2020-03-25 08:59:03 -07:00
Kashif Saadat 3606865ad4 Canal v3.13.1 2020-03-25 12:09:46 +00:00
Kubernetes Prow Robot eaad1d2ffd
Merge pull request #8789 from olemarkus/cilium-health-fix
Make cilium operator health check go against localhost IP
2020-03-25 04:31:02 -07:00
Ole Markus With 7e87eddbea Make cilium operator health check go against localhost IP
Health check will fail otherwise
2020-03-25 08:38:47 +01:00
Kubernetes Prow Robot fbd53e295a
Merge pull request #8749 from rifelpet/bazel-rules
Update bazel rules
2020-03-24 20:47:02 -07:00
John Gardiner Myers b645dac752 Remove support for v1alpha1 and before 2020-03-24 19:49:15 -07:00
John Gardiner Myers d9e999d377 Convert TestMinimal_json to v1alpha2 API 2020-03-24 19:49:07 -07:00
Peter Rifel 4179e2c3e3 Update bazel rules 2020-03-24 15:46:51 -05:00
Kubernetes Prow Robot 4a740942fb
Merge pull request #8779 from fentas/master
Add cilium option tofqdns-dns-reject-response-code
2020-03-24 11:25:03 -07:00
Kubernetes Prow Robot 752087c4a7
Merge pull request #8790 from rifelpet/bazel-220
Upgrade to bazel 2.2.0
2020-03-24 10:38:44 -07:00
Peter Rifel 0726913e92 Upgrade to bazel 2.2.0
The kubekins-e2e images were upgraded to bazel 2.2.0 so we need to upgrade to match.

Luckily this seems uninvasive so we'll be able to cherry-pick back as necessary.
2020-03-24 11:59:32 -05:00
Kubernetes Prow Robot 62c51002ba
Merge pull request #8782 from hakman/containerd-log-level-info
Set default log level to "info" for containerd
2020-03-22 12:32:45 -07:00