Commit Graph

84491 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
7cc611b7e0
Merge pull request #83283 from RainbowMango/pr_migrate_etcd_version_monitor_to_metrics
Migrate etcd version monitor to metrics stability framework
2019-10-15 23:04:24 -07:00
Kubernetes Prow Robot
30ba9f6548
Merge pull request #83206 from robscott/endpointslice-proxy-endpointchange-perf
Reworking kube-proxy to only compute endpointChanges on apply
2019-10-15 23:04:10 -07:00
Kubernetes Prow Robot
d160c68aa4
Merge pull request #83978 from mikedanese/fuzz
add fuzzing targets for sig-yaml and yaml.v2
2019-10-15 21:10:07 -07:00
Sean Sullivan
30d8a93768 Cleanup printer test package.
Updates internalversion BUILD file dependencies

Removes pkg/printers/internalversion from staticcheck failures
2019-10-15 18:13:00 -07:00
Sean Sullivan
cc56738a9e Removes unnecessary/irrelevant tests
Remove test TestPrintPodTable

Removes test TestPrintPodShowLabels
2019-10-15 17:54:36 -07:00
Sean Sullivan
6ced323a94 Adds missing tests.
Added test TestPrintEvent()

Added test TestPrintNamespace()

Added test TestPrintSecret()

Added test TestPrintServiceAccount()

Added test TestPrintPodCondition()

Added test TestPrintDaemonSetLists

Added test TestPrintJobList

Added test TestPrintPodDisruptionBudgetList

Adds test TestPrintConfigMap

Adds test TestPrintNetworkPolicy

Adds tests TestPrintRoleBinding and TestPrintClusterRoleBinding

Adds test TestPrintCertificateSigningRequest

Adds test TestPrintEndpoint

Adds test TestPrintReplicaSetList

Adds test TestPrintComponentStatus

Adds test TestPrintCronJobList

Adds test TestPrintPodTemplate

Adds test TestPrintPodTemplateList

Adds test TestPrintReplicationController

Adds test TestPrintServiceList

Adds test TestPrintStatefulSet
2019-10-15 17:52:06 -07:00
Sean Sullivan
cd4349ffbd Updates tests to expect metav1.TableRows instead of string, since this is what the "print" functions return.
Updated test TestPrintNodeStatus() to not use NewTableGenerator or NewTablePrinter

Updated test TestPrintNodeRode() to not use NewTableGenerator or NewTablePrinter

Updated test TestPrintNodeOSImage() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeKernelVersion() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeContainerRuntimeVersion() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeName() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeExternalIP() to remove NewTableGenerator and NewTablePrinter

Updated test TestPrintNodeInternalIP() to remove NewTableGenerator and NewTablePrinter

Updated ingress printing test to TestPrintIngress()

Updated test TestPrintService() to remove NewTableGenerator and NewTablePrinter

Updated test to TestPrintServiceLoadBalancer, removing NewTableGenerator and NewTablePrinter

Updated test TestPrintNonTerminatedPod() to remove NewTableGenerator

Updates test TestPrintDeployment() removing NewTableGenerator and NewTablePrinter

Updated test TestPrintDaemonSet(), removing NewTableGenerator and NewTablePrinter

Updated test TestPrintJob, removing NewTableGenerator and NewTablePrinter

Updates test TestPrintHPA(), removing NewTableGenerator and NewTablePrinter

Updated test TestPrintPodDisruptionBudget(), removing NewTableGenerator and NewTablePrinter

