Lee Verberne
30262e9b14
Remove alpha from kubectl debug
2020-11-04 17:45:28 +01: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
Obeyda Djeffal
20da5a9d8e
Update staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding_test.go
...
Co-authored-by: Jian Zeng <anonymousknight96@gmail.com>
2020-11-04 11:51:27 +01: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
Obeyda Djeffal
1e0bbe61ae
replace string casting with fmt.sprintf in test
...
in: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding_test.go
test: TestCreateRoleBinding
On go version 1.15.3, casting int to string using `string(int)` causes
the test to fail with this error:
>> k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd/create
vendor/k8s.io/kubectl/pkg/cmd/create/create_rolebinding_test.go:75:9:
conversion from int to string yields a string of one rune, not a
string of digits (did you mean fmt.Sprint(x)?)
FAIL k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd/create
[build failed]
FAIL
make: *** [Makefile:185: test] Error 1
2020-11-04 09:54:21 +01:00
jornshen
db53ca01da
change plugin name in fsgroupapplymetrics of csi and flexvolume to
...
distinguish different driver
2020-11-04 16:28:28 +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
Claudiu Belu
5de5ae6bd3
test images: sets HOME=/root in cloudbuild.yaml
...
The default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
We need to set the Home to /root explicitly since we're using docker buildx
2020-11-03 22:19:18 -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
Sascha Grunert
7b9d7fd953
Propose seccomp/apparmor protobuf type definitions for CRI graduation
...
With the graduation of the Container Runtime Interface (CRI) we will
have a unique chance to change the protobuf protocol. We now use native
types for seccomp and AppArmor to make the API more clear and concise to
be used.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-11-03 20:17:17 +01: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
Qiutong Song
a59a6b984f
fix CPU time of pod stats with cs.CPU.Time
...
Signed-off-by: Qiutong Song <songqt01@gmail.com>
2020-11-03 09:29:18 +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
Kubernetes Prow Robot
a69a4a4bf0
Merge pull request #95961 from KnicKnic/set_condition
...
SetCondtion updates generation
2020-11-02 23:16:15 -08:00
Lee Verberne
3cfcf3a74f
kubectl debug: add tests for Complete,Validate
2020-11-03 07:03:52 +01:00
Kubernetes Prow Robot
f0dfa55de5
Merge pull request #90675 from bamarni/kubectl-config-delete-context-completion
...
Enable completion for `kubectl config delete-context`
2020-11-02 20:24:14 -08:00