Commit Graph

88266 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6ac8f2c70c
Merge pull request #87758 from klueska/upstream-cleanup-topology-manager
Cleanup TopologyManager and update policy.Merge()
2020-02-06 17:46:27 -08:00
Kubernetes Prow Robot
98d8af1582
Merge pull request #87741 from dims/ensure-configure-can-work-on-both-python2-and-3
python snippets should work on both old and new python versions
2020-02-06 17:46:15 -08:00
Kubernetes Prow Robot
caae5467c3
Merge pull request #87695 from andrewsykim/ipvs-handle-ipv6-dest
update github.com/docker/libnetwork to c8a5fca4a652
2020-02-06 17:45:59 -08:00
Kubernetes Prow Robot
04498c5955
Merge pull request #87513 from gavinfish/e2e_ingress_manifest
Move IngressFromManifest/IngressToManifest to ingress e2e fw
2020-02-06 17:45:45 -08:00
Kubernetes Prow Robot
04e28b3674
Merge pull request #87098 from davidz627/feature/migratedRollback
Add annotation updating for migration for PVs and PVCs
2020-02-06 17:45:32 -08:00
John Belamaric
bfe696b49c Use longer pod start timeouts for specific tests
The kubelet test here is using a one minute timeout, instead of the
normal framework.PodStartTimeout.

The DNS results validation functions pull several images including
the jessie-dnsutils which is a bit bigger than usual.
2020-02-06 16:41:10 -08:00
Mike Danese
2a5bce8c82 use tars instead of debs to build server images 2020-02-06 15:09:30 -08:00
Stephen Augustus
ac9983f43d build: Remove references to debs/rpms in BUILD/dependency files
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-02-06 15:08:52 -08:00
Stephen Augustus
baec6d4af5 build: Remove deb and rpm build definitions/specs
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-02-06 15:08:49 -08:00
Kubernetes Prow Robot
6a92f19444
Merge pull request #87730 from marosset/windows-kubelet-stats-timeout-updates
Windows kubelet stats timeout updates
2020-02-06 13:57:24 -08:00
Aldo Culquicondor
1071eb89f3 Remove deprecated fields from kubescheduler.config.k8s.io/v1alpha2
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-06 16:22:30 -05:00
Antoine Pelisse
e41f2ccd41 gce-addons: Make sure default/limit-range doesn't get overridden 2020-02-06 12:10:12 -08:00
Aldo Culquicondor
e9e11de4e1 Remove Error log for nil StartTime
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-06 14:09:44 -05:00
Ted Yu
871739e4df Check getNodeInfoError against nil 2020-02-06 10:57:43 -08:00
Mike Danese
38ecb30c58
Revert "Collect some of scheduling metrics and scheduling throughput" 2020-02-06 10:18:00 -08:00
marosset
999fdfaddf Calling hcsshim instead of docker api to get stats for windows to greatly reduce latency 2020-02-06 17:59:10 +00:00
marosset
e8f12692df adding e2e test to ensure it takes less than 10 seconds to query kubelet stats for windows nodes 2020-02-06 17:59:05 +00:00
Antoine Pelisse
a52776fbfb Add UpdateTwice and UpdateApply benchmarks for fieldmanager
I've also moved the deserialization of the object outside the benchmark
since we're not trying to benchmark the yaml parser.
2020-02-06 09:25:52 -08:00
Wei Huang
815206685c
PodTopologySpread excludes terminatingPods when making scheduling decision 2020-02-06 07:38:50 -08:00
Kubernetes Prow Robot
6858c25ee4
Merge pull request #85861 from ingvagabund/scheduler-perf-collect-data-items-from-metrics
Collect some of scheduling metrics and scheduling throughput
2020-02-06 07:05:34 -08:00
Alexander Zimmermann
22bd92a390
Changed comments to match with interfaces method description 2020-02-06 11:48:57 +01:00
Alexander Zimmermann
026ba54961
Fixed Golint errors in pkg/registry/core/pod 2020-02-06 11:40:37 +01:00
Kubernetes Prow Robot
a67238eed6
Merge pull request #87007 from wojtek-t/cleanup_manual_conversions
Cleanup manual conversions
2020-02-06 02:27:33 -08:00
Stephen Augustus
e54bfa4652 CHANGELOG: Collapse README.md headings in single list
While it's not happening today, we'll want to eventually also handle
updates to this CHANGELOG list via krel changelog. By collapsing the set
of changelogs into a single list, it will be a little easier to write
out an updated file for commit by searching the contents of the directory
that match "CHANGELOG-x.y.md" and adding them to the list.

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-02-06 03:54:10 -05:00
zhouya0
527e66fc28 Add kubectl diff exit code doc 2020-02-06 14:49:55 +08:00
Stephen Augustus
0380aff70c CHANGELOG: Move changelog, soft-link to top-level, refresh listing
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-02-06 01:04:44 -05:00
Stephen Augustus
a6b0eaecc9 CHANGELOG: Move changelogs into a subdir to delegate releng approvals
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-02-06 01:04:15 -05:00
Kubernetes Prow Robot
641321c94c
Merge pull request #87358 from tanjunchen/use-e2eskipper-final
test/e2e/framework: remove skip.go and use e2eskipper subpackage
2020-02-05 19:47:33 -08:00
Sakura
d5edfc9817
fix staticcheck errors in vendor/k8s.io/legacy-cloud-providers/aws.
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-02-06 11:08:45 +08:00
Davanum Srinivas
fc719c13f5
Explicitly shutdown bazel after the target finishes 2020-02-05 18:16:34 -05:00
Weinong Wang
c08db5feac add a flag in azure auth module to omit spn: prefix in audience claim 2020-02-05 14:17:59 -08:00
Kubernetes Prow Robot
9f6f608816
Merge pull request #87492 from 928234269/fix_staticcheck05
fix static check errors in vendor/k8s.io/apimachinery/pkg/api/resource
2020-02-05 12:11:55 -08:00
Clayton Coleman
aed4d639a5
kubelet: Debug pod status output diff is wrong
The types were different so the diff output is not useful, both
should be pointers:

