Nguyen Hai Truong
34961dc16c
trivial fix typo: resouce -> resource
...
Although it is spelling mistakes, it might make an affects while reading.
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-15 02:05:28 -08:00
Kubernetes Prow Robot
9f3b4b588d
Merge pull request #70521 from wenjun93/test
...
minor fix type missing
2019-02-15 01:36:29 -08:00
Subramanian Neelakantan
ba9a9cf7c3
Applies zone labels to newly created vsphere volumes
2019-02-15 15:06:01 +05:30
Kubernetes Prow Robot
c90bf8d8ea
Merge pull request #74062 from trungnvfet/fix_json_format
...
Fix an issue of yaml and json format
2019-02-14 23:56:00 -08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Kubernetes Prow Robot
bf20886f4e
Merge pull request #73990 from xichengliudui/fixlinterror
...
Fix golint failures pkg/kubelet/util/cache
2019-02-14 22:43:15 -08:00
Kubernetes Prow Robot
60943a7a08
Merge pull request #69830 from davidz627/feature/csiTranslationMigration
...
In-Tree to CSI Migration logic for PersistentVolume Attach/Detach
2019-02-14 22:43:05 -08:00
Pengfei Ni
0d03672e02
Revert "Add network stats for windows node"
...
This reverts commit f9fa1c6a38
.
2019-02-15 12:20:41 +08:00
Pengfei Ni
2449b0997c
Revert "Add network stats for Windows containers"
...
This reverts commit 9cf38de44b
.
2019-02-15 12:20:23 +08:00
Kubernetes Prow Robot
49e83f8998
Merge pull request #73996 from andrewsykim/update-cloud-provider-deps
...
update import restrictions for pkg/cloudprovider/providers
2019-02-14 19:27:42 -08:00
Nguyen Van Trung
d5d7db476d
fix an issue of yaml and json format
...
Signed-off-by: Nguyen Van Trung <trungnv@vn.fujitsu.com>
2019-02-15 09:55:53 +07:00
David Zhu
5dde1df1cd
Migration shim logic for Persistent Volumes for Attach/Detach
2019-02-14 17:04:23 -08:00
Kubernetes Prow Robot
6a9902deee
Merge pull request #73802 from Random-Liu/handle-unknown-state
...
Stop container in unknown state before recreate or remove.
2019-02-14 15:50:12 -08:00
Kubernetes Prow Robot
1b8c8f1daf
Merge pull request #73831 from jennybuckley/apply-create-service
...
Honor forceAllowCreate in service registry
2019-02-14 13:59:44 -08:00
Kubernetes Prow Robot
cc09bd971a
Merge pull request #74029 from soltysh/explain_nil2
...
Add missing VisitArbitrary methods in kubectl explain
2019-02-14 10:25:59 -08:00
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
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
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
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
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
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
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
xichengliudui
5aa58efe07
Fix golint failures
...
update pull request
2019-02-12 07:14:57 -05:00
Matt Matejczyk
7141ece4bf
Start exporting the in-cluster network programming latency metric.
2019-02-12 08:09:59 +01:00
Kubernetes Prow Robot
0480214903
Merge pull request #73804 from Random-Liu/remove-unused-functions
...
Remove unused function from the legacy runtime interface.
2019-02-11 22:56:00 -08:00
xichengliudui
5dd26ecab5
Fix function comment to consistent with its name
...
update pull request
update pull request
2019-02-12 01:37:20 -05:00
Kubernetes Prow Robot
c2d88db834
Merge pull request #73582 from AdamDang/patch-24
...
Improve the ipvs/README.md
2019-02-11 19:58:19 -08:00
Kubernetes Prow Robot
c9964aa519
Merge pull request #73342 from szuecs/fix/period-not-reset-if-gate-not-set
...
cpuPeriod was not reset
2019-02-11 19:58:07 -08:00
danielqsj
713925bf3e
decrease the level of the warning log in volume plugins
2019-02-12 09:43:43 +08:00
Kubernetes Prow Robot
0ae81c986a
Merge pull request #67678 from caesarxuchao/remove-storage-versions-flag
...
Remove storage versions flag
2019-02-11 17:40:27 -08:00
Jingfang Liu
8d6ab20753
add kustomize as a subcommand in kubectl
2019-02-11 16:43:57 -08:00
Bobby (Babak) Salamat
ec0739bd03
Fix races in scheduling queue tests
2019-02-11 16:38:26 -08:00
Kubernetes Prow Robot
ee734d0543
Merge pull request #73932 from dims/cleanup-unnecessary-packages-from-import-restrictions
...
Remove unnecessary prefixes from various .import-restrictions files
2019-02-11 16:24:17 -08:00
Kubernetes Prow Robot
126bb3b8ec
Merge pull request #67630 from houjun41544/20180820
...
Check for pvcVolume with IsOperationPending() before markPVCResizeInProgress()
2019-02-11 16:24:06 -08:00
Davanum Srinivas
1d430a4a73
Remove unnecessary prefixes from various .import-restrictions files
...
Found using script:
https://gist.github.com/dims/384dea60754042f61d79233603034038
Just run using:
`find . -name .import-restrictions | xargs python ~/junk/sanitize-import-boss.py`
The removed entries are either packages that got moved/renamed/deleted
but are still not cleaned up from .import-restrictions files.
Change-Id: I92c400f74e6f012cc75539311ed4de280e25e918
2019-02-11 16:47:28 -05:00
Yu-Ju Hong
04575f01b0
kubelet: promote OS & arch labels to GA
...
kubelet now applies both the beta and the GA labels to ensure backward
compatibility.
2019-02-11 11:24:58 -08:00
Jennifer Buckley
1a5e48e29d
Honor forceAllowCreate in service registry
2019-02-11 11:05:30 -08:00
Kubernetes Prow Robot
f7c4389b79
Merge pull request #73877 from droslean/nits
...
apis:core:validation: remove unused, changes to idiomatic go
2019-02-11 10:31:06 -08:00
Kubernetes Prow Robot
6912bbb153
Merge pull request #71223 from sttts/sttts-openapi-aggreation-without-clone
...
openapi-aggregation: speed up merging from 1 sec to 50-100 ms
2019-02-11 10:30:56 -08:00
Kubernetes Prow Robot
986399b890
Merge pull request #73899 from dims/update-import-restrictions-cloud-provider
...
cleanup .import-restrictions for cloud provider
2019-02-11 08:49:20 -08:00
Dr. Stefan Schimanski
f488ed4b82
openapi: add spec roundtrip test
2019-02-11 13:16:37 +01:00
houjun
a5cde1a463
Check for pvcVolume with IsOperationPending() before markPVCResizeInProgress()
2019-02-11 15:23:17 +08:00
Kubernetes Prow Robot
69cf2684bb
Merge pull request #73669 from WanLinghao/add_get_case
...
Add a case to illustrate how to use `kubectl get -o custom-columns`
2019-02-10 20:47:26 -08:00
Davanum Srinivas
9870b74f90
cleanup .import-restrictions for cloud provider
...
Change-Id: I8f9b8a28474d12d6eb74ecef85a988dd3f1f851e
2019-02-10 22:56:53 -05:00
WanLinghao
e9edbf1d52
Clean unused code in pkg/securitycontext/util.go
2019-02-11 10:30:47 +08:00
PingWang
1ff8fac138
Correct the count of evictionsNumber
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
check nodeutil.SwapNodeControllerTaint's return
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-02-11 10:15:10 +08:00
WanLinghao
de85b7c8a8
Clean deprecated `ShowAll` variable in PrintOptions
2019-02-11 09:18:40 +08:00
Clayton Coleman
25e0a8f56c
Print the involved object in the event table as resource/name
...
The involved object is important and only some events include its
name in the message. Change the `Kind` column to `Object` and print
the object in `resource/name` form to allow copy and paste
to `kubectl get`. Also move the source field column to the right
of involved object since it is related.
2019-02-10 20:16:07 -05:00
Clayton Coleman
49250c6efc
Make container create, start, and stop events consistent
...
The messages for container lifecycle events are subtly inconsistent
and should be unified.
First, the field format for containers is hard to parse for a human,
so include the container name directly in the message for create
and start, and for kill remove the container runtime prefix.
Second, the pulling image event has inconsistent capitalization, fix
that to be sentence without punctuation.
Third, the kill container event was unnecessarily wordy and inconsistent
with the create and start events. Make the following changes:
* Use 'Stopping' instead of 'Killing' since kill is usually reserved for
when we decide to hard stop a container
* Send the event before we dispatch the prestop hook, since this is an
"in-progress" style event vs a "already completed" type event
* Remove the 'cri-o://' / 'docker://' prefix by printing the container
name instead of id (we already do that replacement at the lower level
to prevent high cardinality events)
* Use 'message' instead of 'reason' as the argument name since this is a
string for humans field, not a string for machines field
* Remove the hash values on the container spec changed event because no
human will ever be able to do anything with the hash value
* Use 'Stopping container %s(, explanation)?' form without periods to
follow event conventions
The end result is a more pleasant message for humans:
```
35m Normal Created Pod Created container
35m Normal Started Pod Started container
10m Normal Killing Pod Killing container cri-o://installer:Need to kill Pod
10m Normal Pulling Pod pulling image "registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-02-10-172026@sha256:3da5303d4384d24691721c1cf2333584ba60e8f82c9e782f593623ce8f83ddc5"
```
becomes
```
35m Normal Created Pod Created container installer
35m Normal Started Pod Started container installer
10m Normal Killing Pod Stopping container installer
10m Normal Pulling Pod Pulling image "registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-02-10-172026@sha256:3da5303d4384d24691721c1cf2333584ba60e8f82c9e782f593623ce8f83ddc5"
```
2019-02-10 16:39:42 -05:00
Mikalai Radchuk
4ee2010111
Fixes address parsing in port-forward
...
The rules for address parsing are:
* Explicitly specified addresses must bind successfully
* `localhost` is pinned to `127.0.0.1` and `::1` and at least one of those must bind successfully
This change also makes output of the command consistent
between runs with the same arguments.
Previously the command was using the range via map of addresses
which sometimes was producing different output because the order
of values is not guaranteed in Go.
2019-02-10 12:48:52 +00:00
WanLinghao
4a1a2c9017
Add a case to illustrate how to use `kubectl get -o custom-columns`
2019-02-10 14:42:13 +08:00
Nikolaos Moraitis
c7e103fd44
apis:core:validation: remove unused, changes to idiomatic go
2019-02-09 18:07:18 +01:00
Andrew Kim
a62ee8b0a9
clean up volume rounding functions and move to k8s.io/cloud-provider/volume
2019-02-09 01:16:55 -05:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Kubernetes Prow Robot
ee44e24cd3
Merge pull request #73659 from feiskyer/usage-nano-cores
...
Kubelet: add usageNanoCores from CRI stats provider
2019-02-08 19:26:21 -08:00
Kubernetes Prow Robot
37a402a3bc
Merge pull request #72806 from zgfh/patch-3
...
fix typo "udp" -> "UDP"
2019-02-08 13:14:15 -08:00
Kubernetes Prow Robot
52b3956df4
Merge pull request #67638 from houjun41544/20180821
...
Fix fmt.Errorf messages
2019-02-08 13:13:49 -08:00
Kubernetes Prow Robot
5b7a790d35
Merge pull request #72185 from dcbw/owners-label-sig-network
...
OWNERS: add label:sig/network to a bunch of places
2019-02-08 10:36:16 -08:00
Kubernetes Prow Robot
54a578d3a1
Merge pull request #72012 from yeya24/patch-1
...
fix typos lable -> label
2019-02-08 10:36:05 -08:00
Kubernetes Prow Robot
5bedff6625
Merge pull request #73836 from Random-Liu/clarify-hostname-in-cri
...
Clarify hostname emptiness in CRI.
2019-02-08 09:06:27 -08:00
Kubernetes Prow Robot
f0b72df47e
Merge pull request #73789 from vladimirvivien/volume-plugin-can-attach
...
AttachableVolumePlugin CanAttach() method for attachable check
2019-02-08 09:06:17 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Vladimir Vivien
0a653b3b80
Adds method CanAttach() to check plugin attachability
2019-02-08 08:04:15 -05:00
Kubernetes Prow Robot
836ce9fdc1
Merge pull request #65636 from juanvallejo/jvallejo/fix-local-panic
...
fix --local panic in set commands
2019-02-07 20:56:25 -08:00