Clayton Coleman
d0daa1082f
Correct benchmarks for unstructured, show json-iter
...
The unstructured benchmarks incorrectly charged setup of objects to the benchmark.
Split each, and add comparison to json iter.
```
BenchmarkToUnstructured-12 30000 49716 ns/op 15358 B/op 221 allocs/op
BenchmarkFromUnstructured-12 30000 53585 ns/op 7773 B/op 185 allocs/op
BenchmarkToUnstructuredViaJSON-12 30000 53716 ns/op 22609 B/op 323 allocs/op
BenchmarkFromUnstructuredViaJSON-12 10000 121007 ns/op 29601 B/op 438 allocs/op
BenchmarkToUnstructuredViaJSONIter/compat-12 30000 57796 ns/op 27685 B/op 431 allocs/op
BenchmarkToUnstructuredViaJSONIter/default-12 30000 51114 ns/op 20377 B/op 415 allocs/op
BenchmarkToUnstructuredViaJSONIter/fastest-12 30000 48521 ns/op 20103 B/op 405 allocs/op
BenchmarkFromUnstructuredViaJSONIter/compat-12 20000 83389 ns/op 48777 B/op 591 allocs/op
BenchmarkFromUnstructuredViaJSONIter/default-12 30000 42717 ns/op 13439 B/op 291 allocs/op
BenchmarkFromUnstructuredViaJSONIter/fastest-12 50000 35102 ns/op 12070 B/op 203 allocs/op
```
2019-02-14 12:45:30 -05:00
Arik Hadas
c3a533e5b2
Cleanup in topology.go
...
1. Find the minimal thread number within a core using a
single loop rather than by sorting the thread numbers.
2. Inline getUniqueCoreID#err and Discover#numCPUs variables.
3. Narrow the scope of Discover#coreID and Discover#err variables.
Signed-off-by: Arik Hadas <ahadas@redhat.com >
2019-02-14 16:55:37 +02:00
mattjmcnaughton
41f05222e1
Clarify NetworkPolicy policyTypes in docs
...
Update the NetWorkPolicy `policyTypes` definition in the spec documentation so its
clear there are only three options: "Ingress", "Egress", and
"Ingress,Egress".
2019-02-14 09:28:50 -05:00
andyzhangx
660813c2d1
fix smb remount issue on Windows
...
add comments for doSMBMount func
fix comments about smb mount
2019-02-14 14:19:24 +00:00
Davanum Srinivas
8fa332cce3
Ensure prometheus metrics are not registered twice
...
Change-Id: I0f05fae65689b1e22c18d2c46dc5125780e81024
2019-02-14 09:01:14 -05:00
Kubernetes Prow Robot
120bcd7ddd
Merge pull request #73787 from soltysh/deprecate_export
...
Deprecate --export flag from get command
2019-02-14 05:18:24 -08:00
Maciej Szulik
22a3f6de5e
Add missing VisitArbitrary methods in kubectl explain
2019-02-14 13:06:20 +01:00
Lantao Liu
de8ee94d14
Stop container in unknown state before recreate or remove.
2019-02-14 02:31:17 -08:00
Dr. Stefan Schimanski
af17cff6b0
kube-aggregator: rename New{Auto -> CRD}RegistrationController
2019-02-14 10:21:13 +01:00
Kubernetes Prow Robot
d8f0146138
Merge pull request #72214 from caesarxuchao/move-discovery
...
Move cached discovery clients to their own packages
2019-02-13 23:07:00 -08:00
Ted Yu
4031900c0c
fix variable name
2019-02-13 19:46:18 -08:00
Andrew Kim
a82481ff21
update import restrictions for pkg/cloudprovider/providers
2019-02-13 21:46:44 -05:00
Nguyen Quang Huy
7c923b64d8
Fix error collides with imported package name
...
Fix error collides with imported package name for plugins.go
- Fix variable 'preds' collides with imported package name
- Fix warning in initializing variables, error string log be capitalized
2019-02-14 09:17:54 +07:00
Yu-Ju Hong
5fd27c38da
Move beta OS/Arch labels back to the kubelet package
...
These labels are being deprecated
2019-02-13 18:09:49 -08:00
Kubernetes Prow Robot
a3877b1776
Merge pull request #73895 from WanLinghao/context_util_clean
...
Clean unused code in pkg/securitycontext/util.go
2019-02-13 17:31:54 -08:00
Kubernetes Prow Robot
d457fb7771
Merge pull request #73869 from grayluck/no-cluster-cidr-validation
...
Skip validation for clusterCIDR in node ipam controller.
2019-02-13 17:31:44 -08:00
Kubernetes Prow Robot
888ff4097a
Merge pull request #73651 from RobertKrawitz/node_pids_limit
...
Support total process ID limiting for nodes
2019-02-13 17:31:18 -08:00
danielqsj
23be9587a0
fix the disruption-recheck metrics register error
2019-02-14 09:15:44 +08:00
Ted Yu
a346460c08
Reduce unnecessary Map in node_controller#nodeAddressesChangeDetected
2019-02-13 16:16:15 -08:00
Kubernetes Prow Robot
400502577c
Merge pull request #73894 from smarterclayton/event_involved
...
Print the involved object in the event table as resource/name
2019-02-13 14:31:50 -08:00
Ed Bartosh
09a2e49a94
kubeadm: fix RequiredIPVSKernelModulesAvailable warning message
...
RequiredIPVSKernelModulesAvailable warning confuses users suggesting
that the IPVS proxier will not be used, which is not always the case.
Made the warning message less confusing:
[WARNING RequiredIPVSKernelModulesAvailable]:
The IPVS proxier may not be used because the following required kernel
modules are not loaded: [ip_vs_rr ip_vs_wrr ip_vs_sh]
or no builtin kernel ipvs support was found: map[ip_vs_wrr:{}
ip_vs_sh:{} nf_conntrack_ipv4:{} ip_vs:{} ip_vs_rr:{}].
However, these modules may be loaded automatically by kube-proxy for you
if they are available on your system.
To verify IPVS support:
Run "lsmod | grep 'ip_vs\|nf_conntrack'" and verify each of the above
modules are listed.
If they are not listed, you can use the following methods to load them:
1. For each missing module run 'modprobe $modulename' (e.g., 'modprobe
ip_vs', 'modprobe ip_vs_rr', ...)
2. If 'modprobe $modulename' returns an error, you will need to install
the missing module support for your kernel.
Fixes : kubernetes/kubeadm#975
2019-02-13 22:54:34 +02:00
yankaiz
7379ad5ae2
Skip validation for clusterCIDR in node ipam controller.
...
clusterCIDR is passed down from kube_env CLUSTER_IP_RANGE to the flag --cluster-cidr.
We plan not to let GKE to pass down CLUSTER_IP_RANGE to kube-env for the master node.
2019-02-13 12:13:33 -08:00
Robert Krawitz
2597a1d97e
Implement SupportNodePidsLimit, hand-tested
2019-02-13 14:56:17 -05:00
Pavithra Ramesh
24d3ab83dc
Remove conntrack entries from loadbalancer ip too.
2019-02-13 09:55:31 -08:00
Jan Safranek
662b683de4
Fix reconstruction of FC volumes
...
It should reconstruct all WWNs or WWIDs instead of just the first one.
On-disk directory name format had to be changed to contain all WWNs/WWIDs.
2019-02-13 14:57:16 +01:00
Kubernetes Prow Robot
5c660f83b6
Merge pull request #74004 from mm4tt/kube-proxy-log
...
Don't log warning when EndpointsLastChangeTriggerTime not set.
2019-02-13 03:05:39 -08:00
Kubernetes Prow Robot
289a60ad71
Merge pull request #72709 from changyaowei/pleg_relist
...
When pleg channel is full, discard events and record its count
2019-02-13 01:44:48 -08:00
changyaowei
19f73899fc
modify test case
2019-02-13 16:27:15 +08:00
Matt Matejczyk
fce1909483
Don't log warning when EndpointsLastChangeTriggerTime not set.
2019-02-13 09:11:59 +01:00
Kubernetes Prow Robot
a92729a301
Merge pull request #64820 from WanLinghao/ctl_selfsubjectrulesreview_support
...
Add `kubectl auth can-i --list` option which could help users know what actions they can do in specific namespace
2019-02-12 23:22:23 -08:00
Kubernetes Prow Robot
19e57c616c
Merge pull request #73892 from smarterclayton/fix_container_message
...
Make container create, start, and stop events consistent
2019-02-12 20:01:36 -08:00
Kubernetes Prow Robot
2aedcbc7ca
Merge pull request #73761 from andrewsykim/remove-cloud-provider-volume-deps
...
remove cloud provider dependencies to pkg/volume
2019-02-12 18:45:24 -08:00
Kubernetes Prow Robot
ce4fd07b06
Merge pull request #71564 from liggitt/reconcile-details
...
Improve reconcile output to explain what changes are being made
2019-02-12 18:45:13 -08:00
Kubernetes Prow Robot
29638dd68f
Merge pull request #67746 from WanLinghao/show-all-remove
...
Clean deprecated `ShowAll` variable in PrintOptions
2019-02-12 18:45:02 -08:00
Kubernetes Prow Robot
a684bd5eb1
Merge pull request #73556 from msau42/triage-72931
...
Mark volume as in use even when node status didn't change
2019-02-12 17:29:05 -08:00
Kubernetes Prow Robot
727dd667d6
Merge pull request #73949 from xichengliudui/fixerrornote
...
Fix function comment to consistent with its name
2019-02-12 15:11:08 -08:00
Kubernetes Prow Robot
66149bd61d
Merge pull request #73033 from Liujingfang1/kustomizeSubcommand
...
add kustomize as a subcommand in kubectl
2019-02-12 15:10:36 -08:00
Chao Xu
1f2e2e61cf
generated
2019-02-12 15:04:57 -08:00
Minhan Xia
299fa607c0
record event on endpoint update failure
2019-02-12 13:56:20 -08:00
Michelle Au
80a2698a02
Add unit tests for volumesinuse during node status update
2019-02-12 13:46:30 -08:00
Michelle Au
62f874b19b
Mark volume as in use even when node status didn't change
2019-02-12 13:46:29 -08:00
Chao Xu
3f21ca029a
changing imports
2019-02-12 10:06:04 -08:00
xichengliudui
4c42d542dc
Fix golint failures
...
update pull request
update pull request
2019-02-12 13:01:49 -05:00
xichengliudui
a89ee493dd
Fix golint failures on cmd/apis/extensions/...
2019-02-12 12:39:48 -05:00
xichengliudui
d1d54f81ec
update pull request
...
update pull request
2019-02-12 12:13:19 -05:00
Kubernetes Prow Robot
64ce2e598f
Merge pull request #73345 from sttts/sttts-speedup-cache-miss-kubectl
...
discovery: speedup kubectl restmapper cache misses by a two-digit factor
2019-02-12 08:00:03 -08:00
Ryan Phillips
4000ef006c
kubelet: upgrade sourceFile to use fsnotify
...
Mitigate some flakes for deleted watch directories and use the
maintained fsnotify package.
2019-02-12 08:00:56 -06:00
Dr. Stefan Schimanski
618050e35d
client-go: extend discovery intf with ServerGroupsAndResources
2019-02-12 14:28:19 +01:00
Kubernetes Prow Robot
ace0bde081
Merge pull request #73943 from bsalamat/fix_race
...
Fix races in scheduling queue tests
2019-02-12 05:21:50 -08:00
Kubernetes Prow Robot
41d2445f8e
Merge pull request #71999 from mm4tt/kube-proxy
...
Start exporting the in-cluster network programming latency metric.
2019-02-12 05:21:29 -08:00