Commit Graph

91571 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6a526e8633
Merge pull request #91547 from Huang-Wei/postfilter-api
Scheduler PostFilter API
2020-05-29 20:45:53 -07:00
Wei Huang
8478c19a7f
autogen: PostFilter 2020-05-29 18:18:00 -07:00
Wei Huang
1837b49554
Scheduler PostFilter API 2020-05-29 18:18:00 -07:00
Kubernetes Prow Robot
99df02cd4a
Merge pull request #91561 from RainbowMango/pr_fix_invalid_recover
fix a client-go crash handler not working issue.
2020-05-29 18:17:53 -07:00
Kubernetes Prow Robot
1d566466cf
Merge pull request #91500 from deads2k/guarantee-service
reduce race risk in kubelet for missing KUBERNETES_SERVICE_HOST
2020-05-29 15:21:33 -07:00
Michael McCune
0a9c3e9684 remove unused variable from autoscaling e2e
This change removes the `coreCount` variable and associated counting
logic from the cluster size autoscaling test. This variable was used
during the 1.9 release era, but the tests that used it were removed
before the 1.10 release. Please see the referenced commits[0][1] for
more information.

[0]
c8b807837a
[1]
fd738945b1
2020-05-29 17:33:45 -04:00
David Eads
4da0e64bc1 reduce race risk in kubelet for missing KUBERNETES_SERVICE_HOST 2020-05-29 17:11:19 -04:00
Lubomir I. Ivanov
93549d5037 test/e2e/lifecycle: update OWNERS
The e2e/lifecycle package is owned by SIG CL, although maybe this
should be moved to e2e/auth at some point.

- copy the OWNERS from /cmd/kubeadm (minus the area/kueadm label)
- remove the OWNERS file in /bootstrap letting the parent OWNERS file
manage this sub-package.
2020-05-29 23:12:44 +03:00
Kubernetes Prow Robot
ae1103726f
Merge pull request #91566 from RainbowMango/pr_fix_invalid_recover_in_apiserver
Fix a wrong usage of recover in apiserver
2020-05-29 11:56:39 -07:00
Kubernetes Prow Robot
106c3eff51
Merge pull request #91544 from brianpursley/DeleteCollectionWorkers
Avoid creating more delete collection workers than items to delete
2020-05-29 11:56:29 -07:00
Kubernetes Prow Robot
d1586ea3f9
Merge pull request #91502 from deads2k/dyn-audit-removal-00
remove --feature-gates=DynamicAuditing
2020-05-29 11:56:20 -07:00
Kubernetes Prow Robot
5b1d78599f
Merge pull request #91460 from wojtek-t/addon_resizer_1_8_9
GCE: Bump addon resizer to 1.8.9 version and use metrics to get cluster size there
2020-05-29 11:56:09 -07:00
Kubernetes Prow Robot
39d0f7ba59
Merge pull request #91354 from cheftako/controller-manager
Adds staging directory for controller-manager code
2020-05-29 11:55:56 -07:00
Kubernetes Prow Robot
b69c8392b5
Merge pull request #84596 from akhinos/fix-statefulset-defaulting
UpdateStrategy.RollingUpdate.Partition is lost when UpdateStrategy.Type is not set
2020-05-29 11:55:49 -07:00
Kubernetes Prow Robot
825eb77c88
Merge pull request #83906 from mgugino-upstream-stage/pdb-exclude-pending
Allow deletion of pending pods when using PDBS
2020-05-29 11:55:34 -07:00
Jordan Liggitt
ee193bcd40 Add debugging and timeouts to pending pod e2e 2020-05-29 11:54:16 -04:00
Jordan Liggitt
e11404ac1f Add patch support for certificatesigningrequests/approval 2020-05-29 11:50:44 -04:00
Jordan Liggitt
0e2b13aed2 Add CertificateSigningRequest API coverage tests 2020-05-29 11:50:44 -04:00
Casey Callendrello
8bed088224 kubelet: block non-forwarded packets from crossing the localhost boundary
We set route_localnet so that host-network processes can connect to
<127.0.0.1:NodePort> and it still works. This, however, is too
permissive.

So, block martians that are not already in conntrack.

