Commit Graph

95340 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b835457c6e
Merge pull request #96220 from claudiubelu/test-images/experimental
test images: set DOCKER_CLI_EXPERIMENTAL=enabled
2020-11-04 13:26:03 -08:00
Kubernetes Prow Robot
cfc7887847
Merge pull request #96184 from ii/promote-replicationcontroller
Increasing withTimeout for ReplicationController Lifecycle test steps
2020-11-04 13:25:53 -08:00
Kubernetes Prow Robot
812aef32ce
Merge pull request #96179 from bbyrne5/RemoveServiceLoadBalancerFinalizer
Remove Service Load Balancer Feature Gate
2020-11-04 13:25:44 -08:00
Kubernetes Prow Robot
ff225efc10
Merge pull request #96095 from masap/local_up_cluster4
local-up-cluster.sh: Use config file instead of flags for kubelet
2020-11-04 13:25:30 -08:00
Kubernetes Prow Robot
48fa50fb5e
Merge pull request #95944 from wangyx1992/error-log-captialize
cleanup: fix some error log capitalization
2020-11-04 13:25:21 -08:00
Kubernetes Prow Robot
56c1be8317
Merge pull request #95603 from soltysh/api_extensions
Introduce api-extensions category in k8s apiserver
2020-11-04 13:25:07 -08:00
Kubernetes Prow Robot
583d01a9bf
Merge pull request #93293 from soltysh/loading_precedence
kubeconfig: add explicit path, if specified to loading precedence
2020-11-04 13:24:53 -08:00
Kubernetes Prow Robot
396b90f06c
Merge pull request #95371 from staebler/plumb_channel_into_filters
plumb channel for lifetime of filter watermarks
2020-11-04 11:44:52 -08:00
Kubernetes Prow Robot
6a3fd8f3d7
Merge pull request #96204 from knight42/fix/curl-bearer-token
fix: pass bearer token to curl using --header instead of --oauth2-bearer
2020-11-04 10:38:53 -08:00
knight42
00e4234cc9
fix: pass bearer token to curl using -H instead of --oauth2-bearer
The flag `--oauth2-bearer` might have no effect in some environment.

Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-05 01:15:19 +08:00
Kubernetes Prow Robot
3f6ec26eef
Merge pull request #96154 from rf232/update_klog
Update Klog dependency
2020-11-04 08:16:04 -08:00
staebler
6c9b866468 do not allow inflight watermark histograms to fall too far behind
The MaxInFlight and PriorityAndFairness apiserver filters maintain
watermarks with histogram metrics that are observed when requests
are handled. When a request is received, the watermark observer
needs to fill out observations for the entire time period since the
last request was received. If it has been a long time since a
request has been received, then it can take an inordinate amount of
time to fill out the observations, to the extent that the request
may time out. To combat this, these changes will have the filters
fill out the observations on a 10-second interval, so that the
observations never fall too far behind.

This follows a similar approach taken in
9e89b92a92.

https://github.com/kubernetes/kubernetes/issues/95300

The Priority-and-Fairness and Max-in-Flight filters start goroutines to
handle some maintenance tasks on the watermarks for those filters. Once
started, these goroutines run forever. Instead, the goroutines should
have a lifetime tied to the lifetime of the apiserver.

These changes move the functionality for starting the goroutines to
a PostStartHook. The goroutines have been changed to accept a stop channel
and only run until the stop channel is closed.
2020-11-04 11:00:44 -05:00
Kubernetes Prow Robot
9866d4303a
Merge pull request #96151 from warmchang/volumelimittype
Remove maximum volume limit comment which is easily outdated
2020-11-04 07:02:05 -08:00
Claudiu Belu
cf838ca180 test images: set DOCKER_CLI_EXPERIMENTAL=enabled
docker buildx requires DOCKER_CLI_EXPERIMENTAL=enabled to be set
in order to be used.

