SataQiu
e2c1f43551
fix golint failures on pkg/kubectl/cmd/completion pkg/kubectl/cmd/cp pkg/kubectl/cmd/edit
2019-02-19 17:39:39 +08:00
He Xiaoxi
4c8d0a3cd4
Fix duplicate container query param on exec pod command
...
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-02-19 15:58:43 +08:00
Kubernetes Prow Robot
a887ae8344
Merge pull request #74208 from lrx0014/unittest
...
fixes: some wrong comments
2019-02-18 22:45:49 -08:00
Kubernetes Prow Robot
de2ceac50d
Merge pull request #74124 from truongnh1992/fix-typo
...
Correcting error on source codes
2019-02-18 20:16:46 -08:00
Kubernetes Prow Robot
7a5ea30b3d
Merge pull request #73961 from mattjmcnaughton/mattjmcnaughton/clarify-NetworkPolicy-policyTypes-in-docs
...
Clarify NetworkPolicy policyTypes in docs
2019-02-18 20:16:25 -08:00
Kubernetes Prow Robot
0b01b9ce51
Merge pull request #72470 from danielqsj/kl
...
Change kubelet metrics to conform metrics guidelines
2019-02-18 20:16:14 -08:00
Clayton Coleman
a5ba311260
api: Correct a typo in the API docs for rolling update strategy
2019-02-18 22:46:37 -05:00
Kubernetes Prow Robot
cbcc2b26fe
Merge pull request #72904 from ping035627/k8s-190115
...
Correct the count of evictionsNumber
2019-02-18 18:40:09 -08:00
Kubernetes Prow Robot
fcaa726e60
Merge pull request #74080 from dims/ensure-prometheus-metrics-are-not-registered-twice
...
Ensure prometheus metrics are not registered twice
2019-02-18 11:59:30 -08:00
renxiang
8c8a9f850b
fixes: some wrong comments
2019-02-18 19:02:28 +08:00
danielqsj
79a3eb816c
rename latency to duration in metrics
2019-02-18 17:40:04 +08:00
andyzhangx
4e4684662d
add mixed protocol support for azure load balancer
2019-02-18 08:29:37 +00:00
danielqsj
0bfe4c26b1
add default buckets for histogram metrics
2019-02-18 14:07:30 +08:00
danielqsj
4fa0ee7805
Mark deprecated in related kubelet metrics
2019-02-18 14:03:44 +08:00
danielqsj
0e9515c709
Move kubelet metrics to histogram metrics
2019-02-18 14:03:44 +08:00
danielqsj
9fd99a48f5
Change kubelet metrics to conform guideline
2019-02-18 14:01:58 +08:00
skarthiksrinivas
a309d8a6c1
Provision vsphere volume honoring zones
2019-02-17 21:37:00 -08:00
Cheng Pan
6355186c3e
Add In-tree to CSI migration logic for Mount and Unmount
2019-02-18 04:55:31 +00:00
Mehdy Bohlool
0f186323bc
Update generated files
2019-02-16 13:28:48 -08:00
Mehdy Bohlool
cebb4ee2ac
Remove the propagated scheme from the Admission chain
2019-02-16 13:28:47 -08:00
Mehdy Bohlool
513a87c7b2
Add ObjectInterfaces to Admission and Validation
2019-02-16 13:28:47 -08:00
Jean Rouge
b1ea622359
Review from @yujuhong
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-16 07:55:43 -08:00
andyzhangx
3b37dc566e
add azure disk snapshot client in cloud provider
2019-02-16 13:35:39 +00:00
Fabio Bertinatto
d6c642b46a
Only return CSI driver registration error
2019-02-16 10:06:33 +01:00
Kubernetes Prow Robot
e4db1471f1
Merge pull request #71147 from pivotal-k8s/vsphere-windows-uuid
...
Support retrieving the VM UUID on Windows
2019-02-15 21:49:50 -08:00
gaorong
5efbdb02bf
fix kubectl describe static pod cann't get event messages
2019-02-16 13:01:06 +08:00
Kubernetes Prow Robot
e691e5f2d9
Merge pull request #74082 from pivotal-k8s/loopback_check
...
Fix testing if an interface is the loopback
2019-02-15 20:35:41 -08:00
Kubernetes Prow Robot
c88dcee3e9
Merge pull request #73824 from jiayingz/reallocate
...
Checks whether we have cached runtime state before starting a container
2019-02-15 20:35:30 -08:00
Kubernetes Prow Robot
063e7ff358
Merge pull request #73833 from haiyanmeng/cri_runtimeclass
...
Add `runtime_handler` into PodSandbox and PodSandboxStatus
2019-02-15 18:02:46 -08:00
Kubernetes Prow Robot
16e08f3e53
Merge pull request #73408 from Klaven/component-base-flags
...
Move flag util pkgs to k8s.io/component-base/cli
2019-02-15 16:46:08 -08:00
Kubernetes Prow Robot
3e748958dc
Merge pull request #73333 from yujuhong/os-arch-labels
...
kubelet: promote OS & arch labels to GA
2019-02-15 16:45:57 -08:00
Kubernetes Prow Robot
72b0971f3b
Merge pull request #72687 from subramanian-neelakantan/vsphere_volume_zone
...
Applies zone labels to newly created vsphere volumes
2019-02-15 15:20:35 -08:00
Kubernetes Prow Robot
fbee96d733
Merge pull request #73699 from pivotal-k8s/doc-links
...
Update deprecated and broken links
2019-02-15 14:05:09 -08:00
Kubernetes Prow Robot
9027738dd5
Merge pull request #73661 from andyzhangx/smb-mount-windows
...
fix smb remount issue on Windows
2019-02-15 14:04:59 -08:00
Ben Moss
70923dd9db
Fix testing if an interface is the loopback
...
It's not guaranteed that the loopback interface only has the loopback
IP, in our environments our loopback interface is also assigned a 169
address as well.
2019-02-15 16:40:34 -05:00
Kubernetes Prow Robot
6310f9681e
Merge pull request #74114 from feiskyer/revert-70121
...
Revert #70121 : Add network stats for Windows containers #70121
2019-02-15 12:44:06 -08:00
Kubernetes Prow Robot
1878fae050
Merge pull request #73973 from smarterclayton/fix_benchmark
...
Fix the unstructured conversion benchmarks to be correct
2019-02-15 07:52:54 -08:00
Marek Counts
160ed26c20
autogen files to support new project structure.
2019-02-15 10:29:31 -05:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Kubernetes Prow Robot
928bb2b993
Merge pull request #73262 from jimmy-zh/optimize-PV-AccessMode-comment
...
Optimize PersistentVolumeAccessMode comment
2019-02-15 06:40:14 -08:00
Kubernetes Prow Robot
c0775786a4
Merge pull request #69250 from warmchang/lint-pkg/routes
...
fix golint errors in pkg/routes
2019-02-15 06:39:29 -08:00
Ben Moss
34ac4d9ee9
Update deprecated links
2019-02-15 09:13:07 -05:00
Kubernetes Prow Robot
97f526665b
Merge pull request #74050 from huynq0911/fix_error_collide_package
...
Fix error collides with imported package name and log warning
2019-02-15 05:28:11 -08:00
danielqsj
6edde10fcd
correct error string according to golang best practice
2019-02-15 18:12:00 +08:00
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
draveness
590bf5530d
refactor: use FilterActivePods instead in replicaset controller
2019-02-15 17:44:56 +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
Youbing Li
0756781994
Fixes #73077 - Allow to convert type across all version
2019-02-15 04:03:35 -05:00
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
Jean Rouge
b435dbf718
Merge branch 'master' into wk8/gmsa_alpha
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-14 15:38:25 -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
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
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
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
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
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
Youbing Li
373c42d1c5
Issue 71769: Correctly display '_' in the help message
2019-02-10 20:45:06 -05: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
bpopovschi
892f15d9a2
Added resource name to timeout error output on WAIT cmd
2019-02-08 18:10:43 +02: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
Kubernetes Prow Robot
eac19a3ab9
Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
...
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Lantao Liu
5b86ee1c82
Clarify hostname emptiness in CRI.
2019-02-07 18:37:59 -08:00
Kubernetes Prow Robot
2fd8f8aec1
Merge pull request #73812 from Adirio/patch-2
...
ControllerRef creation through factory function
2019-02-07 17:12:20 -08:00
Kubernetes Prow Robot
af17925f68
Merge pull request #73594 from masterzen/bugfix/73479-nlb-target-groups-tags
...
Fix #73479 AWS NLB target groups missing tags
2019-02-07 17:12:10 -08:00
Lantao Liu
1a92e218e0
Remove unused function from the legacy runtime interface.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-07 16:57:19 -08:00
haiyanmeng
c35335808c
Add `runtime_handler` into PodSandbox and PodSandboxStatus
2019-02-07 15:52:09 -08:00
juanvallejo
e8df247597
fix --local panic in set commands
2019-02-07 16:56:32 -05:00
Kubernetes Prow Robot
8d8157f490
Merge pull request #73809 from mourya007/validation_test
...
Add missing testcases
2019-02-07 11:47:07 -08:00
Adrián
ca809b1d33
gofmt
2019-02-07 20:26:21 +01:00
Jiaying Zhang
00b88c14b0
Checks whether we have cached runtime state before starting a container
...
that requests any device plugin resource. If not, re-issue Allocate
grpc calls. This allows us to handle the edge case that a pod got
assigned to a node even before it populates its extended resource
capacity.
2019-02-07 11:12:36 -08:00
Brice Figureau
bbee2da7f3
Fix #73479 AWS NLB target groups missing tags
...
`elbv2.AddTags` doesn't seem to support assigning the same set of
tags to multiple resources at once leading to the following error:
Error adding tags after modifying load balancer targets:
"ValidationError: Only one resource can be tagged at a time"
This can happen when using AWS NLB with multiple listeners pointing
to different node ports.
When k8s creates a NLB it creates a target group per listener along
with installing security group ingress rules allowing the traffic to
reach the k8s nodes.
Unfortunately if those target groups are not tagged, k8s will not
manage them, thinking it is not the owner.
This small changes assigns tags one resource at a time instead of
batching them as before.
Signed-off-by: Brice Figureau <brice@daysofwonder.com>
2019-02-07 19:43:46 +01:00
Steffen Butzer
c2b771d5c4
windows/svc: address failing test by updating bazel BUILD
2019-02-07 16:58:37 +01:00
Pengfei Ni
01fbca29cb
Kubelet: add usageNanoCores from CRI stats provider
2019-02-07 22:31:30 +08:00
Roman Mohr
c9479990b3
Add Custom Resource support to "kubectl autoscale"
...
Generalize the autoscsale command to simply let the dynamic client check
if a scale subresource is registered for the supplied type. This allows
using the autoscale command for built in types as well as custom
resources.
2019-02-07 12:28:59 +01:00
Adrián
34099a9274
ControllerRef creation through factory function
2019-02-07 10:44:49 +01:00
Adrián
290101330e
ControllerRef creation through factory function
2019-02-07 09:36:39 +01:00
mourya007
90b9808681
Add missing testcases
2019-02-07 11:14:53 +05:30
Kubernetes Prow Robot
6796645672
Merge pull request #73758 from sjenning/priority-based-oom-score-adj
...
kubelet: set low oom_score_adj for containers in critical pods
2019-02-06 21:13:55 -08:00
Kubernetes Prow Robot
6fc9a72f58
Merge pull request #73533 from babiel/fix-fsgroup-directory-permissions
...
Ensure directories are executable for fsGroup
2019-02-06 20:03:01 -08:00
Kubernetes Prow Robot
152b09ac55
Merge pull request #73774 from liggitt/SCTPSupport
...
Ensure conditional validation has knowledge of old and new object
2019-02-06 17:35:17 -08:00
Kubernetes Prow Robot
4bbad05972
Merge pull request #73391 from qingsenLi/k8s190128
...
fix some typos in /pkg/volume
2019-02-06 13:23:51 -08:00
Kubernetes Prow Robot
98de0729cf
Merge pull request #73770 from M00nF1sh/master
...
support multiple cidr vpc for nlb health check
2019-02-06 12:06:32 -08:00
Kubernetes Prow Robot
2d956389dc
Merge pull request #73313 from pivotal-k8s/csi-drivers-list
...
Refactor csiDriversStore
2019-02-06 09:31:06 -08:00
Kubernetes Prow Robot
ae45068688
Merge pull request #72323 from danielqsj/dockershim
...
Change docker metrics to conform metrics guidelines
2019-02-06 09:30:54 -08:00
Maciej Szulik
3f3316be31
Deprecate --export flag from get command
2019-02-06 15:04:57 +01:00
Kubernetes Prow Robot
bf8dd697b2
Merge pull request #73314 from mm4tt/trigger_time_tracker
...
Introduce the TriggerTimeTracker util in the Endpoints Controller.
2019-02-06 03:12:54 -08:00
Kubernetes Prow Robot
fcb0d60d4c
Merge pull request #73716 from deads2k/delete-all
...
add --all-namespaces to kubectl delete
2019-02-06 01:20:15 -08:00
Kubernetes Prow Robot
a1539d8e52
Merge pull request #73159 from cofyc/fix72329
...
Better way to share common utilities between PV controller and Volume Binder
2019-02-05 22:36:13 -08:00
Kubernetes Prow Robot
7788606ec6
Merge pull request #73721 from frapposelli/fix-vsphere-ip-patch
...
Fix MAC filtering in vSphere cloud provider
2019-02-05 20:16:16 -08:00
Jordan Liggitt
4271384966
Call conditional validation from create/update strategies
2019-02-05 23:09:31 -05:00
Jordan Liggitt
34ac165a44
Move conditional validation for SCTPSupport to validation functions with knowledge of old objects
2019-02-05 23:09:31 -05:00
Yecheng Fu
8b79fe3ebe
Do not call methods on PersistentVolumeController
2019-02-06 12:04:05 +08:00
Kubernetes Prow Robot
70e8d092a0
Merge pull request #73766 from liggitt/hugepages-cleanup
...
Remove HugePages feature gate check in validation
2019-02-05 19:06:56 -08:00
M00nF1sh
416a98e030
support multiple cidr vpc for nlb health check
2019-02-05 17:31:16 -08:00
Jean Rouge
c4806186d4
Review comments
...
* value names are now purely random
* cleaning up leaked registry keys at Kubelet init
* fixing a small bug masking create errors
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-05 16:53:17 -08:00
Kubernetes Prow Robot
017d87dd20
Merge pull request #73657 from krmayankk/service-account
...
add positive ut for service account projection
2019-02-05 15:14:50 -08:00
Kubernetes Prow Robot
459e509f94
Merge pull request #73549 from haiyanmeng/runtimeclass
...
Add monitoring for RuntimeClass
2019-02-05 15:14:38 -08:00
Kubernetes Prow Robot
a20cd49d6d
Merge pull request #72910 from danielqsj/kn
...
Add kubelet_node_name metrics
2019-02-05 15:14:06 -08:00
Fabio Rapposelli
dbeb5f02b5
fix mac filtering in vsphere cloud provider
2019-02-05 23:44:17 +01:00
Jordan Liggitt
d2dbd3997b
Remove HugePages feature gate check in validation
2019-02-05 17:36:24 -05:00
Kubernetes Prow Robot
dc1244c6cd
Merge pull request #72785 from derekwaynecarr/hugepages-ga
...
Graduate HugePages feature to GA
2019-02-05 13:56:51 -08:00
Seth Jennings
7dcf1fe5f8
kubelet: set low oom_score_adj for containers in critical pods
2019-02-05 14:28:36 -06:00
Kubernetes Prow Robot
f3a6dbceb2
Merge pull request #68925 from casusbelli/fix_65312
...
Adding Quobyte Tenant to QuobyteVolumeSource to enable deletion of persistent volumes
2019-02-05 12:08:37 -08:00
ksubrmnn
c115b5aec2
Add WinDSR and WinOverlay feature flags
2019-02-05 10:49:22 -08:00
Davanum Srinivas
6e954322b3
Fix BUILD files
...
Change-Id: Ie36cde9511a3123ae8f68449bcdee08a9b78cfd2
2019-02-05 13:40:29 -05:00
ksubrmnn
b724bdb19a
Update winkernel proxy for overlay
2019-02-05 10:39:23 -08:00
ksubrmnn
a47e99e37a
Add Windows flags for KubeProxyConfiguration
2019-02-05 10:39:23 -08:00