Rong Gao
dfbdb9044b
fix kubelet can not delete orphaned pod directory when the kubelet's root directory symbolically links to another device's directory
2019-06-30 13:18:16 +08:00
Kubernetes Prow Robot
9b14c22375
Merge pull request #78428 from luksa/iptables-save-panic
...
Fix panic in kube-proxy when iptables-save prints to stderr
2019-05-31 23:23:00 -07:00
Kubernetes Prow Robot
5d1409a4bf
Merge pull request #78189 from ksubrmnn/initsystem
...
Use Service Control Manager as the Windows Initsystem
2019-05-31 22:02:34 -07:00
Kubernetes Prow Robot
bdf3d248eb
Merge pull request #77523 from andrewsykim/fix-xlb-from-local
...
iptables proxier: route local traffic to LB IPs to service chain
2019-05-31 12:22:53 -07:00
Kubernetes Prow Robot
46a3d82240
Merge pull request #78464 from andrewsykim/ipvs-reviewer
...
add myself and Laurent as ipvs proxy reviewers
2019-05-30 04:54:35 -07:00
ksubrmnn
4d7ee1cd5a
Use system calls to manage Windows services
2019-05-29 17:33:47 -07:00
Kubernetes Prow Robot
e4c3540621
Merge pull request #78269 from jpbetz/reinvoke-intree
...
Reinvocation testing of in-tree admission plugins and fix podpreset to be idempotent
2019-05-29 03:11:03 -07:00
Kubernetes Prow Robot
1eba04822e
Merge pull request #78251 from byteor/master
...
[pkg/util/coverage]: group imports for readability
2019-05-29 03:10:38 -07:00
Andrew Sy Kim
f6d9a45643
add myself and Laurent as ipvs proxy reviewers
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-05-29 01:43:50 -04:00
Joe Betz
a6e1db97f0
Merge tolerations in a consistent order
2019-05-28 15:10:16 -07:00
Marko Lukša
93a549679f
Capture stderr output and write it to buffer on error
2019-05-28 17:09:29 +02:00
Kubernetes Prow Robot
a57fbaf635
Merge pull request #78088 from andrewsykim/ipvs-unit-test-graceful-termination
...
ipvs: add graceful termination unit tests
2019-05-28 07:18:11 -07:00
Marko Lukša
00e7505618
Discard stderr output when calling iptables-save
2019-05-28 14:43:28 +02:00
Marko Lukša
df23697ae7
Better error message if panic occurs during iptables-save output parsing
2019-05-28 11:38:27 +02:00
Zhou Peng
31daeed3b2
[pkg/util/coverage]: group imports for readability
...
Signed-off-by: Zhou Peng <p@ctriple.cn>
2019-05-23 21:38:12 +08:00
Kubernetes Prow Robot
d8c3348520
Merge pull request #74880 from smileusd/fix-IsLikelyNotMountPoint-function
...
distinguish between mountpoints and symbolic link in IsNotMountPoint
2019-05-22 04:00:12 -07:00
Kalya Subramanian
e0fec1dc28
Include golang.org/x/sys/windows/svc/mgr to manage Windows services
2019-05-20 23:28:56 +00:00
Kubernetes Prow Robot
e476a60ccb
Merge pull request #73241 from vikaschoudhary16/selinux-label
...
Add correct selinux label at plugin socket directory
2019-05-20 11:07:17 -07:00
smileusd
a81f770472
add annotation about IsLikelyNotMountPoint can't to distinguish mounts and symbolic link
2019-05-20 11:35:24 +08:00
Andrew Sy Kim
15682dfc2a
export serviceKey and realServerKey in fake ipvs for easier test fixtures
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-05-19 23:09:42 +02:00
vikaschoudhary16
58d1b4d564
Add correct selinux label at plugin socket directory
2019-05-18 12:35:17 +05:30
Kubernetes Prow Robot
37281a400d
Merge pull request #76442 from viegasdom/fix-golint-utils-bandwith
...
Fix golint failures of util/bandwith/*.go
2019-05-15 22:56:08 -07:00
Kubernetes Prow Robot
aa84b99fa0
Merge pull request #73101 from oz123/kubeadm_openrc_support
...
Add initial support for OpenRC
2019-05-10 10:37:59 -07:00
Andrew Sy Kim
8dfd4def99
add unit tests for -src-type=LOCAL from LB chain
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-05-07 15:22:46 -04:00
Kubernetes Prow Robot
5b47a92ad8
Merge pull request #76359 from monstercy/fixtypo-20190320
...
correcting some spelling errors
2019-05-03 04:08:31 -07:00
Kubernetes Prow Robot
b5c34d0c43
Merge pull request #74734 from codenrhoden/move-mountspath
...
Move MountsInGlobalPDPath from mount pkg to volume
2019-05-01 17:28:18 -07:00
Dan Winship
4d77d3e75f
Update iptables.IsNotFoundError for iptables-nft error messages
2019-05-01 10:42:30 -04:00
Travis Rhoden
12b7f1450c
Move MountsInGlobalPDPath from mount pkg to volume
...
Since pkg/util/mount is going to move out of k/k, this exported constant
that is Kubernetes specific needed to move somewhere else. Made sense to
move it to pkg/volume/util.
Update GetDeviceNameFromMount in the mount interface to now take a
pluginMountDir argument, which is volume plugin dir with the global
mount path appended to it already.
2019-04-29 09:56:00 -06:00
JieJhih Jhang
098a7c5972
fix golint
2019-04-26 15:37:38 +08:00
Kubernetes Prow Robot
9d617776a3
Merge pull request #76801 from logicalhan/metrics-owners
...
add owners file to util/metrics and auto-labeling
2019-04-19 20:30:14 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Han Kang
d278d59328
add owners file to util/metrics and auto-labeling
2019-04-18 17:01:13 -07:00
Kubernetes Prow Robot
e8e1e9b667
Merge pull request #75119 from sungjunyoung/fix-typo
...
Fix typo, old link for contributors
2019-04-18 11:28:03 -07:00
Kubernetes Prow Robot
32a49828fe
Merge pull request #76456 from codenrhoden/mv-exec-mounter
...
Move ExecMount to pkg/volume/util/exec
2019-04-17 12:16:20 -07:00
Zihong Zheng
8ac6119bec
Add OWNERS file for sig-network utils
2019-04-11 13:49:03 -07:00
Travis Rhoden
f38d4938be
Move ExecMount to pkg/volume/util/exec
...
This patch moves the ExecMounter found in pkg/util/mount to
pkg/volume/util/exec. This is done in preparation for pkg/util/mount to
move out of tree. This specific implemention of mount.Interface is only
used internally to K8s and does not need to move out of tree.
2019-04-11 12:19:55 -06:00
viegasdom
80578d5bf1
Changes code that still used BandWidthShaper instead of Shaper
2019-04-11 18:50:32 +01:00
viegasdom
1c468bf2e2
Fix golint failures of util/bandwith/*.go
2019-04-11 15:07:41 +01:00
Kubernetes Prow Robot
c62cd6e3a4
Merge pull request #76047 from codenrhoden/mv-nsenter-mount
...
Move nsenter mounter to pkg/volume/util/nsenter
2019-04-09 09:55:59 -07:00
Oz N Tiram
2a40ef473f
Add initial support for OpenRC
...
* Gentoo has init scripts for kubelet
* Added a new method of the InitSystem Interface
This helps issuing nicer messages when not on systemd.
* OpenRCInitSystem.ServiceExists uses CombinedOutput because
the behaviour of OpenRC is different from systemd.
This is a partial fix for
https://github.com/kubernetes/kubeadm/issues/1295
2019-04-08 22:27:35 +02:00
Travis Rhoden
1c045a09db
Move nsenter mounter to pkg/volume/util/nsenter
...
As part of moving pkg/util/mount out of tree, the NSEnter implementation
of mount.Interface needs to be relocated out of pkg/util/mount, as it is
K8s specific. This patch relocates that mounter implementation to
pkg/volume/util/nsenter.
Since the NSEnter mounter shares a lot of its logic with the Linux
mounter implementation, many of the previously private methods of the
Linux mounter are now made public to maintain that shared code.
Additionaly, it was observed that *all* mount.Interface implemenations
were using the same common method for IsNotMountPoint, so this patch
removes that method from the mount.Interface definition and just exports
the common implementation instead.
2019-04-08 09:53:46 -06:00
Travis Rhoden
6e5bf40dd2
Remove apimachinery dep from mount library
...
As part of wanting to move the mount library into staging and then
k8s.io/utils, there can be no dependencies on k/k code, and that
includes k/apimachinery.
This patch makes a small implementation change to no longer need
k8s.io/apimachinery/pkg/util/sets
2019-04-02 13:49:46 -06:00
Kubernetes Prow Robot
7d15d41eb8
Merge pull request #74159 from dlipovetsky/issue-73249-revise-parsetaint
...
Update v1.Taint parser to accept the form `key:effect` and `key=:effect-`
2019-04-02 01:36:35 -07:00
Han Kang
8f63657e26
log out metric registration errors instead of silently ignoring them
2019-03-26 11:29:27 -07:00
Kubernetes Prow Robot
7dfcacd1cf
Merge pull request #75700 from logicalhan/reflector-cleanup
...
cleanup of reflector metric code (finish removing unused code)
2019-03-25 23:13:31 -07:00
Han Kang
f7c23b1c1d
cleanup of reflector metric code (finish removing unused code)
2019-03-25 15:12:09 -07:00
Kubernetes Prow Robot
f3efd1d0b7
Merge pull request #75036 from bart0sh/PR0065-kubeadm-replace-RequiredIPVSKernelModulesAvailable-check
...
kubeadm: reimplement IPVS check
2019-03-25 13:24:38 -07:00
Yu Cao
88204f6664
correcting some spelling errors
2019-03-20 19:33:35 +08:00
andyzhangx
4b4b6cdcab
fix race condition issue for smb mount on windows
...
change var name
2019-03-14 15:02:15 +00:00
Ed Bartosh
2914171ed4
kubeadm: reimplement IPVS check
...
Used existing IPVS Proxier API CanUseIPVSProxier instead
of custom implementation.
Fixes kubernetes/kubeadm#975
2019-03-14 16:52:21 +02:00