Commit Graph

33562 Commits (394c581a56de680ef0d2c6ca6edbdc0c32ef8168)

Author SHA1 Message Date
Kubernetes Prow Robot 2f930306a4
Merge pull request #74936 from rjaini/rj_1.14
Adding a check to make sure Metadata is read only if flag value is true.
2019-03-07 01:07:13 -08:00
Kubernetes Prow Robot 14b671b24b
Merge pull request #71651 from Pingan2017/cronjob-add
add subcommand `kubectl create cronjob`
2019-03-07 01:07:00 -08:00
Kubernetes Prow Robot 6dbe98980f
Merge pull request #74909 from NetApp/csi-raw-block-to-beta2
Promote CSI raw blocks to beta
2019-03-06 22:55:46 -08:00
Kubernetes Prow Robot b7bf26abc1
Merge pull request #74713 from WanLinghao/duplicate_package
Remove duplicate package import
2019-03-06 22:54:57 -08:00
Kubernetes Prow Robot a8492d74ec
Merge pull request #74688 from ksubrmnn/overlay_dsr
Allow Overlay loadbalancing to Public IP in Windows
2019-03-06 20:35:52 -08:00
Kubernetes Prow Robot 8dd60281ff
Merge pull request #74653 from cofyc/fix74650-CheckVolumeExistenceOperation
Distinguish between volume path and mount path
2019-03-06 20:35:40 -08:00
Kubernetes Prow Robot 59ee7353e8
Merge pull request #74625 from davidz627/fix/xfsUnmount
GetMountRefs fixed to handle corrupted mounts by treating it like an unmounted volume
2019-03-06 20:35:26 -08:00
Kubernetes Prow Robot 752d18d2b0
Merge pull request #74510 from SataQiu/fix-golint-2019022502
Fix some golint failures for pkg/kubelet/apis/...
2019-03-06 17:59:25 -08:00
Pengfei Ni d690037571 Run hack/update-bazel.sh 2019-03-07 09:55:58 +08:00
Pengfei Ni 1220025e86 Add network stats for node interfaces 2019-03-07 09:55:39 +08:00
Pengfei Ni 84a7f48cf7 Add network stats for Windows containers 2019-03-07 09:54:50 +08:00
Yu-Ju Hong bd2301a628 nodelifecycle controller: reconcile node OS/arch labels 2019-03-06 17:26:23 -08:00
Haowei Cai 11cf3101e3 apiextensions-apiserver: serve openapi spec
Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-03-06 16:32:15 -08:00
Kubernetes Prow Robot c80e45f892
Merge pull request #73840 from adisky/cinder-intree-migration
Add CSI Migration feature flags for Cinder In tree Driver
2019-03-06 14:45:16 -08:00
David Zhu 5bf970f848 GetMountRefs fixed to handle corrupted mounts by treating it like an
unmounted volume
2019-03-06 14:34:16 -08:00
Kubernetes Prow Robot 47063891dd
Merge pull request #75037 from soltysh/cp_bug
Fix panic in kubectl cp command
2019-03-06 12:54:59 -08:00
Kubernetes Prow Robot 752f5668cc
Merge pull request #74737 from wk8/wk8/gmsa_bug_fix
Fixing a small bug with GMSA support
2019-03-06 11:20:49 -08:00
Ben Swartzlander 1493e684d3 Promote CSI raw blocks to beta 2019-03-06 13:43:52 -05:00
Kubernetes Prow Robot b82868bb7e
Merge pull request #74787 from jianglingxia/fixbugiscsi
fix bug iscsi volume attach failed of /sys/class/iscsi_host dir not e…
2019-03-06 09:50:51 -08:00
Rohit Jaini e0f51bcc2e Adding a check to make sure UseInstanceMetadata flag is true to get data from metadata. 2019-03-06 09:31:33 -08:00
Maciej Szulik ee7edb7765
Fix panic in kubectl cp command 2019-03-06 15:43:15 +01:00
Kubernetes Prow Robot bcbbb98f78
Merge pull request #70265 from jingyih/use_chunking_when_list_in_cronjob_controller
Retrieve list in chunks in cronjob controller
2019-03-06 04:45:59 -08:00
Kubernetes Prow Robot 997c981d3b
Merge pull request #74789 from cwdsuzhou/kubectl_invalid
Bugfix: kubectl shows last<invalid> if pv, pod or pvc is terminating using kubectl describe xxxx
2019-03-06 00:44:28 -08:00
Kubernetes Prow Robot 7bcdbc5a51
Merge pull request #74446 from yanghaichao12/comm0223
Fix typos
2019-03-05 23:24:00 -08:00
danielqsj 10ab3fb832 clean the deprecated metrics which introduced recently 2019-03-06 15:23:46 +08:00
Pingan2017 41536d7d02 add subcommand kubectl create cronjob 2019-03-06 15:12:21 +08:00
Kubernetes Prow Robot 5a89793f8e
Merge pull request #74612 from jingxu97/windows
Add GcePD windows support
2019-03-05 21:42:22 -08:00
Kubernetes Prow Robot 8b052158c7
Merge pull request #74477 from liggitt/webhook-admission-scope
Webhook admission scope
2019-03-05 21:42:11 -08:00
Cheng Pan 001d9c694e Add CSI migration logic for EBS Volume ID format 2019-03-05 23:11:43 +00:00
Kubernetes Prow Robot 4d1b830578
Merge pull request #74933 from yujuhong/fix-cpu-nano-cores
Fix computing of cpu nano core usage
2019-03-05 14:54:34 -08:00
Kubernetes Prow Robot d31427637b
Merge pull request #74926 from ddebroy/csiprov2
Add new CSI translation APIs required by CSI sidecars and unit tests
2019-03-05 14:54:21 -08:00
Kubernetes Prow Robot 5bc1e9b8ea
Merge pull request #74830 from msau42/lock-csi-ga
lock csi and plugin watcher GA feature gates
2019-03-05 14:54:10 -08:00
Kubernetes Prow Robot 98fa2c7d32
Merge pull request #74222 from Huang-Wei/kubelet-mirrorpod
kubelet: return mirror pod in GetActivePods()
2019-03-05 13:22:02 -08:00
Michelle Au 08330c37ca lock csi and plugin watcher GA feature gates 2019-03-05 09:59:05 -08:00
Kubernetes Prow Robot b033f0c1d1
Merge pull request #74907 from bsalamat/num_cpu
Revert "Use runtime.NumCPU() instead of a fixed value for parallel scheduler threads"
2019-03-05 09:50:36 -08:00
Kubernetes Prow Robot 0a4308f641
Merge pull request #74529 from liggitt/kubelet-service-links-error
Kubelet service links error
2019-03-05 09:49:59 -08:00
Yu-Ju Hong 191666d6a3 Fix computing of cpu nano core usage
CRI runtimes do not supply cpu nano core usage as it is not part of CRI
stats. However, there are upstream components that still rely on such
stats to function. The previous fix was faulty because the multiple
callers could compete and update the stats, causing
inconsistent/incoherent metrics. This change, instead, creates a
separate call for updating the usage, and rely on eviction manager,
which runs periodically, to trigger the updates. The caveat is that if
eviction manager is completley turned off, no one would compute the
usage.
2019-03-05 09:25:40 -08:00
Kubernetes Prow Robot e330c0120e
Merge pull request #74882 from feiskyer/convert-rg-to-lower
Convert resource group name in Azure provider ID to lower cases
2019-03-05 08:17:01 -08:00
Kubernetes Prow Robot dccb8ab5b0
Merge pull request #74615 from andrewsykim/delete-pvl-controller
Delete the out-of-tree PV labeler controller
2019-03-05 08:16:03 -08:00
Kubernetes Prow Robot 6c31101257
Merge pull request #74283 from xing-yang/csi_crd_controller
CSINodeInfo and CSIDriver Controller Changes
2019-03-05 04:44:42 -08:00
Kubernetes Prow Robot 43616fc920
Merge pull request #74033 from bart0sh/PR0060-kubeadm-975-RequiredIPVSKernelModulesAvailable-warning-seems-confusing
kubeadm: fix RequiredIPVSKernelModulesAvailable warning message
2019-03-05 02:04:03 -08:00
yanghaichao12 b475cdf7fc Fix typos
change SupportsPreemption

