Jing Xu
eec07e05ba
Remove driver letter assignment during volume format
...
This PR removes the driver letter assignment during volume format and
mount because driver letter might run out and cause issues during mount.
Intead, it uses volume id to mount the target dir.
2020-09-01 23:01:32 -07:00
Davanum Srinivas
f5bb1d9860
Switch to klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-01 23:01:32 -07:00
Davanum Srinivas
93189a19bc
ignore golint for some stutter that we want to keep as-is
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-01 23:01:32 -07:00
Davanum Srinivas
e2ef310046
fix bad spelling
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-01 23:01:32 -07:00
Hemant Kumar
5f0ba4923c
Revert xfs_repair fix
2020-09-01 23:01:32 -07:00
Matt Boersma
d37a1749ed
Fix windows MountSensitive error
2020-09-01 23:01:32 -07:00
kvaps
3f4217bc69
Fix subPath mountpint check
2020-09-01 23:01:32 -07:00
saad-ali
6a662180ac
Fix mount_windows build error
2020-09-01 23:01:32 -07:00
saad-ali
8dd4fc79dc
Introduce paramater for sensitive mount options.
...
Introduce optional sensitiveOptions parameter to allow sensitive mount
options to be passed in a separate parameter from the normal mount
options and ensures the sensitiveOptions are never logged.
2020-09-01 23:01:32 -07:00
David Zhu
5d34e5006a
FormatAndMount unit test only checks for MountErrorValue now and closed gaps for some error values
2020-09-01 23:01:32 -07:00
David Zhu
99f567aa7a
Add more detailed error output when disk formatting fails
2020-09-01 23:01:32 -07:00
Davanum Srinivas
0f9a3f756b
Split MajorMinor into two fields
...
this reflects what is in the docker/docker/pkg/mount API. makes it
easier to port additional code to out API.
2020-09-01 23:01:32 -07:00
Lou
241ff06ccc
update after review
...
Signed-off-by: Lou <luogj@cn.ibm.com>
2020-09-01 23:01:32 -07:00
Lou
3651c2ef51
use xfs_repair to check and repair xfs filesystem
...
Signed-off-by: Lou <luogj@cn.ibm.com>
2020-09-01 23:01:32 -07:00
Hemant Kumar
51e2ee9753
Return typed error when Mount Fails
...
Mount can fail for a variety of reasons and caller might want to know
why mount failed. Using untyped string based error does not provide
enough granularity to make that verification.
2020-09-01 23:01:32 -07:00
Maxime VISONNEAU
0e8dbc2c1e
Validate the existence of filesystem before attempting to mount it (linux)
2020-09-01 23:01:32 -07:00
SataQiu
82a590b2d5
feature: implement Output method for FakeCmd
2020-09-01 23:01:32 -07:00
Travis Rhoden
b221620e59
Fix golint errors
...
Add mount package to hack/.golint_failures to ignore stuttering errors.
2020-09-01 23:01:32 -07:00
Travis Rhoden
ac9fc13761
Update doc.go to show k8s.io/utils
2020-09-01 23:01:32 -07:00
Travis Rhoden
0abe151fe8
Extract pkg/util/mount and drop BUILD
...
Preserving git history.
2020-09-01 23:01:32 -07:00
Kubernetes Prow Robot
0d2205f515
Merge pull request #94376 from mkumatag/patch-2
...
Skip TestLoopbackHostPortIPv6 run on non-IPv6 env
2020-09-01 19:41:53 -07:00
Kubernetes Prow Robot
a69c4cb5f1
Merge pull request #94355 from feiskyer/fix-94354
...
Ensure getPrimaryInterfaceID not panic when network interfaces for Azure VMSS are null
2020-09-01 19:41:43 -07:00
Kubernetes Prow Robot
f19118eea8
Merge pull request #94111 from giuseppe/fix-cgroup-v2-cgroupfs-path
...
kubelet, cgroupv2: do not create /sys/fs/cgroup/sys with cgroupfs
2020-09-01 19:41:33 -07:00
Kubernetes Prow Robot
0c233eb621
Merge pull request #93962 from phiphi282/phiphi/fix-azure-delete-lb
...
Fix deleting loadbalancer after resource group in azure
2020-09-01 19:41:19 -07:00
Kubernetes Prow Robot
dd6c53d035
Merge pull request #93946 from alexzimmer96/68026-pkg-controller-resourcequota
...
Refactor pkg/controllers/resourcequota to fix golint errors
2020-09-01 19:41:06 -07:00
Kubernetes Prow Robot
d5e2db896e
Merge pull request #94395 from rosti/kubeadm-ensure-etcd-upgrades
...
kubeadm: Ensure etcd manifests are regenerated upon upgrade
2020-09-01 18:44:38 -07:00
Kubernetes Prow Robot
3cb89eb948
Merge pull request #94373 from MHBauer/fix-94370
...
relax matcher for ResourceMetricsAPI test
2020-09-01 18:44:28 -07:00
Kubernetes Prow Robot
4deebd481d
Merge pull request #94372 from mikkeloscar/stabilization-window-seconds-optional-omitempty
...
autoscaling: Omit optional field `StabilizationWindowSeconds` when empty
2020-09-01 18:44:19 -07:00
Kubernetes Prow Robot
433c3d57cc
Merge pull request #94309 from liggitt/deprioritize-extensions
...
Deprioritize extensions/v1beta1 in discovery
2020-09-01 18:44:09 -07:00
Kubernetes Prow Robot
6e663379ed
Merge pull request #94204 from tkashem/impersonation-with-apf
...
Impersonated user with a specified group should not fail flow schema match in Priority & Fairness
2020-09-01 18:44:00 -07:00
Kubernetes Prow Robot
163504e9ae
Merge pull request #94107 from robscott/kube-proxy-source-ranges-fix
...
Updating kube-proxy to trim space from loadBalancerSourceRanges
2020-09-01 18:43:51 -07:00
Kubernetes Prow Robot
19820b7bf1
Merge pull request #93876 from jsafrane/fix-wait-errormsg
...
Fix waiting for PVC to get bound
2020-09-01 18:43:42 -07:00
Kubernetes Prow Robot
db10d8c942
Merge pull request #93773 from knight42/fix/kubelet-concurrent-map-writes
...
fix(kubelet): protect `containerCleanupInfos` from concurrent map writes
2020-09-01 18:43:27 -07:00
Kubernetes Prow Robot
5a7970a42b
Merge pull request #93646 from gobomb/fix-panic-defer
...
let panics propagate up when processLoop in informer controller panic in client-go
2020-09-01 18:43:13 -07:00
Kubernetes Prow Robot
67e7d5897e
Merge pull request #93548 from smarterclayton/patch_file
...
kubectl: Allow --patch-file to be passed to `kubectl patch`
2020-09-01 18:43:06 -07:00
Shihang Zhang
38f040c0a8
bind metadata proxy to 0.0.0.0
2020-09-01 18:34:02 -07:00
Swetha Repakula
e6428ae214
Add e2e multiple endpoint services test
...
- ensures that when multiple services with the same selector will
function even if one of the services is deleted
2020-09-01 16:36:33 -07:00
Kubernetes Prow Robot
a0eb9d146a
Merge pull request #94272 from RainbowMango/pr_remove_deprecated_endpoint
...
remove deprecated kubelet endpoint /metrics/resource/v1alpha1
2020-09-01 16:35:34 -07:00
Kubernetes Prow Robot
82475c3186
Merge pull request #94126 from andyzhangx/windows-azurefile-mountoptions
...
fix: use sensitiveOptions on Windows mount
2020-09-01 16:35:20 -07:00
Kubernetes Prow Robot
6e7086d7ca
Merge pull request #93638 from sbangari/refcountfix3
...
Avoid dereferencing same endpoint twice on the deletion or update of a service
2020-09-01 16:35:06 -07:00
Andrew Lytvynov
9269da53f3
spdy: add optional periodic Pings on the connection
...
When an SPDY connection goes over an intermediate box (proxy or load
balancer, e.g. AWS ELB), it can get interrupted due to idleness (default
in ELB is 60s). For example, this happens with `kubectl exec` sessions
are left open without any activity for a while.
TCP-level keep-alives are not sufficient for all intermediate boxes,
they may pay attention to application-layer traffic only. SPDY pings
make the connection appear active, letting it survive a period of
idleness.
Note: this commit adds support for pings in
`k8s.io/apimachinery/pkg/util/httpstream/spdy`, but doesn't enable it
anywhere in the calling code. There is no behavior change for existing
callers.
2020-09-01 16:05:26 -07:00
M. Habib Rosyad
9444a2f2f6
fix vendor/k8s.io/apimachinery/pkg/conversion staticcheck
2020-09-02 05:58:41 +07:00
Kubernetes Prow Robot
b49724d5fc
Merge pull request #94287 from jingyih/update_etcd_server_3p4p13
...
Update default etcd server to 3.4.13
2020-09-01 15:35:20 -07:00
Kubernetes Prow Robot
ea7cd3b354
Merge pull request #92796 from andyxning/code_clean_for_podgc
...
code clean for podgc
2020-09-01 15:35:06 -07:00
Michael Gugino
8d2a2ffe01
Handle eviction of pods in deleted namespace
...
If a pod is already marked deleted, and the eviction
api returns an unauthorized response, ignore that
error since the pod is marked for deletion already.
If the pod is not already marked deleted, retry.
2020-09-01 15:52:42 -04:00
Ryan Phillips
93f62dad6c
drain: eviction creates in a deleting namespace will throw a forbidden error
...
we can safely ignore this error since a deleting namespace will delete
all pods
2020-09-01 15:51:15 -04:00
janeczku
e1f4bfe1db
Fixed reflector not recovering from "Too large resource version" errors with API servers 1.17.0-1.18.5
2020-09-01 21:18:03 +02:00
wojtekt
2539912a22
Stop setting SelfLink in kube-apiserver.
2020-09-01 20:57:38 +02:00
Kevin Delgado
7e7ee9011a
Fix FakeClock::Reset to always succeed
...
Current FakeClock::Reset only successfully resets the timer and
returns true when the timer has neither fired nore been stopped.
This is incorrect behavior as real clocks allow for reseting
in both of those situations (as long has the channel has been drained).
This is useful in tests that use a fake clock to test
wait.BackofManager, as the timer resets after each iteration of
Backoff() after the timer has already fired.
2020-09-01 17:55:55 +00:00
Andrew Sy Kim
bd109192fb
add myself to sig-node-reviewers
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-09-01 13:39:39 -04:00