Commit Graph

103746 Commits

Author SHA1 Message Date
SataQiu
d57e442c62 kubeadm: do not check if the /etc/kubernetes/manifests folder is empty on joining worker nodes during preflight
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2021-09-14 20:26:04 +08:00
Kubernetes Prow Robot
ef7bc9f809
Merge pull request #104979 from MikeSpreitzer/fix-fake-self
Track recent reorg in testing clockery
2021-09-14 05:17:08 -07:00
Patrick Ohly
8b240e284f component-base: enable JSON in example
This used to work and broken when making the JSON backend optional.
2021-09-14 14:04:35 +02:00
Carlos Panato
132c7066e0
[go1.17] Update to go1.17.1
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-14 13:04:25 +02:00
Kubernetes Prow Robot
95391adbc0
Merge pull request #99529 from jialaijun/migrate_logs
Structured log migration for pkg/util/netsh
2021-09-14 02:41:07 -07:00
Patrick Ohly
de47d00865 pin-dependency.sh: enhance forking of a dependency
This addresses a problem that occurred when trying the following replacement:
   hack/pin-dependency.sh k8s.io/klog/v2=github.com/pohly/klog/v2 flush-log-sink

That itself worked, but update-vendor.sh then failed:

   === tidying go.mod/go.sum in staging/src/k8s.io/code-generator/examples
  go: k8s.io/apimachinery@v0.0.0 requires
  	k8s.io/klog/v2@v2.4.1-0.20210909144920-0b91caa8c854: invalid version: unknown revision 0b91caa8c854
  go: k8s.io/apimachinery@v0.0.0 requires
  	k8s.io/klog/v2@v2.4.1-0.20210909144920-0b91caa8c854: invalid version: unknown revision 0b91caa8c854
2021-09-14 11:30:17 +02:00
Haleygo
46454ea9dc support null resolvConf in Kubelet Configuration 2021-09-14 16:12:52 +08:00
Kubernetes Prow Robot
623f9f36e0
Merge pull request #104981 from MikeSpreitzer/plumb-group-resource-to-etcd3
Plumb the schema.GroupResource into etcd3 Store struct
2021-09-13 23:59:08 -07:00
Jan Chaloupka
07af6697e9 refactor: disable insecure serving in kube-scheduler 2021-09-14 07:52:16 +02:00
ishangupta-ds
c6b82bddd6 removing usage of github.com/pkg/errors from test/conformance/image/go-runner/ directory
Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>

formatted using gofmt script

Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>

adding nil check for error

Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>

adding nil check for errors

Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>

formatted

Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>
2021-09-14 08:39:00 +05:30
Kubernetes Prow Robot
047a6b9f86
Merge pull request #104874 from wojtek-t/migrate_clock_1
Unify towards k8s.io/utils/clock - part 1
2021-09-13 19:09:20 -07:00
Kubernetes Prow Robot
c79f7c1add
Merge pull request #104711 from claudiubelu/update-pause-3.6
update pause image references to use 3.6
2021-09-13 19:09:08 -07:00
xuzhonghu
25060beef0 Fix workqueue memory leak 2021-09-14 09:58:44 +08:00
Paco Xu
d57bad5fa9 Update cmd/kubeadm/app/preflight/checks.go
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
2021-09-14 09:33:12 +08:00
Paco Xu
7007b417e5 kubeadm: move swap on check error to warning since NodeSwap is beta in 1.23 2021-09-14 09:33:12 +08:00
Kubernetes Prow Robot
9c147baa70
Merge pull request #104969 from liggitt/crd-error-validation
Fix conversion of literal null JSON values
2021-09-13 18:01:27 -07:00
Kubernetes Prow Robot
06ec11d71b
Merge pull request #104883 from aojea/service_finalizer_delete
Add integration test for Services Finalizes Racing with the Repair Loop
2021-09-13 18:01:20 -07:00
Kubernetes Prow Robot
cdcf2a239e
Merge pull request #104399 from tkashem/apf-v1beta2
apf: introduce v1beta2
2021-09-13 18:01:08 -07:00
Kubernetes Prow Robot
5cbe2656c5
Merge pull request #104978 from Riaankl/Riaankl-update-ineligible_enpoint-RBAC
Update ineligible_endpoint.yaml to include RBAC
2021-09-13 15:44:11 -07:00
Kubernetes Prow Robot
0e2acbe9a8
Merge pull request #104794 from wzshiming/fix/kubelet-cm-kv-pair
pkg/kubelet/cm/memorymanager: Fix ErrorS key/value pair
2021-09-13 15:44:04 -07:00
Kubernetes Prow Robot
648559b63e
Merge pull request #104742 from khenidak/health-check-port
change health-check port to listen to node port addresses
2021-09-13 15:43:52 -07:00
Antonio Ojea
7c12daed0f move repair loop interval to a constant
use Extraconfig to configure the repair interval