```
Feb 05 19:44:40 ci-ln-6k7l4-w-c-w9wbb.c.openshift-gce-devel-ci.internal hyperkube[2737]: I0205 19:44:40.222259    2737 status_manager.go:642] Pod status is inconsistent with cached status for pod "prometheus-k8s-1_openshift-monitoring(0e9137b8-3bd2-4353-b7f5-672749106dc1)", a reconciliation should be triggered:
Feb 05 19:44:40 ci-ln-6k7l4-w-c-w9wbb.c.openshift-gce-devel-ci.internal hyperkube[2737]:    interface{}(
Feb 05 19:44:40 ci-ln-6k7l4-w-c-w9wbb.c.openshift-gce-devel-ci.internal hyperkube[2737]: -         s"&PodStatus{Phase:Running,Conditions:[]PodCondition{PodCondition{Type:Initialized,Status:True,LastProbeTime:0001-01-01 00:00:00 +0000 UTC,LastTransitionTime:2020-02-05 19:13:30 +0000 UTC,Reason:,Message:,},PodCondit>
Feb 05 19:44:40 ci-ln-6k7l4-w-c-w9wbb.c.openshift-gce-devel-ci.internal hyperkube[2737]: +         v1.PodStatus{
Feb 05 19:44:40 ci-ln-6k7l4-w-c-w9wbb.c.openshift-gce-devel-ci.internal hyperkube[2737]: +                 Phase: "Running",
Feb 05 19:44:40 ci-ln-6k7l4-w-c-w9wbb.c.openshift-gce-devel-ci.internal hyperkube[2737]: +                 Conditions: []v1.PodCondition{
```
2020-02-05 14:52:46 -05:00
Davanum Srinivas
f20e17e9dd
python snippets should work on both old and new python versions 2020-02-05 11:22:56 -05:00
Marek Siarkowicz
30989b648d Remove references to prometheus is test/e2e 2020-02-05 15:54:36 +01:00
Kubernetes Prow Robot
d90dd93855
Merge pull request #82111 from xieyanker/xieyanker-patch-2
remove stateCheckPeriod
2020-02-05 04:17:55 -08:00
Antonio Ojea
6dda7adaf5
kubeadm: dual-stack validation allow single stack
It turns out that the dual-stack feature enabled doesn't mean that
the cluster MUST be dual-stack, it only indicates that it MAY be
dual-stack but CAN be single-stack.

