Commit Graph

89236 Commits

Author SHA1 Message Date
Mateusz Gozdek
dfe1f968ac
kube-apiserver: use SO_REUSEPORT when creating listener on Unix systems
So multiple instances of kube-apiserver can bind on the same address and
port, to provide seamless upgrades.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
2020-03-13 23:55:57 +01:00
Kubernetes Prow Robot
5bf4a4ca2f
Merge pull request #89078 from liggitt/kubectl-table-test
Remove kubectl column output test
2020-03-12 02:08:38 -07:00
Kubernetes Prow Robot
d8077e9ba6
Merge pull request #89048 from aojea/flakymetrics
wait until /metrics are ready on e2e test
2020-03-12 00:26:37 -07:00
Jordan Liggitt
a35ca04dd6 Remove kubectl column output test 2020-03-11 22:59:51 -04:00
Kubernetes Prow Robot
562a420d86
Merge pull request #88915 from roycaihw/fix/image-manager-data-race
Fix a data race in kubelet image manager
2020-03-11 15:04:37 -07:00
Kubernetes Prow Robot
c034a145be
Merge pull request #88819 from praseodym/fix-bazel-build
Fix Bazel build
2020-03-11 11:37:36 -07:00
Kubernetes Prow Robot
a37d68ec05
Merge pull request #88917 from adelina-t/fix_pod_admit_handler
Implement noopWindowsResourceAllocator
2020-03-11 07:45:37 -07:00
Antonio Ojea
4361f8f052 wait until /metrics are ready on e2e test
Some e2e tests depend on the controller-manager to expose metrics
on the path /metrics.

It may happen that when the test runs, the pod is not available or the
URL not ready, causing it to fail.

Previously, the test were waiting until the pod was running, but we
need to wait until the /metrics URL is ready.
2020-03-11 14:32:03 +01:00
Kubernetes Prow Robot
cb38560422
Merge pull request #89002 from ArchangelSDY/azure-vmss-cache
Fix VMSS cache content
2020-03-11 00:23:35 -07:00
Kubernetes Prow Robot
7989ca4324
Merge pull request #88734 from joelsmith/master
Work-around for missing memory metrics on CRI-O exited containers
2020-03-10 16:21:36 -07:00
Haowei Cai
462b75388f let image cache do sort on write instead of on read to avoid data
race and improve efficienty
2020-03-10 15:33:34 -07:00
Anago GCB
2c26e109b4 CHANGELOG: Update directory for v1.18.0-beta.2 release 2020-03-10 20:46:12 +00:00
Adelina Tuvenie
a9f834d17d Implement noopWindowsResourceAllocator
On Windows, the podAdmitHandler returned by the GetAllocateResourcesPodAdmitHandler() func
and registered by the Kubelet is nil.

We implement a noopWindowsResourceAllocator that would admit any pod for Windows in order
to be consistent with the original implementation.
2020-03-10 21:32:23 +01:00
Kubernetes Prow Robot
0ec85a1467
Merge pull request #88934 from aojea/endpointnolog
Stop flooding the kube-proxy logs on dual-stack because of IPFamily
2020-03-10 12:43:37 -07:00
Kubernetes Prow Robot
c4a7d3cf16
Merge pull request #88903 from claudiubelu/test-images/sample-apiserver-fix
test images: ARG instructions should be first
2020-03-10 11:15:35 -07:00
Kubernetes Prow Robot
307bafb860
Merge pull request #88995 from liggitt/crd-list-conversion
Preserve target apiVersion when decoding into unstructured lists
2020-03-10 09:43:35 -07:00
Jordan Liggitt
fa12441ab9 Preserve target apiVersion when decoding into unstructured lists 2020-03-10 10:31:56 -04:00
Kubernetes Prow Robot
2bacdf8047
Merge pull request #88988 from smarterclayton/ensure_host_network_podips
kubelet: Also set PodIPs when assign a host network PodIP
2020-03-10 06:43:36 -07:00
Dayang Shen
ce3644ca59 Fix VMSS cache content
Using reference to a loop iterator variable is common mistake because it
takes different values in each loop iteration.
2020-03-10 19:17:48 +08:00
Kubernetes Prow Robot
a35f54e3e8
Merge pull request #88982 from aojea/flakyvolumes
e2e: wait for controller manager pod to be ready
2020-03-10 03:29:36 -07:00
Kubernetes Prow Robot
f8ff8f4420
Merge pull request #88641 from antoninbas/fix-regex-in-conformance-tests-runner
Fix default regular expressions in conformance tests runner
2020-03-09 23:33:35 -07:00
Kubernetes Prow Robot
5877945048
Merge pull request #88739 from julianvmodesto/diff-server-side-field-manager
Set field manager for kubectl diff --server-side
2020-03-09 18:57:35 -07:00
Kubernetes Prow Robot
900143c6d4
Merge pull request #88935 from satyasm/kep-local-cidr
Add NodeCIDR for detect-local-mode
2020-03-09 16:37:36 -07:00
Clayton Coleman
c26653ced9
kubelet: Also set PodIPs when assign a host network PodIP
When we clobber PodIP we should also overwrite PodIPs and not rely
on the apiserver to fix it for us - this caused the Kubelet status
manager to report a large string of the following warnings when
it tried to reconcile a host network pod:

```
 I0309 19:41:05.283623    1326 status_manager.go:846] Pod status is inconsistent with cached status for pod "machine-config-daemon-jvwz4_openshift-machine-config-operator(61176279-f752-4e1c-ac8a-b48f0a68d54a)", a reconciliation should be triggered:
   &v1.PodStatus{
           ... // 5 identical fields
           HostIP:                "10.0.32.2",
           PodIP:                 "10.0.32.2",
 -         PodIPs:                []v1.PodIP{{IP: "10.0.32.2"}},
 +         PodIPs:                []v1.PodIP{},
           StartTime:             s"2020-03-09 19:41:05 +0000 UTC",
           InitContainerStatuses: nil,
           ... // 3 identical fields
   }
```