and add an integration test for services finalizers, and
possible races with the services repair loop.
2021-09-13 23:54:19 +02:00
Kubernetes Prow Robot
abd83afaec
Merge pull request #104970 from PushkarJ/update-debian-iptables
Update debian-iptables to pick CVE fixes
2021-09-13 14:34:14 -07:00
Harjas
c6935ad50e
kubectl: Use fields from event series when computing describe events for a object (#104482)
* take into account new fields for event

* add event with old event fields for test

* fix: remove unnecessary "+1" from event series count

* fix: update the assertion for failing test case
2021-09-13 14:34:02 -07:00
Kubernetes Prow Robot
62a6df9e0b
Merge pull request #104045 from ravisantoshgudimetla/promote-minReadySec-sts-beta
Promote min ready sec sts beta
2021-09-13 14:33:50 -07:00
Mike Spreitzer
6f8019aae9 Plumb the schema.GroupResource into etcd3 Store struct 2021-09-13 17:20:46 -04:00
Jordan Liggitt
89ae351af9 Fix null JSON round tripping 2021-09-13 17:12:46 -04:00
Kubernetes Prow Robot
caf853b596
Merge pull request #104696 from PushkarJ/bump-conformance-images
Update conformance image to use debian-base:buster-v1.9.0
2021-09-13 13:28:02 -07:00
Kubernetes Prow Robot
c6dfe7343e
Merge pull request #103493 from cofyc/fix103431
scheduler/volumebinding: migrate to use pkg/scheduler/framework/plugins/feature
2021-09-13 13:27:50 -07:00
Mike Spreitzer
20ccd735f6 Track recent reorg in testing clockery 2021-09-13 16:15:28 -04:00
Riaan Kleinhans
6fa2859bf5
Update ineligible_endpoint.yaml to include RBAC 2021-09-14 08:02:49 +12:00
Kubernetes Prow Robot
31befb684c
Merge pull request #104801 from danwinship/drop-endpoints-handler
Drop broken/no-op proxyconfig.EndpointsHandler implementations
2021-09-13 12:16:02 -07:00
Kubernetes Prow Robot
f48336b0ae
Merge pull request #104796 from RA489/rmcsr
remove the --csr* flags from "kubeadm certs renew"
2021-09-13 12:15:50 -07:00
Khaled (Kal) Henidak
acdf50fbed change proxiers to pass nodePortAddresses 2021-09-13 18:27:07 +00:00
Khaled (Kal) Henidak
784c31cca1 change health checkport to listen to node port addresses 2021-09-13 18:27:06 +00:00
Pushkar Joglekar
64938ea160 Update debian-iptables to pick CVE fixes
- This image has fixes for CVE-2021-3711, CVE-2021-3712
- This will allow kube-proxy to be built on newer base image
  which has fixes for these CVEs
2021-09-13 11:13:08 -07:00
Shivanshu Raj Shrivastava
4916b6cd74
Migrated pkg/proxy/userspace to structured logging (#104931)
* migrated roundrobin.go

* migrated proxysocket.go

* fixed typo

* code formatting
2021-09-13 10:46:18 -07:00
Kubernetes Prow Robot
9205473702
Merge pull request #100373 from fromanirh/tm-e2e-require-devs
e2e: TM: add option to fail instead of skip
2021-09-13 10:46:07 -07:00
Pushkar Joglekar
8ed31517ff Bump conformance images to use debian:buster-v1.9.0
- Debian base used was older (v2.1.3)  missing multiple fixed CVEs
- Minor update to distroless debian image name to explicitly point
  to debian 10
- Debian base image now points to buster-1.9.0
2021-09-13 09:22:36 -07:00
Jordan Liggitt
ba1ca0d459 Propagate conversion errors 2021-09-13 12:04:16 -04:00
Dan Winship
7f6fbc4482 Drop broken/no-op proxyconfig.EndpointsHandler implementations
Because the proxy.Provider interface included
proxyconfig.EndpointsHandler, all the backends needed to
implement its methods. But iptables, ipvs, and winkernel implemented
them as no-ops, and metaproxier had an implementation that wouldn't
actually work (because it couldn't handle Services with no active
Endpoints).

Since Endpoints processing in kube-proxy is deprecated (and can't be
re-enabled unless you're using a backend that doesn't support
EndpointSlice), remove proxyconfig.EndpointsHandler from the
definition of proxy.Provider and drop all the useless implementations.
2021-09-13 09:32:38 -04:00
Kubernetes Prow Robot
dcfe8f5d5c
Merge pull request #104853 from kitianFresh/feature/avoid-sharedIndexInformer-run-more-than-once
avoid sharedIndexInformer run more than once, avoid more cache and me…
2021-09-13 06:24:07 -07:00
Kubernetes Prow Robot
170f64d58b
Merge pull request #104725 from NoicFank/master
Improve DeltaFIFO function 'ListKeys'
2021-09-13 05:14:07 -07:00
Francesco Romani
54c7d8fbb1 e2e: TM: add option to fail instead of skip
The Topology Manager e2e tests wants to run on real multi-NUMA system
and want to consume real devices supported by device plugins; SRIOV
devices happen to be the most commonly available of such devices.

CI machines aren't multi NUMA nor expose SRIOV devices, so the biggest portion
of the tests will just skip, and we need to keep it like this until we
figure out how to enable these features.

However, some organizations can and want to run the testsuite on bare metal;
in this case, the current test will skip (not fail) with misconfigured
boxes, and this reports a misleading result. It will be much better to
fail if the test preconditions aren't met.

To satisfy both needs, we add an option, controlled by an environment
variable, to fail (not skip) if the machine on which the test run
doesn't meet the expectations (multi-NUMA, 4+ cores per NUMA cell,
expose SRIOV VFs).
We keep the old behaviour as default to keep being CI friendly.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-09-13 13:23:36 +02:00
Dingzhu Lurong
f0ce875528 Improve DeltaFIFO function 'ListKeys'
In function ListKeys, it better to use ‘queue’ instead of 'items' to get all the keys.
2021-09-13 19:05:53 +08:00
Karthik K N
c5b4e05834 Updated vendor files and pinned versions 2021-09-13 15:42:42 +05:30
calvin0327
db82e282fc fix the test issue of data race to node shutdown manager 2021-09-13 18:12:19 +08:00
RA489
2a96e22c0a remove the --csr* flags from "kubeadm certs renew" 2021-09-13 14:50:33 +05:30
Karthik K N
40e69fc8ef Updated json-iterator version to 1.1.12 from 1.1.11 2021-09-13 12:57:23 +05:30
Patrick Ohly
2d2ec0e088 storage: update OWNERS and ALIASES
This removes several people who are no longer active with reviews and adds
myself as owner and reviewer.
2021-09-13 07:54:25 +02:00