Updated test TestPrintControllerRevision(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintLease, removing NewTableGenerator and NewTablePrinter

Updates test TestPrintPriorityClass(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintRuntimeClass(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintEndpointSlice(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintReplicaSet(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintPersistentVolume(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintPersistentVolumneClaim(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintCronJob(), removing NewTableGenerator and NewTablePrinter

Updates test TestPrintStorageClass(), removing NewTableGenerator and NewTablePrinter
2019-10-15 17:44:28 -07:00
Sean Sullivan
3e7d8bc64e Moves tangential tests into another file. 2019-10-15 17:43:41 -07:00
Mike Danese
647d6582bf add fuzzing targets for sig-yaml and yaml.v2
This is in prepration to add continous fuzzing of various targets via
https://github.com/google/oss-fuzz.
2019-10-16 00:40:50 +00:00
Tim Pepper
5e3d82b432 Amend CHANGELOG-1.16.md for v1.16.2
Bugs have been exposed which lead the release notes generator to
not generating a summary of release note stanzas from merged PRs.
Included here are the _minimum_ of what should have been recorded
for 1.16.2.  Other releases' notes are likely still missing.

Signed-off-by: Tim Pepper <tpepper@vmware.com>
2019-10-15 16:40:36 -07:00
Kubernetes Prow Robot
0a08798b9a
Merge pull request #75588 from smileusd/rbd_info
fix rbd info when return warning information
2019-10-15 16:32:09 -07:00
Rob Scott
8e7de45034
Reworking kube-proxy to only compute endpointChanges on apply.
Computing EndpointChanges is a relatively expensive operation for
kube-proxy when Endpoint Slices are used. This had been computed on
every EndpointSlice update which became quite inefficient at high levels
of scale when multiple EndpointSlice update events would be triggered
before a syncProxyRules call.

Profiling results showed that computing this on each update could
consume ~80% of total kube-proxy CPU utilization at high levels of
scale. This change reduced that to as little as 3% of total kube-proxy
utilization at high levels of scale.

It's worth noting that the difference is minimal when there is a 1:1
relationship between EndpointSlice updates and proxier syncs. This is
primarily beneficial when there are many EndpointSlice updates between
proxier sync loops.
2019-10-15 16:31:12 -07:00
David Huh
90862aaf3f Updated COS version to M77 2019-10-15 22:23:53 +00:00
Jordan Liggitt
2563c04158 Fix proto.Merge of IntOrString type 2019-10-15 17:39:55 -04:00
Anago GCB
6b63df2dc4 Update CHANGELOG-1.16.md for v1.16.2. 2019-10-15 20:54:46 +00:00
Joe Betz
1db282bb3e Bump bbolt to v1.3.3 2019-10-15 13:38:16 -07:00
Ted Yu
240546cb7f Remove update-storage-objects.sh 2019-10-15 13:13:19 -07:00
Anago GCB
2c0b4b8e29 Update CHANGELOG-1.15.md for v1.15.5. 2019-10-15 20:03:47 +00:00
Kubernetes Prow Robot
cb3b715de2
Merge pull request #83804 from jpbetz/etcd-3_3_17_server
Upgrade to etcd server 3.3.17
2019-10-15 12:50:09 -07:00
Anago GCB
f1bb6089ce Update CHANGELOG-1.13.md for v1.13.12. 2019-10-15 17:44:00 +00:00
Anago GCB
4689c3707b Update CHANGELOG-1.14.md for v1.14.8. 2019-10-15 17:29:04 +00:00
Kubernetes Prow Robot
2b21f087eb
Merge pull request #83780 from krzysied/nc_pod_pointers
Using pointers to pod in node lifecycle controller
2019-10-15 09:13:53 -07:00
Kubernetes Prow Robot
245189b8a1
Merge pull request #83747 from JohnStrunk/csi-fsgroup-fix
Improve efficiency of csiMountMgr.GetAttributes
2019-10-15 07:11:52 -07:00
zouyee
65ddf102ef add tombstoones handle for pdb
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-15 22:02:18 +08:00
Ed Bartosh
3dedaf440b kubeadm: use strings in TestTokenOutput
Used strings instead of bytes in the TestTokenOutput test cases as
expected output is a plain text.
This should also simplify the data representation and the test code
a bit.
2019-10-15 16:32:05 +03:00
Michael Morello
f9c3d246d3 Fix memory and timer leak in work queue 2019-10-15 15:04:32 +02:00
Sascha Grunert
3050dc737b
Add crictl windows binaries to workspace
The windows binaries for as well as the 32bit linux binary was missing
from the workspace, which has been added now.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-10-15 14:12:24 +02:00
Jan Safranek
7c240a18b6 Disable local block volume reconstruction test
Quite hacky, hoping to fix the volume plugin soon.
2019-10-15 13:59:36 +02:00
ialidzhikov
b3dcbbf98c Rename dashboard-controller.yaml to dashboard-deployment.yaml
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-15 13:55:06 +03:00
Anago GCB
1679bed803 Update CHANGELOG-1.17.md for v1.17.0-alpha.2. 2019-10-15 10:25:03 +00:00
Kubernetes Prow Robot
184769bd5e
Merge pull request #83278 from RainbowMango/pr_remove_direct_reference_to_prometheus_from_aws
Remove direct reference to prometheus from aws
2019-10-15 01:15:52 -07:00
Kubernetes Prow Robot
39929d82d0
Merge pull request #76471 from m1kola/prefix_logs
Adds --prefix flag to the kubectl log command
2019-10-14 23:11:52 -07:00
draveness
e5a23f8dda fix: scheduler perf test with pod informer 2019-10-15 13:54:45 +08:00
Kubernetes Prow Robot
46a29a0cc3
Merge pull request #71674 from grayluck/firewall-event-msg
Change XPN firewall change msg. Should be required by security admin
2019-10-14 21:09:51 -07:00
zhouya0
726dccc6bb fix kubectl delete semantic error 2019-10-15 11:40:10 +08:00
louisgong
9b7b50c9da remove duplicate function 2019-10-15 09:41:30 +08:00
Kubernetes Prow Robot
63bd1d7a5c
Merge pull request #80725 from aramase/dualstack-phase2-e2e
E2E tests for dualstack phase2
2019-10-14 17:45:51 -07:00
Cong Liu
da30a00f9a Add metrics for scheduler framework. 2019-10-14 20:26:03 -04:00
Javier Pérez Hernández
6df84554fc release: lib: revert docker_registry to constant k8s.gcr.io 2019-10-14 15:51:23 -07:00
Kubernetes Prow Robot
aafbb93fe2
Merge pull request #83859 from mrbobbytables/update-storage-owners
Prune inactive owners from pkg/volume/* OWNERS files.
2019-10-14 15:41:50 -07:00
Monis Khan
9a547bca8e
Hash keys used in cached token authenticator
It is possible to configure the token cache to cache failures.  We
allow 1 MB of headers per request, meaning a malicious actor could
cause the cache to use a large amount of memory by filling it with
large invalid tokens.  This change hashes the token before using it
as a key.  Measures have been taken to prevent precomputation
attacks.  SHA 256 is used as the hash to prevent collisions.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2019-10-14 18:34:34 -04:00
Abdullah Gharaibeh
e073e56095 move scheduler cache ListNodes interface to snapshot 2019-10-14 17:47:42 -04:00
matte21
9e4be54895 Remove check causing informers to miss notifications
Fix DeltaFIFO bug that caused the sync delta created by a relist
for object ID X to be dropped if the DeltaFIFO already stored a
Delete delta for X. This caused SharedIndexInformer to miss create
notifications. Also, add unit test to expose the bug.
2019-10-14 22:53:27 +02:00
Casey Davenport
07df7717a5 Update Calico to v3.8.3 2019-10-14 13:49:21 -07:00
Kubernetes Prow Robot
34db57b007
Merge pull request #83858 from mrbobbytables/update-apiserver-owners
Prune inactive reviewers from staging/src/k8s.io/apiserver/* OWNERS files.
2019-10-14 11:00:11 -07:00
Shintaro Murakami
a86634bc17 Support dynamically set log level for kube-scheduler 2019-10-15 01:32:41 +09:00
Kubernetes Prow Robot
29a2b20194
Merge pull request #83860 from mrbobbytables/update-credential-provider-owners
Prune inactive owners from pkg/credentialprovider/* OWNERS files.
2019-10-14 09:32:36 -07:00
Aleksandra Gacek
e70d0e25ea bump metrics server version o v0.3.6 2019-10-14 16:43:26 +02:00
Kubernetes Prow Robot
f7992c7a21
Merge pull request #83678 from RainbowMango/pr_remove_prometheus_reference_from_storage
Remove prometheus reference from storage
2019-10-14 07:18:36 -07:00
Mikalai Radchuk
8cadd185d6 Adds --prefix flag to the kubectl log command 2019-10-14 15:13:12 +01:00