change comment again
2019-03-05 02:12:55 -05:00
adisky 3090b63414 Add CSI Migration feature flags for Cinder In tree Driver 2019-03-05 06:21:36 +00:00
caiweidong bdfd420c6d Bugfix: kubectl shows last<invalid> if pv, pod, pvc is terminating
fix describe ut
2019-03-05 14:03:34 +08:00
Pengfei Ni 1d61d8d4a4 Convert resource group name in Azure provider ID to lower cases 2019-03-05 11:22:17 +08:00
Deep Debroy 1fb4290c4e Update API names and references
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 19:13:05 -08:00
root b6e8f71fe0 fix bug iscsi volume attach failed of /sys/class/iscsi_host dir not exist 2019-03-05 10:46:47 +08:00
Xing Yang 6265f4f78c CSINodeInfo/CSIDriver controller changes
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Deep Debroy 1da91ad39a Add GetIntreeNameFromCSIName and SupersedesInTreePlugin APIs and unit tests
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 16:36:45 -08:00
Jordan Liggitt 1d4655c8ef generated files
Change-Id: I5a43a4e1a601b85d21b551fcfc9fdbd16a095d06
2019-03-05 00:30:12 +00:00
Jordan Liggitt 0797d81222 Add scope restrictions to webhook admission rules 2019-03-05 00:30:12 +00:00
Yassine TIJANI 5f7c60859c explicit the restartPolicy on the dockershim
This change explicits the restart policy, as on some docker version
(e.g. 11.07-ce) the default for this field is "". which seems to be not
respected by dockerd
2019-03-04 23:11:20 +01:00
Bobby (Babak) Salamat a1b8777d42 Revert "Merge pull request #73934 from bsalamat/num_cpu"
This reverts commit cfe4ca8012, reversing
changes made to f16035600a.
2019-03-04 13:14:25 -08:00
Kubernetes Prow Robot b1d4d40679
Merge pull request #74668 from sttts/sttts-kube-apiserver-endpoints-when-ready
kube-apiserver: don't create endpoints before being ready
2019-03-04 01:57:41 -08:00
Xing Yang ba4ccfa8b1 Add review comments in the APIs 2019-03-02 18:40:22 -08:00
andyzhangx 38f0908597 make funcs in azure cloud provider as public 2019-03-03 01:58:59 +00:00
Xing Yang 743d3a26e9 Add generated files 2019-03-02 12:31:05 -08:00
Xing Yang bb45b8ee34 Make CSINodeInfo and CSIDriver Core APIs
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Kubernetes Prow Robot cfe4ca8012
Merge pull request #73934 from bsalamat/num_cpu
Use runtime.NumCPU() instead of a fixed value for parallel scheduler threads
2019-03-01 23:04:17 -08:00
Kubernetes Prow Robot f16035600a
Merge pull request #73807 from dekkagaijin/discovery-hardening
harden the default RBAC discovery clusterrolebindings
2019-03-01 21:49:30 -08:00
Kubernetes Prow Robot cb89d8028a
Merge pull request #74769 from msau42/local-pv-ga
move local PV to GA
2019-03-01 19:14:34 -08:00
Kubernetes Prow Robot d8d260a09d
Merge pull request #74755 from liggitt/kubelet-watch
Revert kubelet to default to ttl cache secret/configmap behavior
2019-03-01 19:14:14 -08:00
Kubernetes Prow Robot ced9e30990
Merge pull request #74576 from datuanmac/trivial_fix_typos
Trivial fix typo
2019-03-01 19:14:03 -08:00
Jake Sanders 9c7d31928d harden the default RBAC discovery clusterrolebindings 2019-03-01 18:45:05 -08:00
Kubernetes Prow Robot 9b8c58644a
Merge pull request #74418 from danielqsj/duration
convert latency/latencies in metrics name to duration
2019-03-01 17:58:12 -08:00
Jean Rouge 5e3f3b35e0 Review comments
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-01 17:57:39 -08:00
Michelle Au 5f0847b515 move local PV to GA 2019-03-01 12:51:25 -08:00
Lubomir I. Ivanov e29c6e1b38 go-1.12: fix 'go vet' failures 2019-03-01 18:48:17 +02:00
Kubernetes Prow Robot 8c95a07b4b
Merge pull request #73007 from krmayankk/runasgroup
Promote RunAsGroup to Beta
2019-03-01 03:46:55 -08:00
Kubernetes Prow Robot a5ba825b1b
Merge pull request #74715 from andyzhangx/acr-public-access
fix Azure Container Registry anonymous repo image pull error
2019-03-01 02:29:40 -08:00
Dr. Stefan Schimanski 2a9a9fa155 kube-apiserver: first remove endpoints, then add when ready 2019-03-01 10:46:18 +01:00
Kubernetes Prow Robot caaad1be26
Merge pull request #72526 from justinsb/testdata_should_not_be_executable
Remove executable permission from testdata
2019-02-28 20:35:56 -08:00
Kubernetes Prow Robot 4f01eb528e
Merge pull request #74336 from littleroad/exited_container
cri_stats_provider: Implement removeTerminatedContainer correctly
2019-02-28 19:12:07 -08:00
Mayank Kumar 1b1251277c Promote RunAsGroup to Beta 2019-02-28 17:24:39 -08:00
Kubernetes Prow Robot f6d05d6315
Merge pull request #74611 from denkensk/fix-unable-find-backoff-value
fix the flake in scheduling_queue_test
2019-02-28 16:06:57 -08:00
Jordan Liggitt cd1c9f9018 Revert kubelet to default to ttl cache secret/configmap behavior 2019-02-28 17:54:22 -05:00
Jean Rouge 1908a0ce04 Fixing a small bug with GMSA support
A previous PR (https://github.com/kubernetes/kubernetes/pull/73726)
added GMSA support to the dockershim. Unfortunately, there was a
bug in there: the registry keys used to pass the cred specs down
to Docker were being cleaned up too early, right after the containers'
creation - before Docker would ever try to read them, when trying to
actually start the container.

This patch fixes this.

An e2e test is also provided in a separate PR.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-28 10:26:54 -08:00
wojtekt 6dce4d87a3 Fix secret/configmap management for terminated pods 2019-02-28 18:59:53 +01:00
andyzhangx 3c7de52cc2 add Azure Container Registry anonymous repo support
apply fix for msi and fix test failure
2019-02-28 12:16:21 +00:00
Fabio Bertinatto 32c0af42e6 Remove last pieces of mount propagation gate 2019-02-28 13:05:02 +01:00
Kubernetes Prow Robot 36787041cb
Merge pull request #73653 from ddebroy/migprov1
Support dynamic provisioning for CSI migration scenarios
2019-02-28 01:52:55 -08:00
Kubernetes Prow Robot 711b310389
Merge pull request #74606 from andrewsykim/cleanup-volumeattachment
replace usage of v1beta1 VolumeAttachments with v1
2019-02-28 00:27:36 -08:00
WanLinghao cb9da96cc9 Remove duplicate package import 2019-02-28 16:26:20 +08:00
Kubernetes Prow Robot 4b1282d925
Merge pull request #74016 from ahadas/topology_cleanup
Cleanup in topology.go
2019-02-27 22:49:24 -08:00
Lu Fengqi 3f8eda37ce cri_stats_provider: overload nil as 0 for exited containers stats
Always report 0 cpu/memory usage for exited containers to make
metrics-server work as expect.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
2019-02-28 10:41:15 +08:00
Kubernetes Prow Robot ce4229f2cc
Merge pull request #74682 from soltysh/fix_flag_template
Fix flag template when both visible and explicit flags are specified
2019-02-27 17:13:12 -08:00
Jing Xu 5e04d200ee Add GcePD windows support
This PR adds the support for GCEPD volume. For now, it uses a workaround
(https://github.com/pjh/gce-tools) to get disk number in windows for a given GCE PD name.
2019-02-27 17:00:32 -08:00
ksubrmnn 0173545b56 Allow Overlay loadbalancing to Public IP 2019-02-27 16:27:08 -08:00
Kubernetes Prow Robot 84dce4d119
Merge pull request #74393 from codenrhoden/refactor-subpath
Refactor subpath out of pkg/util/mount
2019-02-27 15:54:36 -08:00
Kubernetes Prow Robot bf2c9ccec7
Merge pull request #74122 from draveness/feature/refactor-filter-active-pods
refactor: use FilterActivePods instead in replicaset controller
2019-02-27 15:54:25 -08:00
wangqingcan 471679f8d2 fix the flake in scheduling_queue_test 2019-02-28 07:23:27 +08:00
Maciej Szulik b4f81285bf
Fix flag template when both visible and explicit flags are specified 2019-02-27 22:35:03 +01:00
Andrew Kim 01933b02a3 replace usage of v1beta1 VolumeAttachments with v1 2019-02-27 15:42:12 -05:00
Dr. Stefan Schimanski 14f2a335dc endpoint-reconcilers: split stop and remove 2019-02-27 17:19:33 +01:00
Kubernetes Prow Robot 6e8b5691db
Merge pull request #74599 from andyzhangx/azuredisk-log
add more logging in azure disk attach/detach
2019-02-27 05:48:44 -08:00
Yecheng Fu 8940976602 Distinguish volume path with mount path 2019-02-27 19:31:26 +08:00
Kubernetes Prow Robot a514fa042e
Merge pull request #74636 from logicalhan/reflector-metrics
Remove reflector metrics since they are causing a memory leak
2019-02-27 03:24:09 -08:00
Kubernetes Prow Robot 02bd660ad8
Merge pull request #74573 from m3ngyang/comments-typo
fix some comment typos
2019-02-27 03:23:58 -08:00
Kubernetes Prow Robot 218642e84e
Merge pull request #74562 from roycaihw/feat/admission-webhook-timeout
admission webhook: timeout configuration
2019-02-26 23:40:44 -08:00
Han Kang ca096f8069 Remove reflector metrics as they currently cause a memory leak 2019-02-26 20:11:22 -08:00