Commit Graph

9646 Commits

Author SHA1 Message Date
Roberto Rodriguez Alcala a9f3db63fc Support additional kube-scheduler config parameters via config file
Mentioned in #6942

This change allows using the --config flag and a generated configfile to set
options that were not previously supported and the use via flags is deprecated.
(https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/)

I thought that it might be better to have them in a config file to ensure
support in newer kubernetes versions.

It also makes it easy to add more.
2020-01-23 19:13:31 -08:00
Kubernetes Prow Robot 34caaf2d82
Merge pull request #8145 from mccare/gce-terraform-json-output
Enabling JSON output for Terraform instead of writing the HCL syntax …
2020-01-22 22:16:48 -08:00
Kubernetes Prow Robot 7022cad967
Merge pull request #8392 from olemarkus/stable-bump-01
Bump k8s versions in alpha and stable channels
2020-01-22 06:30:41 -08:00
Ole Markus With 95464ebdc1 Bump alpha k8s versions 2020-01-22 11:32:55 +01:00
Ole Markus With 9f76785f58 Bump alpha k8s version to stable 2020-01-21 19:42:48 +01:00
Kubernetes Prow Robot 3f34983e6c
Merge pull request #8386 from vvbogdanov87/fix-policy-configmap-args
Fix scheduler policy configmap args
2020-01-21 09:37:36 -08:00
Kubernetes Prow Robot 1cc950773f
Merge pull request #8366 from lazzarello/govcloud-route53
Use IAMPrefix() for hostedzone
2020-01-21 08:09:37 -08:00
Kubernetes Prow Robot f2f1bae132
Merge pull request #8379 from olemarkus/cilium-enablepolicy
Add Cilium.EnablePolicy back into templates
2020-01-21 07:23:45 -08:00
Ole Markus With 5a5508aa37 Add Cilium.EnablePolicy back into templates
This may have dropped out when we bumped Cilium to 1.6
It is possible to set this value in the cluster spec, but it isn't used anywhere
2020-01-21 08:11:04 +01:00
Kubernetes Prow Robot e4f7842851
Merge pull request #8380 from LinshanYu/deletedUser
Change the deleted user to ghost
2020-01-20 21:03:36 -08:00
vvbogdanov87 b654bc923f Fix scheduler policy configmap args 2020-01-21 11:59:22 +08:00
Kubernetes Prow Robot fda7e42051
Merge pull request #8378 from johngmyers/backport-1.9-relnote
Backport the k8s 1.9 required action release note
2020-01-20 18:59:36 -08:00
LinshanYu 28977a717f Change the deleted user to ghost 2020-01-20 14:52:02 +08:00
John Gardiner Myers cf5cb6ff28 Backport the k8s 1.9 required action release note 2020-01-19 10:16:35 -08:00
Kubernetes Prow Robot b926413cad
Merge pull request #8248 from hakman/fix-old-k8s
Fix issues with older versions of k8s for basic clusters
2020-01-19 09:27:35 -08:00
Ciprian Hacman f1727a5c1b Fix issues with older versions of k8s for basic clusters 2020-01-19 16:40:36 +02:00
Kubernetes Prow Robot 00d68ade09
Merge pull request #8367 from maruina/lyft-0.5.3
Update lyft CNI to v0.5.3
2020-01-18 14:17:34 -08:00
Kubernetes Prow Robot 791e8804f2
Merge pull request #8358 from nothinux/master
update docs: updating kops
2020-01-18 11:59:35 -08:00
Kubernetes Prow Robot 985a71a07b
Merge pull request #8282 from hakman/ec2-instance-types
Update default instance types for AWS
2020-01-18 09:33:35 -08:00
nothinux 9350482c6e using sudo for removing kops executable file 2020-01-18 23:07:08 +07:00
Ciprian Hacman 7a42cf42cd Set the default instance type to t3.medium for AWS 2020-01-18 08:58:05 +02:00
Lee Azzarello 441cd2523c remove comment 2020-01-17 17:17:30 -08:00
Kubernetes Prow Robot 412ed66f9b
Merge pull request #8368 from rifelpet/file-warning
Add a warning when using file:// state store
2020-01-17 15:26:09 -08:00
Lee Azzarello 23cf0dd59e use IAMPrefix() for hostedzone 2020-01-17 14:48:52 -08:00
Peter Rifel 3f8c85c7e4 Add a warning when using file:// state store 2020-01-17 16:45:08 -06:00
Matteo Ruina c6bbf504dc Update lyft CNI to v0.5.3 2020-01-17 22:42:21 +00:00
Christian van der Leeden 549f54de48 Enabling JSON output for Terraform instead of writing the HCL syntax tf file. JSON syntax is officially supported in 0.12 and a terraform version requirement will be set. For previous installations you need to delete the .tf file by hand. JSON generation will fail if kubernetes.tf is present.
Added Integration Test using minimal test setup

