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
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
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
Lubomir I. Ivanov
d9441906c4
kubeadm: make the scheduler and KCM connect to local endpoint
...
Pinning the kube-controller-manager and kube-scheduler kubeconfig files
to point to the control-plane-endpoint can be problematic during
immutable upgrades if one of these components ends up contacting an N-1
kube-apiserver:
https://kubernetes.io/docs/setup/release/version-skew-policy/#kube-controller-manager-kube-scheduler-and-cloud-controller-manager
For example, the components can send a request for a non-existing API
version.
Instead of using the CPE for these components, use the LocalAPIEndpoint.
This guarantees that the components would talk to the local
kube-apiserver, which should be the same version, unless the user
explicitly patched manifests.
2020-09-01 19:38:28 +03:00
Rostislav M. Georgiev
3bef5d2e0b
kubeadm: Ensure etcd manifests are regenerated upon upgrade
...
A check that verifies that kubeadm does not "upgrade" to an older release was
overly optimized by skipping upgrade if the new version is the same as the old
one. This somewhat makes sense, but that way changes in any of the etcd fields
in the ClusterConfiguration won't be applied if the etcd version is not
changed.
Hence, this simple change ensures that the upgrade is done even when no version
change takes place.
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2020-09-01 15:47:33 +03:00
Maciej Borsz
43f5afe1a1
Add WatchListPageSize to cache.Config
...
Currently there is no way to specify WatchListPageSize used by Controller. This PR adds a field that can be used to specify this.
Change-Id: I241454a45dd94d3ea65a91b297f530e217f843aa
2020-09-01 12:51:36 +02:00
Kubernetes Prow Robot
d159ae3545
Merge pull request #94353 from hs0210/work
...
Improve the prompt message when kubeadm init is successful
2020-09-01 03:43:50 -07:00
Phillip Stagnet
eed98104af
Allow 404 error on lb deletion in azure
...
When trying to delete a loadbalancer after all resources in azure
including the resource group have been deleted we currently get an an
error when trying to delete the loadbalancer afterwards because the
resource group hasn't been found.
Change EnsureLoadBalancerDeleted function to not fail when the resource
group has already been deleted.
2020-09-01 10:21:11 +02:00
loopever
847e59186a
fix typos in cmd/kubeadm
2020-09-01 10:09:45 +08:00
jornshen
9c8867f7a8
clean up testutil/metrics content
...
including:
1. use constant var MetricNameLabel to replace model.MetricNameLabel in ParseMetrics
2. remove function ExtractMetricSamples
2020-09-01 09:54:15 +08:00
Kubernetes Prow Robot
e23d83eead
Merge pull request #93710 from Jiawei0227/attachable2non
...
Detect volume attach-ability in the middle of attaching
2020-08-31 17:39:50 -07:00
Yuan Chen
f6f9bf3e76
Update comments in pkg/scheduler/framework/v1alpha1/interface.go
2020-08-31 15:51:42 -07:00
Kubernetes Prow Robot
fe67e85bbf
Merge pull request #93457 from ymmt2005/aware-deleting-pvc
...
Do not create StatefulSet pods when PVC is being deleted
2020-08-31 14:47:50 -07:00
Kubernetes Prow Robot
ed6ac4e438
Merge pull request #94367 from justaugustus/cni
...
Update CNI plugins to v0.8.7
2020-08-31 12:08:44 -07:00
Manjunath Kumatagi
a9c0c5a9de
Skip TestLoopbackHostPortIPv6 run on non-IPv6 env
2020-08-31 23:20:49 +05:30
Kubernetes Prow Robot
a28a692917
Merge pull request #94341 from liggitt/1.19-api-testdata
...
Update API testdata for 1.19.0
2020-08-31 10:32:21 -07:00