With the changes to the apiserver, this only happens once, but it is
still a bug.
2020-03-09 18:15:32 -04:00
Kubernetes Prow Robot
b1c1187cca e2e: wait for controller manager pod to be ready
The MetricsGrabber may use the controller-manager pod
to gather metrics, however, it doesn't wait until
it is ready to serve, failing the test if this is the
case.

We wait until the controller-manager pod is running
before trying to get metrics from it.
2020-03-09 22:04:16 +01:00
Satyadeep Musuvathy
e053fdd08a Add NodeCIDR for detect-local-mode 2020-03-09 13:44:34 -07:00
Kubernetes Prow Robot
0bb125e731
Merge pull request #87487 from skilxn-go/master
Move TaintBasedEvictions feature gates to GA
2020-03-09 09:03:45 -07:00
Kubernetes Prow Robot
381a372455
Merge pull request #88879 from JoshVanL/88878-apiserver-webhook-config-panic
Checks error for loading audit webhook config to prevent panic
2020-03-09 06:05:40 -07:00
skilxn-go
6b8fc8dc5e Move TaintBasedEvictions feature gates to GA 2020-03-09 10:49:00 +08:00
Kubernetes Prow Robot
5383e01d2a
Merge pull request #88952 from smarterclayton/fix_reason
test: Detect flakes caused by container teardown races on CRI
2020-03-08 17:55:34 -07:00
Clayton Coleman
d80981b657
test: Detect flakes caused by container teardown races on CRI
CRI returns a different reason than the dockershim, and we must also
catch the symptoms of https://github.com/kubernetes/kubernetes/issues/88766
in that environment.
2020-03-08 16:21:57 -04:00
Kubernetes Prow Robot
672aa55ee4
Merge pull request #87777 from dbenoit17/master
fix range copy issue
2020-03-07 08:25:34 -08:00
Kubernetes Prow Robot
e71ff9e5e6
Merge pull request #88916 from dims/use-go-bin-data-from-vendor
Use go-bindata built from vendor/
2020-03-07 06:31:34 -08:00
Antonio Ojea
df58c042a8 metaproxier logging for endpoints ipfamily
The kube-proxy metaproxier implementations tries to get the IPFamily
from the endpoints, but if the endpoints doesn't contains an IP
address it logs a Warning.

This causes that services without endpoints keep flooding the logs
with warnings.

We log this errors with a level of Verbosity of 4 instead of a Warning
2020-03-07 11:42:02 +01:00
Kubernetes Prow Robot
71ad0a9020
Merge pull request #88875 from apelisse/apply-no-op
SSA: Applying same object twice should be a no-op the second time
2020-03-07 01:13:34 -08:00
Kubernetes Prow Robot
b30c9a3aba
Merge pull request #88929 from liggitt/expansions
client-go: plumb context to expansions methods
2020-03-06 20:35:34 -08:00
Kubernetes Prow Robot
988982a1f7
Merge pull request #88048 from mtaufen/provider-info-e2etest
Add e2e test for validating JWTs as OIDC tokens
2020-03-06 17:59:34 -08:00
Antonio Ojea
23d9ffd4c8 Add metaproxier unit tests 2020-03-07 00:33:55 +01:00
Kubernetes Prow Robot
ab40772439
Merge pull request #88911 from tkashem/readyz-shutdown
/readyz should start returning failure on shutdown initiation
2020-03-06 14:53:34 -08:00
Jordan Liggitt
d8abacba40 client-go: update expansions callers 2020-03-06 16:50:41 -05:00
Jordan Liggitt
4c034278f4 client-go: add context/options to expansions methods 2020-03-06 16:50:31 -05:00
Kubernetes Prow Robot
f52cbea102
Merge pull request #88910 from liggitt/metadata-context
Metadata client: plumb context
2020-03-06 13:18:04 -08:00
Kubernetes Prow Robot
cf4d797b5d
Merge pull request #88906 from liggitt/dynamic-delete
Dynamic client: plumb context
2020-03-06 13:17:54 -08:00
Kubernetes Prow Robot
b9f15ece18
Merge pull request #88877 from prameshj/nodecache-update
Update to latest node-cache image
2020-03-06 13:17:45 -08:00
Kubernetes Prow Robot
d90b37f16e
Merge pull request #88714 from MikeSpreitzer/apf-finer-metrics2
Extend API Priority and Fairness metrics
2020-03-06 13:17:36 -08:00
Kubernetes Prow Robot
ef672c1c2d
Merge pull request #88678 from verult/slow-rxm-attach
Parallelize attach operations across different nodes for volumes that allow multi-attach
2020-03-06 13:17:21 -08:00
Kubernetes Prow Robot
179fe40d06
Merge pull request #88599 from julianvmodesto/scale-ctx-opts
Add context and options to scale client
2020-03-06 13:17:08 -08:00
Kubernetes Prow Robot
1836f95260
Merge pull request #88549 from caesarxuchao/egressSelector-metrics
Add metrics for egress dials
2020-03-06 11:05:24 -08:00
Davanum Srinivas
e93c6a67d5
Use go-bindata built from vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-06 13:53:12 -05:00
Kubernetes Prow Robot
7c7ce47c01
Merge pull request #88781 from ibuildthecloud/master
Disable HTTP2 while proxying a "Connection: upgrade" request
2020-03-06 08:43:24 -08:00