We should relax the validation to allow single-stack clusters
with dual-stack enabled.
2020-02-05 12:23:10 +01:00
shaloulcy
fa9ba80a67 validate storage cache indexers
Signed-off-by: shaloulcy <lcy041536@gmail.com>
2020-02-05 17:37:56 +08:00
Kubernetes Prow Robot
7e8f31b313
Merge pull request #87809 from mfojtik/kubectl-logs-preselect
kubectl: allow to preselect interesting container in logs
2020-02-05 01:09:20 -08:00
Kubernetes Prow Robot
e27245490e
Merge pull request #87793 from msau42/storageclass-name
Add an option to external storage e2es to use a copy of a pre-installed StorageClass
2020-02-05 01:09:06 -08:00
Kubernetes Prow Robot
85ffc9dbd7
Merge pull request #87791 from mikedanese/authexp
remove authn/z expansions
2020-02-05 01:08:48 -08:00
Kubernetes Prow Robot
23aa2e2f5c
Merge pull request #87786 from Jefftree/netproxy-logging
Save log files for network proxy
2020-02-05 01:08:35 -08:00
Kubernetes Prow Robot
8f5e8279f6
Merge pull request #87781 from caesarxuchao/fix-webhook-image-bugs
Only set admission review reponse patch type if the patch is not empty
2020-02-05 01:08:23 -08:00
Kubernetes Prow Robot
4601189105
Merge pull request #87761 from dims/ensure-specified-container-runtimes-are-present
Ensure specified container runtimes are present
2020-02-05 01:08:09 -08:00
Kubernetes Prow Robot
a6a5fc5764
Merge pull request #87760 from dims/update-network-y-stuff-for-supporting-ubuntu/bionic
update network-y stuff for supporting ubuntu/bionic
2020-02-05 01:07:56 -08:00
Sakura
b9a586e382
Fix non-ascii characters in test/e2e/node/pods.go
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-02-05 15:14:21 +08:00
Yuki Ueda
d1bc1875aa Move 'path' package usage to 'path/filepath' 2020-02-05 14:29:27 +09:00
Kubernetes Prow Robot
133f77247c
Merge pull request #87825 from kevtaylor/kep/VolumeSubpathExpansionE2ETests
Change HostPath to EmptyDir for VolumeSubpathEnvExpansion e2e tests
2020-02-04 20:45:55 -08:00
Harry Zhang
fc8a39d439 implement backoff manager 2020-02-04 14:23:15 -08:00
Monis Khan
9b23f22472
Make oidc authenticator audience agnostic
This change removes the audience logic from the oidc authenticator
and collapses it onto the same logic used by other audience unaware
authenticators.

oidc is audience unaware in the sense that it does not know or
understand the API server's audience.  As before, the authenticator
will continue to check that the token audience matches the
configured client ID.

The reasoning for this simplification is:

1. The previous code tries to make the client ID on the oidc token
a valid audience.  But by not returning any audience, the token is
not valid when used via token review on a server that is configured
to honor audiences (the token works against the Kube API because the
audience check is skipped).

2. It is unclear what functionality would be gained by allowing
token review to check the client ID as a valid audience.  It could
serve as a proxy to know that the token was honored by the oidc
authenticator, but that does not seem like a valid use case.

3. It has never been possible to use the client ID as an audience
with token review as it would have always failed the audience
intersection check.  Thus this change is backwards compatible.

It is strange that the oidc authenticator would be considered
audience unaware when oidc tokens have an audience claim, but from
the perspective of the Kube API (and for backwards compatibility),
these tokens are only valid for the API server's audience.

This change seems to be the least magical and most consistent way to
honor backwards compatibility and to allow oidc tokens to be used
via token review when audience support in enabled.

Signed-off-by: Monis Khan <mok@vmware.com>
2020-02-04 13:24:49 -08:00