Commit Graph

93882 Commits

Author SHA1 Message Date
Anago GCB
33959ff0c0 CHANGELOG: Update directory for v1.16.15 release 2020-09-02 17:58:21 +00:00
Daniel Smith
a86afc12df update scripts 2020-09-02 10:49:40 -07:00
Daniel Smith
7bf2adade8 fix doc file 2020-09-02 10:48:26 -07:00
Daniel Smith
15e0e3e90e rename 2020-09-02 10:48:26 -07:00
Daniel Smith
1f0305fe1b partial 2020-09-02 10:48:26 -07:00
Daniel Smith
75f835aa08 move port definitions to a common location 2020-09-02 10:48:25 -07:00
Kubernetes Prow Robot
cc14d5f3a1
Merge pull request #94338 from JeremyShih/fix-golint-error-in-admissionregistration
fixed golint error in pkg/apis/admissionregistration/validation
2020-09-02 10:37:19 -07:00
Kubernetes Prow Robot
9631d96b04
Merge pull request #93406 from MikeSpreitzer/no-phantoms
Remove phantoms from dump_requests output
2020-09-02 10:37:05 -07:00
Kubernetes Prow Robot
90723ebbae
Merge pull request #93985 from MHBauer/fixes-93905
update test to match validation filter of pods
2020-09-02 09:03:21 -07:00
Kubernetes Prow Robot
80ada96466
Merge pull request #88349 from BenTheElder/shell-dump
fix cluster/log-dump/log-dump.sh shellcheck failures
2020-09-02 09:03:07 -07:00
Kubernetes Prow Robot
eb1fa66aac
Merge pull request #94387 from habibrosyad/patch-92402-9
fix vendor/k8s.io/apimachinery/pkg/conversion staticcheck
2020-09-02 06:59:07 -07:00
Kubernetes Prow Robot
e077b0ffa4
Merge pull request #94182 from mattfenwick/issue-94088
modify DNS-1123 error messages to indicate that RFC 1123 is not followed exactly
2020-09-02 06:03:07 -07:00
Matthew Fenwick
d407129cf7 modify DNS-1123 error messages to indicate that RFC 1123 is not followed exactly 2020-09-02 08:04:04 -04:00
Kubernetes Prow Robot
81bf1f8789
Merge pull request #90980 from AlexeyPerevalov/GetNUMANodeInfo
Avoid using socket for hints in generateCPUTopologyHints
2020-09-02 03:41:06 -07:00
Rostislav M. Georgiev
6e2a70eac7 kubeadm: Fix upgrade plan for air-gapped setups
A bug was discovered in the `enforceRequirements` func for `upgrade plan`.
If a command line argument that specifies the target Kubernetes version is
supplied, the returned `ClusterConfiguration` by `enforceRequirements` will
have its `KubernetesVersion` field set to the new version.
If no version was specified, the returned `KubernetesVersion` points to the
currently installed one.

This remained undetected for a couple of reasons
- It's only `upgrade plan` that allows for the version command line argument to
  be optional (in `upgrade plan` it's mandatory)
- Prior to 1.19, the implementation of `upgrade plan` did not make use of the
  `KubernetesVersion` returned by `enforceRequirements`.

`upgrade plan` supports this optional command line argument to enable
air-gapped setups (as not specifying a version on the command line will end up
looking for the latest version over the Interned).

Hence, the only option is to make `enforceRequirements` consistent in the
`upgrade plan` case and always return the currently installed version in the
`KubernetesVersion` field.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2020-09-02 12:52:02 +03:00
Kubernetes Prow Robot
5f79e91221
Merge pull request #94340 from ialidzhikov/fix/max-data-disk-count
Update max data disk count with new instance types
2020-09-02 02:38:08 -07:00
Kubernetes Prow Robot
fd2c584b8f
Merge pull request #94316 from janeczku/fix_reflector_stall_backwards_comp
Fix bug in reflector not detecting "Too large resource version" error
2020-09-02 02:37:59 -07:00
Kubernetes Prow Robot
54f3b85dc7
Merge pull request #94180 from feiskyer/fix-backoff
Ensure backoff step is set to 1 for Azure armclient
2020-09-02 02:37:49 -07:00
Kubernetes Prow Robot
e695b40db8
Merge pull request #93499 from ZeroMagic/azure-autorest
chore: upgrade Azure/go-autorest/autorest to v0.11.1
2020-09-02 02:37:35 -07:00
Kubernetes Prow Robot
eaa0fe2381
Merge pull request #93423 from prameshj/ilb-fix
Fix GCE ILB code to support protocol change
2020-09-02 02:37:21 -07:00
Kubernetes Prow Robot
08d62502fa
Merge pull request #93108 from lixiaobing1/lxb-HandleCrash2
fix HandleCrash() order
2020-09-02 02:37:06 -07:00
Kubernetes Prow Robot
c236285708
Merge pull request #93492 from zshihang/nolocal
bind metadata proxy to 0.0.0.0
2020-09-02 00:41:34 -07:00
Kubernetes Prow Robot
d2a0b6f2b8
Merge pull request #90014 from jacobmarble/aws-max-total-iops
AWS: remove volume IOPS limit
2020-09-02 00:41:20 -07:00
Kubernetes Prow Robot
bdcdfe42be
Merge pull request #89582 from fedepaol/testsctppolicy
Add SCTP Network Policy tests
2020-09-02 00:41:06 -07:00
Srini Brahmaroutu
5db0ae548f moving files from k8s.io/util/mount into staging/src/k8s.io/mount-utils 2020-09-01 23:25:28 -07:00
Kubernetes Prow Robot
d8eac8df28
Merge pull request #94317 from kevindelgado/draft/fix-fakeclock-reset
Fix FakeClock::Reset to always succeed
2020-09-01 23:13:22 -07:00
Kubernetes Prow Robot
27df218c72
Merge pull request #93702 from thtanaka/feature/fix-kubeadm-reset
kubeadm: reset don't unmount /var/lib/kubelet if it is mounted
2020-09-01 23:13:08 -07:00
andyzhangx
6f59f9db45 fix: return error with fewer mount options on Windows 2020-09-01 23:01:32 -07:00
andyzhangx
89fac93b43 fix: smb remount issue
typo

typo

add one logging
2020-09-01 23:01:32 -07:00
Jing Xu
37cdee17ee 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
Jing Xu
a9ea36e54e Revert "Merge pull request #166 from jingxu97/May/drivename"
This reverts commit 278ece378a5054f16a07622b51ddaf82b328d6e6, reversing
changes made to 2df71ebbae66f39338aed4cd0bb82d2212ee33cc.
2020-09-01 23:01:32 -07:00
andyzhangx
029074ef67 chore: add more logging for mklink on Windows
use volumeID var
2020-09-01 23:01:32 -07:00
andyzhangx
91a87aa690 fix: remove unnecessary readlink check in IsLikelyNotMountPoint on Windows
fix build failure

fix comments

fix build failure

fix comments
2020-09-01 23:01:32 -07:00
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