Commit Graph

9797 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot a49ce910a8
Merge pull request #8265 from ReillyProcentive/WeaveNpcExtraArgs
Add support for weave.npcExtraArgs
2020-01-16 15:06:32 -08:00
Kubernetes Prow Robot 114a665184
Merge pull request #8353 from hakman/fix-dns-ubuntu-bionic
Fix DNS loop on Ubuntu 18.04 (Bionic)
2020-01-16 09:38:22 -08:00
Justin SB 3deecb2435
Make /opt/cni/bin writeable on COS
Using the same approach we're doing for /opt/kops
2020-01-16 12:36:22 -05:00
Kubernetes Prow Robot c76b9692b9
Merge pull request #8346 from zetaab/updategophercloud
update gophercloud dependency
2020-01-16 08:40:23 -08:00
Ciprian Hacman 162761cd64 Fix DNS loop on Ubuntu 18.04 (Bionic) 2020-01-16 18:25:19 +02:00
Kubernetes Prow Robot 3b00c24e2c
Merge pull request #8350 from rifelpet/centos7-ami
Update CentOS 7 AMI
2020-01-16 07:54:25 -08:00
Peter Rifel 73fb9ae9d9 Update CentOS 7 AMI
Our CentOS 7 e2e job has been failing for a long time: https://testgrid.k8s.io/sig-cluster-lifecycle-kops#kops-aws-centos-7

due to the AMI's lack of ENA/NVMe support and our tests defaulting to m5.large for the masters.
I updated the AMI in the e2e job and it appears to be successfully launching the cluster (still experiencing aws volume flakes).
This updates our docs to match the new AMI ID. While the centos website is not up to date, this AMI ID can be found with the documented aws cli query.
2020-01-16 08:49:23 -06:00
Kubernetes Prow Robot 136fe7a144
Merge pull request #8343 from johngmyers/crossbuild-nodeup
Fix crossbuild-nodeup-in-docker
2020-01-16 05:54:21 -08:00
Kubernetes Prow Robot f51b043113
Merge pull request #8205 from LinshanYu/fixName
fix author nickName
2020-01-16 04:42:22 -08:00
Kubernetes Prow Robot 18f99fdfcc
Merge pull request #8345 from truongnh1992/secure_link
Securing http link to https link
2020-01-16 03:30:22 -08:00
Jesse Haka 54154e5378 fix errors 2020-01-16 11:40:04 +02:00
Jesse Haka 769c02f87c update gophercloud dependency 2020-01-16 11:22:52 +02:00
Nguyen Hai Truong 910ab7486b Securing http link to https link
Fix http link to https link for security

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2020-01-16 15:41:56 +07:00
John Gardiner Myers aa4eebad2d Fix crossbuild-nodeup-in-docker 2020-01-15 20:04:51 -08:00
Kubernetes Prow Robot 77d6d381c3
Merge pull request #8327 from johngmyers/remove-code
Remove code for unsupported Kubernetes versions
2020-01-15 14:54:22 -08:00
John Gardiner Myers 4236ce115c Don't load nonexistent calico-client cert when CNI is Cilium 2020-01-15 14:06:51 -08:00
Reilly Brogan f5ce3f674b Change description of NPCExtraArgs in response to PR Feedback. Drop support for K8S 1.7 2020-01-15 15:06:03 -06:00
Kubernetes Prow Robot dbfd7f1682
Merge pull request #7096 from austinmoore-/no-ssh-key
Configuration to specify no SSH key
2020-01-15 13:00:23 -08:00
Austin Moore 4a88f7b5a5
Add ability to specify no ssh key by setting sshKeyName to empty
Add tests for no ssh key functionality

Add docs for setting no ssh key

Disable sshKey rendering for cloudformation if nosshkey is set

Fix broken test

make goimports

Fix

Formatting fix

Update kubernetes version for tests

Update expected test output

Fix imports in mesh.pb.go

Run hack/update-expected.sh

Change digital ocean logic to handle *string for SSHKeyName

Fix expected output

Missed a few
2020-01-15 15:24:32 -05:00
Kubernetes Prow Robot 8c6b74dcc5
Merge pull request #8337 from phspagiari/etcd_manager_restore
docs(docs/operations) Adding more steps to etcd-manager restore operation to work properly
2020-01-15 07:17:34 -08:00
Pedro H. Spagiari 39487215b4 docs(docs/operations) Adding more steps to etcd-manager restore operation to work properly 2020-01-15 11:41:30 -03:00