Commit Graph

12938 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 53f0ffdcc7
Merge pull request #10397 from olemarkus/no-master-node-role
Add control-plane node role label to cp nodes
2021-01-08 04:30:54 -08:00
Ole Markus With 2b3a8f133e Add control-plane node role annotation to cp nodes
Update docs/releases/1.20-NOTES.md

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2021-01-08 12:39:42 +01:00
Kubernetes Prow Robot 59c6aaa7c1
Merge pull request #10540 from hakman/flatcar-containerd-config
Add containerd config file to Flatcar based instances
2021-01-07 07:47:59 -08:00
Kubernetes Prow Robot 4e08ed9ae3
Merge pull request #10542 from hakman/olemarkus-approver
Promote Ole Markus to approvers list
2021-01-06 11:13:52 -08:00
Ciprian Hacman 422cfad1da Add containerd config file to Flatcar based instances 2021-01-06 15:33:17 +02:00
Ciprian Hacman cf2deb3db9 Promote Ole Markus to approvers list 2021-01-06 14:14:46 +02:00
Kubernetes Prow Robot 2677254392
Merge pull request #10461 from olemarkus/allow-modify-etcd-volume
Make it possible to change the etcd volume type and iops
2021-01-06 02:47:52 -08:00
Ole Markus With 0676e38473 Make it possible to modify ebs volumes 2021-01-06 11:01:24 +01:00
Guangwen Feng 66d48164a9 Fix typo in comment
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
2021-01-06 16:18:46 +08:00
Kubernetes Prow Robot 76bd02754c
Merge pull request #10371 from bmelbourne/add-k8s-docker-deprecation-release-note
Add K8s Docker runtime support deprecation release note
2021-01-05 23:13:51 -08:00
Ciprian Hacman ceeb0635cd
Apply suggestions from code review 2021-01-06 08:30:23 +02:00
Kubernetes Prow Robot 0ca0e38518
Merge pull request #10424 from rifelpet/ebs-tf-012
Don't allow ebs volume TF resource names to begin with digit
2021-01-05 09:19:58 -08:00
Justin Santa Barbara 78b139465c Refactor and centralize distribution logic
Use of a struct makes it more sustainable, centralizing into the
distribution package makes it simpler to follow.
2021-01-05 11:50:23 -05:00
Kubernetes Prow Robot df13837804
Merge pull request #10278 from justinsb/recognize_ubuntu_2010
Recognize ubuntu 20.10
2021-01-05 08:33:59 -08:00
Justin SB b17e44b709 Recognize ubuntu 20.10
Teach nodeup about ubuntu 20.10, including the unusual
/etc/resolv.conf configuration.
2021-01-05 10:53:40 -05:00
Kubernetes Prow Robot 2e202badc5
Merge pull request #10361 from hakman/single-az-multi-master
Prefix etcd cluster names with letters
2021-01-05 07:51:58 -08:00
Kubernetes Prow Robot 551a805ebd
Merge pull request #10530 from hakman/gp3-throughput
Add possibility to set volume throughput for gp3 volumes
2021-01-05 04:53:58 -08:00
Ciprian Hacman a7bb949936 Add possibility to set volume throughput for gp3 volumes 2021-01-05 13:18:32 +02:00
Kubernetes Prow Robot 18932d1b3e
Merge pull request #10529 from rifelpet/irsa-r53
IRSA - continue adding route53 permisions to masters
2021-01-04 23:47:57 -08:00
Peter Rifel a15957da2f
IRSA - continue adding route53 permisions to masters
These are needed by protokube to create the kops-controller DNS record to allow nodes to bootstrap.

See these logs: https://storage.googleapis.com/kubernetes-jenkins/logs/e2e-kops-grid-scenario-public-jwks/1345956556562239488/artifacts/ip-172-20-48-1.sa-east-1.compute.internal/protokube.log

```
I0104 05:03:51.264472    6482 dnscache.go:74] querying all DNS zones (no cached results)
I0104 05:03:51.264570    6482 route53.go:53] AWS request: route53 ListHostedZones
W0104 05:03:51.389485    6482 dnscontroller.go:124] Unexpected error in DNS controller, will retry: error querying for zones: error querying for DNS zones: AccessDenied: User: arn:aws:sts::768319786644:assumed-role/masters.e2e-kops-scenario-public-jwks.test-cncf-aws.k8s.io/i-05b1db10d1a5b8637 is not authorized to perform: route53:ListHostedZones
```

and the nodeup logs on nodes that couldn't join the cluster:

```
Jan 04 04:55:53.500187 ip-172-20-38-84 nodeup[2070]: W0104 04:55:53.500117    2070 executor.go:131] error running task "BootstrapClient/BootstrapClient" (9m52s remaining to succeed): Post "https://kops-controller.internal.e2e-kops-scenario-public-jwks.test-cncf-aws.k8s.io:3988/bootstrap": dial tcp: lookup kops-controller.internal.e2e-kops-scenario-public-jwks.test-cncf-aws.k8s.io on 127.0.0.53:53: no such host
```
2021-01-04 21:03:53 -06:00
Kubernetes Prow Robot 7238f2689c
Merge pull request #10512 from hakman/kube-router-v1.1.1
Update kube-router to v1.1.1
2021-01-04 16:01:57 -08:00
Kubernetes Prow Robot 22c5975591
Merge pull request #10519 from seh/restrict-api-server-security-groups-to-masters
Only include API server additional security groups in InstanceGroups for masters
2021-01-04 14:15:58 -08:00
Barry Melbourne 3426a1ac2a Add K8s Docker support deprecation release note 2021-01-04 20:48:39 +00:00
Kubernetes Prow Robot 6d5549e730
Merge pull request #10453 from msidwell/gp3-etcd
Add gp3 Volume Type to etcd
2021-01-04 11:29:57 -08:00
Kubernetes Prow Robot 137c8368d3
Merge pull request #10524 from justinsb/kubetest2_gce
kubetest2: add initial support for GCE
2021-01-04 10:51:56 -08:00
Kubernetes Prow Robot b4ee59cae6
Merge pull request #10525 from justinsb/aws_env_vars
kubetest2: Pass through some AWS env vars
2021-01-04 09:51:57 -08:00
msidwell ebf05facc2 add gp3 volume default params
add io2 case and correct IOPS minimum value check

