Commit Graph

91553 Commits

Author SHA1 Message Date
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
Jordan Liggitt
94fd1d76ca Switch issued check to inspect certificate length 2020-05-28 12:20:40 -04:00
Jordan Liggitt
184b3f81ad Stop waiting for failed CSRs 2020-05-28 12:20:40 -04:00
Jordan Liggitt
6b61cb2907 Print and describe failed CSRs 2020-05-28 12:20:40 -04:00
Jordan Liggitt
d33a19cee7 Clean failed CSRs 2020-05-28 12:20:40 -04:00
Jordan Liggitt
57eddd5e04 Record Failed condition in signer controller 2020-05-28 12:20:40 -04:00
Jordan Liggitt
377adfa2b7 Make signer admission plugin check on condition update 2020-05-28 12:20:40 -04:00
Jordan Liggitt
aed0621f2e Plumb version info to validation, separate main/status/approval validation 2020-05-28 12:20:40 -04:00
Jordan Liggitt
9f49d98ccd Add conditions status field 2020-05-28 12:20:39 -04:00
Andrew Sy Kim
18741157ef proxier/ipvs: remove redundant length check for node addresses
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-05-28 11:48:48 -04:00
Jordan Liggitt
6604b79796 Add signerName constants 2020-05-28 10:53:14 -04:00
Kubernetes Prow Robot
56ad0cefbd
Merge pull request #91508 from vareti/typo-fix
Fix the description for Namespace field in ObjectMeta Structure
2020-05-28 06:28:02 -07:00
Davanum Srinivas
42b061fb83
Add dims as feature approver
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-28 06:54:27 -04:00
Kubernetes Prow Robot
570cdb86b8
Merge pull request #91487 from mrbobbytables/update-sched-owners
Update sig-scheduling aliases
2020-05-27 20:50:16 -07:00
Kubernetes Prow Robot
8b3c00c661
Merge pull request #89799 from julianvmodesto/patcher
Make kubectl client-side apply with server-side dry-run safer
2020-05-27 20:50:02 -07:00