This environment variable is not getting plumbed through from the
test/images/cloudbuild.yaml file, causing the docker buildx commands
to fail.
2020-11-04 14:23:44 +00:00
William Zhang
a7919225e2 Remove maximum volume limit comment which is easily outdated. 2020-11-04 21:39:22 +08:00
Kubernetes Prow Robot
71fea80155
Merge pull request #92692 from Pingan2017/verify-controller-attach
fix bug for verify attached volume loop
2020-11-04 05:22:04 -08:00
Kubernetes Prow Robot
792b4b1e32
Merge pull request #94661 from PurelyApplied/PoC-bazel-analysis-rebased
[KEP-1933] Provide hack/ testing target for static analysis.
2020-11-04 01:58:03 -08:00
Kubernetes Prow Robot
739768d086
Merge pull request #93458 from ii/create-deployment-resource-lifecycle-test
Updated Create AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-11-04 01:08:04 -08:00
Kubernetes Prow Robot
e1909c70e2
Merge pull request #96194 from jayunit100/patch-15
Add a verbosity option to framework.exec
2020-11-04 00:14:12 -08:00
Kubernetes Prow Robot
89ba702d8a
Merge pull request #96144 from qinpingli/1893972
Bug 1893972: Skip the sig-storage e2e test as early as possible
2020-11-04 00:14:04 -08:00
Kubernetes Prow Robot
acc3910964
Merge pull request #95991 from serathius/datapolicy-kubeadm
Add datapolicy tags to cmd/kubeadm directory
2020-11-03 22:50:17 -08:00
Kubernetes Prow Robot
9108c430db
Merge pull request #95791 from floryut/update_nodelocaldns
Update nodelocaldns yaml to use 1.15.16 image
2020-11-03 22:50:03 -08:00
Kubernetes Prow Robot
e01b42dfc2
Merge pull request #96133 from jiahuif/feature/controller-manager/scheme-register
register scheme for controller-manager
2020-11-03 21:52:17 -08:00
Kubernetes Prow Robot
ced9d07478
Merge pull request #95174 from tsmetana/fix-openstack-pvlabeler-zone
Don't add empty AZ labels to OpenStack pre-provisioned PVs
2020-11-03 21:52:03 -08:00
Kubernetes Prow Robot
1ba27096ae
Merge pull request #96058 from verb/1.20-cli-debug-image-mutations
Add tests and set-image option to kubectl debug
2020-11-03 20:04:17 -08:00
Kubernetes Prow Robot
c40c88219e
Merge pull request #95980 from qingsenLi/k8s201029
CHANGELOG: Fix kubectl debug KEP link
2020-11-03 20:04:03 -08:00
Kubernetes Prow Robot
e54448a307
Merge pull request #96116 from DP19/add-e2e-test-for-external-ips
add e2e test for Service ExternalIPs
2020-11-03 17:04:17 -08:00
Kubernetes Prow Robot
e25f3d75b8
Merge pull request #95065 from JornShen/replace_restarting_kas_kp_e2e_network_provider
refector service some e2e cases to make it runing in multi providers
2020-11-03 17:04:03 -08:00
Kubernetes Prow Robot
941e9242a5
Merge pull request #96128 from MHBauer/node-e2e-partial-fix
reenable e2e_node services & debugging improvements
2020-11-03 14:58:17 -08:00
Kubernetes Prow Robot
b00665c61b
Merge pull request #96073 from masap/local_up_cluster3
local-up-cluster.sh: Remove ineffective parameters
2020-11-03 14:58:04 -08:00
Masashi Honma
29c9fb6102 local-up-cluster.sh: Use config file instead of flags for kubelet
Because /tmp/kubelet.log shows trailing log twice.