add gp3 case

add io2 and gp3 parameter ratio validation logic

add volumeThroughput parameter for disks that support it

add volumeThroughput components throughout ebs structs

add volumeThroughput to versioned api

updated api machinery and crds

apimachinery update
2021-01-04 17:08:11 +00:00
Justin Santa Barbara 28261a5dcc kubetest2: Pass through some AWS env vars
To run directly, I need to specify AWS_PROFILE.
2021-01-04 11:34:31 -05:00
Justin Santa Barbara 28184756c3 kubetest2: add initial support for GCE
Filling in some of the GCE-equivalents to the AWS code.
2021-01-04 11:32:12 -05:00
Steven E. Harris 76feb2e637 Correct integration test to reflect SG restriction 2021-01-04 08:38:25 -05:00
Steven E. Harris 2a89d25ed0 Test that launch templates include additional SGs 2021-01-04 08:38:25 -05:00
Steven E. Harris 252d4177f0 Only include API server SGs in IGs for masters
When using an AWS NLB in front of the Kubernetes API servers, we can't
attach the EC2 security groups nominated in the Cluster
"spec.api.loadBalancer.additionalSecurityGroups" field directly to the
load balancer, as NLBs don't have associated security groups. Instead,
we intend to attach those nominated security groups to the machines
that will receive network traffic forwarded from the NLB's
listeners. For the API servers, since that program runs only on the
master or control plane machines, we need only attach those security
groups to the machines that will host the "kube-apiserver" program, by
way of the ASG launch templates that come from kOps InstanceGroups of
role "master."

We were mistakenly including these security groups in launch templates
derived from InstanceGroups of all of our three current roles:
"bastion," "master," and "node." Instead, skip InstanceGroups of the
"bastion" and "node" roles and only target those of role "master."
2021-01-04 08:38:25 -05:00
Steven E. Harris ad4ac4f474 Test that AWS launch templates include wrong SG 2021-01-04 08:38:25 -05:00
Kubernetes Prow Robot e1389aa31b
Merge pull request #10522 from rifelpet/kubetest2-test
e2e - dump cluster manifests into artifacts and add --kubernetes-version
2021-01-03 23:05:56 -08:00
Peter Rifel cf74053426
Dump cluster and IG manifests into artifacts 2021-01-03 21:49:32 -06:00
Peter Rifel d8abaa77fd
cleanup some input validation error messages 2021-01-03 19:50:53 -06:00
Peter Rifel 0ac86d13e3
Support a --kubernetes-version flag that is passed to `kops create cluster` 2021-01-03 19:50:53 -06:00
Kubernetes Prow Robot c5658e1978
Merge pull request #10520 from bmelbourne/remove-year-generated-go-files
Remove copyright YEAR from generated Go files
2021-01-03 17:13:55 -08:00
Barry Melbourne 1c96e826d9 Remove copyright YEAR from generated Go files 2021-01-03 12:48:50 +00:00
Kubernetes Prow Robot 66fe512b69
Merge pull request #10504 from rifelpet/kubetest2-test
Run k/k's e2e suite via new kubetest2 make target
2020-12-31 09:17:51 -08:00
Peter Rifel 83eeccc6c0
Use the same package version as that reported by apiserver
kubetest2 doesn't download a kubectl client from the same version being tested, so the mismatch is causing test failures.
Until we can download kubectl we'll use the same minor version as /usr/local/bin/kubectl baked into the prow image
2020-12-31 10:43:50 -06:00
Kubernetes Prow Robot c7afbf2192
Merge pull request #10514 from MoShitrit/alpha-to-stable-2020-12-30
Update stable channel with recent k8s releases
2020-12-31 06:25:51 -08:00
MoShitrit 89f988a035 Update stable channel with recent k8s releases 2020-12-30 17:52:06 -05:00
Ciprian Hacman 7c2dc634ec Update kube-router to v1.1.1 2020-12-30 09:08:35 +02:00
Kubernetes Prow Robot 22a9a13abf
Merge pull request #10488 from rifelpet/iam-role-tag
AWS IAM Role Tagging
2020-12-29 22:33:48 -08:00
Kubernetes Prow Robot 99804b1a6a
Merge pull request #10509 from silashansen/patch-1
Add required toleration to gpu documentation
2020-12-29 21:39:49 -08:00
Kubernetes Prow Robot 0e34ce13d7
Merge pull request #10508 from wongma7/dhcpnotfound
Treat InvalidDhcpOptionsId.NotFound as already-deleted
2020-12-29 20:25:48 -08:00
Silas Hansen e8ad061172
Add required toleration
As the example sets a taint on the gpu-node, a toleration is required for the *gpu-feature-discovery* (gfd) daemonset to be able to run.
2020-12-29 21:04:19 +01:00
Kubernetes Prow Robot dded75ee3f
Merge pull request #10507 from hakman/containerd-registry-mirrors
Add containerd option for registry mirrors
2020-12-29 10:18:28 -08:00
Matthew Wong 7e9392e72c Treat InvalidDhcpOptionsId.NotFound as already-deleted 2020-12-28 17:27:34 -08:00