Added documentation. For terraform 0.12 support the resource names need to be changed still
2020-01-17 22:03:19 +01:00
Kubernetes Prow Robot 85a667ad05
Merge pull request #8364 from rifelpet/tf12-release-notes
Add release notes for terraform resource renaming
2020-01-17 12:01:18 -08:00
Kubernetes Prow Robot b356bd4dc7
Merge pull request #6465 from ari-becker/bugfix/allow-local-filesystem-state-store
Allow local filesystem state stores (to aid CI pull-request workflows)
2020-01-17 10:52:26 -08:00
Kubernetes Prow Robot 967a957592
Merge pull request #8361 from justinsb/ami_bump
Publish update AMIs into the alpha channel
2020-01-17 09:20:56 -08:00
Kubernetes Prow Robot a603e40eb1
Merge pull request #8360 from justinsb/check_package_hashes
Test package versions as well as hashes
2020-01-17 08:42:57 -08:00
Peter Rifel aeb7ca4660 Add release notes for terraform resource renaming 2020-01-17 09:52:34 -06:00
Kubernetes Prow Robot d1b6c9a430
Merge pull request #8349 from tiendc/unit_test_pkg_edit
Add unit test for pkg/edit/edit.go
2020-01-17 07:23:06 -08:00
Kubernetes Prow Robot f04966a0b2
Merge pull request #8055 from justinsb/remove_kubernetes
Update dependencies to kubernetes 1.16
2020-01-17 07:22:58 -08:00
Kubernetes Prow Robot 198b846780
Merge pull request #7957 from rifelpet/tf12-resource-naming
Update Terraform resource names to be 0.12 compatible.
2020-01-17 06:46:58 -08:00
Justin SB 1d58f16d29
Fix & test docker package versions as well as hashes
Extend the existing "unit" test to check package versions, because
some of the docker packages now have a '5:' prefix.

Also correct the package versions that didn't have the prefix.
2020-01-17 09:30:02 -05:00
Peter Rifel e0cebf30e5 Update terraform resource names to be 0.12 compatible.
According to the upgrade guide [0] resource names cannot start with digits.
Currently both routes and VPC CIDR associations start with digits, so this adds prefixes to them so that they are valid resource identifiers in 0.12.

This is a significant change because on its own, terraform will destroy and recreate the route which impact the cluster networking.
To avoid this, existing clusters this will require moving the resources within the terraform state prior to the next `apply`.

```
kops update cluster --target terraform --out ./
terraform state mv aws_route.0-0-0-0--0 aws_route.route-0-0-0-0--0 # repeat for all aws_route resources
terraform plan
terraform apply
```

The exact terraform state command may vary depending on how Kops' terraform output is used.
See the command documentation [1] for more details.
Always run a terraform plan first to ensure the `aws_route` and `aws_vpc_ipv4_cidr_block_association` resources are not getting recreated.

Due to the potential impact, this notice should be very prominant in the Kops release notes

[0] https://www.terraform.io/upgrade-guides/0-12.html
[1] https://www.terraform.io/docs/commands/state/mv.html
2020-01-17 07:51:39 -06:00
Justin SB 465316dce2
Publish update AMIs into the alpha channel
* Add 1.16, 1.17 images with correct docker versions (cf
  https://github.com/kubernetes-sigs/image-builder/pull/127)

* Regular package updates on other stretch images
2020-01-17 08:40:06 -05:00
Kubernetes Prow Robot 0e1f5ba2aa
Merge pull request #8328 from rifelpet/shellcheck
Add shellcheck verification
2020-01-17 04:46:55 -08:00
Justin Santa Barbara 5ebbfc96b9
Replace deprecated method calls to google cloud libraries
Required for static-check to pass.
2020-01-17 06:38:43 -05:00
Justin Santa Barbara bad8debd19
Update vendor 2020-01-17 06:38:43 -05:00
Justin Santa Barbara adf2a5c681
Update cli docs
klog added a flag (add_dir_header).
2020-01-17 06:35:22 -05:00
Justin Santa Barbara 7922356c62
Update apimachinery 2020-01-17 06:35:22 -05:00
Justin Santa Barbara 86f0056eb0
Update generated files for new k8s version 2020-01-17 06:35:22 -05:00
Justin Santa Barbara 2a2e884db0
Replace deprecated/removed prometheus metrics methods 2020-01-17 06:35:21 -05:00
Justin Santa Barbara 3ae2ccb153
Use component-base for metrics
Another dependency on k/k removed!

prometheus
2020-01-17 06:35:21 -05:00
Justin Santa Barbara aa50b6d894
Update go modules 2020-01-17 06:35:20 -05:00
Justin Santa Barbara a8831b5df0
Move kubectl dependency to k8s.io/kubectl
Helps pare down our dependency on kubernetes/kubernetes
2020-01-17 06:24:24 -05:00
Kubernetes Prow Robot c82c62edab
Merge pull request #8354 from justinsb/cos_make_opt_cni_writeable
Make /opt/cni/bin writeable on COS
2020-01-16 21:14:55 -08:00
Dao Cong Tien 309dc9a8fc Add unit test for pkg/edit/edit.go
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-01-17 11:11:25 +07:00