Flag --address has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --rotate-certificates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --feature-gates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cpu-cfs-quota has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --enable-controller-attach-detach has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroups-per-qos has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-root has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-hard has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-soft has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-pressure-transition-period has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authentication-token-webhook has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --runtime-request-timeout has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --port has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
2020-11-04 07:42:31 +09:00
jay vyas
38e49e0e0f Add a verbosity option to exec
Exec is a utility function but, if you call it and are already planning to either suppress or print the exec command before hand, its ability to log can be redundant or a hinderance on test readability
2020-11-03 17:20:48 -05:00
Kubernetes Prow Robot
7e1f4a9fa3
Merge pull request #95831 from cpanato/fix-test-flaky
use patch instead of replace to test the dry-run option
2020-11-03 13:28:03 -08:00
Patrick Rhomberg
90b85bf3fa KEP-1933: add static analysis target to hack/
* Add static analysis to hack/verify-govet-levee.sh for defense against
accidental logging of credentials.
* Add binary dependency to hack/tools/tools.go and associated go.mod, go.sum.
* Add analysis configuration to hack/testdata/levee/
2020-11-03 20:03:26 +00:00
Lee Verberne
ee9f11b95f kubectl debug: Allow mutating image names 2020-11-03 20:58:41 +01:00
Hippie Hacker
6d08d1681f Increasing withTimeout for ReplicationController Lifecycle test steps 2020-11-04 08:50:35 +13:00
Kubernetes Prow Robot
1c403c311e
Merge pull request #95453 from danwinship/egress-networkpolicy-tests
Don't depend on DNS in NetworkPolicy tests
2020-11-03 11:44:04 -08:00
Rob Franken
c6685436fd Update Klog dependency
Updating Klog to pickup changes needed for log sanitization.

(https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/1753-logs-sanitization)
2020-11-03 20:16:25 +01:00
Brian Byrne
5fe43caddb Remove service load balancer feature gate 2020-11-03 13:56:16 -05:00
Morgan Bauer
9b8c1dcd19
reenable e2e_node services & debugging improvements
- re-enable e2e_node services
 - call GenerateSecureToken for e2e_node Conformance test-suite
 - add log messages indicating location in process
 - move log messages to some more accurate locations
2020-11-03 10:09:56 -08:00
Kubernetes Prow Robot
ac996a37f6
Merge pull request #96126 from alculquicondor/parse-preferred-node-aff
Add runtime representation of []v1.PreferredSchedulingTerm
2020-11-03 09:38:17 -08:00
Kubernetes Prow Robot
e9cfb34b8f
Merge pull request #95995 from serathius/datapolicy-legacy-cloud-providers
Add datapolicy tags to  staging/src/k8s.io/legacy-cloud-providers
2020-11-03 09:38:03 -08:00
Kubernetes Prow Robot
c82d5ee048
Merge pull request #96145 from ingvagabund/move-pkg-kubectl-cmd-auth-under-kubectl-staging
Move pkg/kubectl/cmd/auth under staging/src/k8s.io/kubectl/pkg/cmd/auth
2020-11-03 08:06:16 -08:00
Aldo Culquicondor
d572249d30 Add runtime representation of []v1.PreferredSchedulingTerm
to be used for repeatedly scoring nodes.

Change-Id: Ib1a0866979ce6cf75d1d9668c4bf8f6fb57298b2
2020-11-03 10:21:31 -05:00
Jan Chaloupka
d3726b91e2 Move pkg/kubectl/cmd/auth under staging/src/k8s.io/kubectl/pkg/cmd/auth 2020-11-03 15:34:28 +01:00
Kubernetes Prow Robot
f7cfe3ba0f
Merge pull request #95076 from dougsland/deprecate-delete-local-data
kubectl: deprecate --delete-local-data
2020-11-03 05:50:15 -08:00
Carlos Panato
a9ff313c5b
use patch instead of replace to test the dry-run option 2020-11-03 14:27:16 +01:00
Anago GCB
5beb14f045 CHANGELOG: Update directory for v1.20.0-beta.1 release 2020-11-03 11:27:09 +00:00
Kubernetes Prow Robot
cd99c63570
Merge pull request #95933 from brianpursley/kubernetes-95882
Fix bug in JSON path parser where an error occurs when a range is empty
2020-11-03 01:26:15 -08:00
Qin Ping
2c1ede513d Skip the sig-storage e2e test as early as possible 2020-11-03 08:50:25 +00:00