See: #90259
Signed-off-by: Casey Callendrello <cdc@redhat.com>
2020-05-29 17:35:50 +02:00
Kubernetes Prow Robot
081f97aa2b
Merge pull request #91535 from ahg-g/ahg-merge-updates
Merge pod condition update with setting nominated node name
2020-05-29 08:05:16 -07:00
Brian Pursley
88885b6776 Avoid creating more delete collection workers than items to delete 2020-05-29 08:57:03 -04:00
Kubernetes Prow Robot
b0c1fd19fc
Merge pull request #91524 from dims/add-dims-as-feature-approver
Add dims as feature approver
2020-05-29 05:19:15 -07:00
Yecheng Fu
32df4300ef emit correct event when unbound delay binding claim is used by pod 2020-05-29 19:36:13 +08:00
RainbowMango
d1a8832939 Fix a wrong usage of recover in apiserver. 2020-05-29 17:03:43 +08:00
Sascha Grunert
d2fc2d282d
Update cri-tools to v1.18.0
This updates cri-tools to the latest release as well as pointing the
artifacts to the new Google Cloud Bucket `k8s-artifacts-cri-tools`.

This reverts commit ce1840d253.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-29 10:56:02 +02:00
RainbowMango
4a4d1947b0 fix a client-go crash handler not working issue. 2020-05-29 16:55:12 +08:00
Kubernetes Prow Robot
83f343011f
Merge pull request #91308 from julianvmodesto/remove-deprecated-server-dry-run-flag
Remove deprecated --server-dry-run from kubectl apply
2020-05-29 01:05:35 -07:00
Han Kang
6c588c3f44
fix a number of unbounded dimensions in request metrics (#89451)
* fix a number of unbounded dimensions in request metrics

* add test suite for cleanVerb and cleanContentType

* Properly validate that the content-type and charset (if applicable) are RFC compliant

* add additional test case

* truncate list of content-types

Change-Id: Ia5fe0d2e2c602e4def4b8e0849cc19f3f9251818
2020-05-29 01:05:15 -07:00
zhouya0
b6213ed931 Support kubectl create deployment with replicas 2020-05-29 14:52:07 +08:00
Kubernetes Prow Robot
c8ceeed698
Merge pull request #91191 from denkensk/add-integration-test-nonpreempt
Add integration test for NonPreemption
2020-05-28 22:07:15 -07:00
Alex Wang
505ae6930f add integration-test for NonPreemption 2020-05-29 11:54:03 +08:00
Abdullah Gharaibeh
27caa6e727 merge pod condition update with setting nominated node name in the scheduler 2020-05-28 20:11:16 -04:00
Kubernetes Prow Robot
0891f69f5e
Merge pull request #91510 from ahg-g/ahg-preempt
Add Preemption benchmark
2020-05-28 16:38:12 -07:00
Kubernetes Prow Robot
472a4e9ce2
Merge pull request #91448 from RainbowMango/pr_fix_metric_naming
update metrics to conform promlint
2020-05-28 16:38:02 -07:00
Kubernetes Prow Robot
2572066ac0
Merge pull request #91424 from prasadkatti/add_validate_etcd_tests
Add tests for ValidateEtcd
2020-05-28 16:37:53 -07:00
Kubernetes Prow Robot
2a6d25d0f2
Merge pull request #90696 from brianpursley/IssueTemplate
Added issue templates for kubectl
2020-05-28 16:37:44 -07:00
Kubernetes Prow Robot
e9f560d720
Merge pull request #89710 from dims/update-hcsshim-to-latest
Update hcsshim to latest - v0.8.9
2020-05-28 16:37:29 -07:00
Kubernetes Prow Robot
99c50dfd3c
Merge pull request #85225 from DataDog/eric.mountain/cleanup_refmanager_master
Removes container RefManager
2020-05-28 16:37:15 -07:00
Jordan Liggitt
7049149181 Generated files 2020-05-28 16:53:23 -04:00
Michael Gugino
047b0cee71 Quit retrying early with user supplied resourceVersion
This commit also updates tests and comments.
2020-05-28 16:14:45 -04:00
Laszlo Janosi
3ce43a1c96 Add e2e test for SCTP Service, Pod and Endpoint creation.
Add SCTP NetworkPolicy test.
2020-05-28 19:51:27 +00:00
Kubernetes Prow Robot
4320e57494
Merge pull request #91461 from andrewsykim/fix-get-node-addresses
Improvements for proxy utils GetNodeAddresses
2020-05-28 12:24:53 -07:00
Kubernetes Prow Robot
c682b313d9
Merge pull request #91420 from pancernik/scheduler-config-v1beta1
Promote kubescheduler.config.k8s.io to v1betav1
2020-05-28 12:24:39 -07:00
Kubernetes Prow Robot
74b857cb0e
Merge pull request #90943 from foobarfran/feature-aws-lb-node-targeting
feat: use annotation to filter AWS LB target nodes
2020-05-28 12:24:25 -07:00
Monis Khan
fc4f91f10b cmd/*: fail on unrecognized flags/arguments for component CLI
In case a malformed flag is passed to k8s components
such as "–foo", where "–" is not an ASCII dash character,
the components currently silently ignore the flag
and treat it as a positional argument.

Make k8s components/commands exit with an error if a positional argument
that is not empty is found. Include a custom error message for all
components except kubeadm, as cobra.NoArgs is used in a lot of
places already (can be fixed in a followup).

The kubelet already handles this properly - e.g.:
'unknown command: "–foo"'

This change affects:
- cloud-controller-manager
- kube-apiserver
- kube-controller-manager
- kube-proxy
- kubeadm {alpha|config|token|version}
- kubemark

Signed-off-by: Monis Khan <mok@vmware.com>
Signed-off-by: Lubomir I. Ivanov <lubomirivanov@vmware.com>
2020-05-28 22:06:01 +03:00
Abdullah Gharaibeh
d650b57141 Added Preemption benchmark 2020-05-28 14:05:52 -04:00
wojtekt
5d93888f20 Bump addon resizer to 1.8.9 version 2020-05-28 19:37:01 +02:00
Kubernetes Prow Robot
fb9e1946b0
Merge pull request #91481 from zhouya0/fix_create_deployment_port_not_working
Fix create deployment port not working
2020-05-28 10:24:17 -07:00
Kubernetes Prow Robot
40e61d8a50
Merge pull request #90365 from janosi/createsctpservice
e2e test framework change for the SCTP e2e tests
2020-05-28 10:24:04 -07:00
Jordan Liggitt
add5770e2d Update API compatibility fixtures
compatibility.go:302: json differs
            compatibility.go:303:   strings.Join({
                  	... // 61 identical lines
                  	"      {",
                  	`        "type": "o,c鮽ort昍řČ扷5Ɨ",`,
                + 	`        "status": "ěĂ凗蓏Ŋ蛊ĉy緅縕",`,
                  	`        "reason": "25",`,
                  	`        "message": "26",`,
                - 	`        "lastUpdateTime": "2901-11-14T22:54:07Z"`,
                + 	`        "lastUpdateTime": "1985-03-23T14:10:57Z",`,
                + 	`        "lastTransitionTime": "2352-05-22T04:29:36Z"`,
                  	"      }",
                  	"    ],",
                - 	`    "certificate": "9Q=="`,
                + 	`    "certificate": "cw=="`,
                  	"  }",
                  	"}",
                  }, "\n")

            compatibility.go:308: yaml differs
            compatibility.go:309:   strings.Join({
                  	... // 42 identical lines
                  	`  username: "20"`,
                  	"status:",
                - 	"  certificate: 9Q==",
                + 	"  certificate: cw==",
                  	"  conditions:",
                - 	`  - lastUpdateTime: "2901-11-14T22:54:07Z"`,
                + 	`  - lastTransitionTime: "2352-05-22T04:29:36Z"`,
                + 	`    lastUpdateTime: "1985-03-23T14:10:57Z"`,
                  	`    message: "26"`,
                  	`    reason: "25"`,
                + 	"    status: ěĂ凗蓏Ŋ蛊ĉy緅縕",
                  	"    type: o,c鮽ort昍řČ扷5Ɨ",
                  	"",
                  }, "\n")

            compatibility.go:314: proto differs
            compatibility.go:316:   strings.Join({
                  	... // 62 identical lines
                  	`      3: "26"`,
                  	"      4 {",
                - 	"        1: 29407013647",
                + 	"        1: 480435057",
                  	"        2: 0",
                  	"      }",
                + 	"      5 {",
                + 	"        1: 12066985776",
                + 	"        2: 0",
                + 	"      }",
                + 	`      6: "\304\233\304\202\345\207\227\350\223\217\305\212\350\233\212\304\211y\347\267\205\347\270\225"`,
                  	"    }",
                - 	`    2: "\365"`,
                + 	`    2: "s"`,
                  	"  }",
                  	"}",
                  	... // 3 identical lines
                  }, "\n")
2020-05-28 12:20:40 -04:00