Commit Graph

105479 Commits

Author SHA1 Message Date
Tomas Smetana
c60f5e6dbc mount-utils: Detect potential stale file handle
This is a fix for the issue #97031. It may happen that a subpath mount
point on a networking FS gets deleted on the server but in the case of
some file systems (CIFS) it would make the stat syscall end with ENOENT,
preventing the mount point to be cleaned up and pods using the mount
can't be cleanly deleted.

This situation can be detected by calling also access syscall on the
same path: if there is a discrepancy between stat and access results,
treating the mount as corrupted allows for successful cleanup and
unmount.
2021-12-09 10:40:46 +01:00
wpedrak
183793cb27 Update version.txt only when necessary
Follow up on https://github.com/kubernetes/kubernetes/pull/106653
2021-12-09 10:09:49 +01:00
Kubernetes Prow Robot
f98f27bc2f
Merge pull request #106891 from neolit123/1.24-kubeadm-fix-external-etcd-ca-validation
kubeadm: validate local etcd certficates during expiration checks
2021-12-09 00:24:09 -08:00
Wojciech Tyczyński
29d9683cd0 Remove support for Endpoints and ConfigMaps lock from leader election 2021-12-09 09:23:44 +01:00
Jian Zeng
fe448785b5 fix: remove insecure flag from configure-kubeapiserver.sh
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-09 15:06:52 +08:00
haoyun
cd3bafc2ed cleanup: remove insecure flag
Signed-off-by: haoyun <yun.hao@daocloud.io>
2021-12-09 12:36:29 +08:00
Anago GCB
30e588c5fe CHANGELOG: Update directory for v1.24.0-alpha.1 release 2021-12-09 03:55:16 +00:00
Kubernetes Prow Robot
a8e06cf2bf
Merge pull request #106473 from Dingshujie/fix_inotify_memory_leak
update k/utils to v0.0.0-20211116205334-6203023598ed to fix inotify memory leak
2021-12-08 19:32:09 -08:00
Kubernetes Prow Robot
c732444905
Merge pull request #106868 from pacoxu/v1.23.0-api-testdata
Add V1.23.0 api compatibility testdata
2021-12-08 16:38:10 -08:00
Kubernetes Prow Robot
cdf3ad823a
Merge pull request #97252 from dims/drop-dockershim
Completely remove in-tree dockershim from kubelet
2021-12-08 12:51:46 -08:00
Kubernetes Prow Robot
8f91d09865
Merge pull request #106878 from humblec/rbd-1
rbd: initialize ceph monitors slice with an empty value.
2021-12-08 11:47:55 -08:00
Kubernetes Prow Robot
f6cebd2dd1
Merge pull request #106683 from panslava/rbs-annotation
Disable GCE external load balancer when services handled by Ingress-GCE
2021-12-08 11:47:48 -08:00
Andy Goldstein
04aa8f9dcd
Improve pathrecorder duplicate registration info
Print information from both the original path registration and the new
path registration stack traces when encountering a duplicate. This helps
the developer determine where the duplication is coming from and makes
it much easier to resolve.

Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2021-12-08 14:39:42 -05:00
Lubomir I. Ivanov
c78afc695b kubeadm: print the CA of kubeconfig files in "check expiration"
Apply a small fix to ensure the kubeconfig files
that kubeadm manages have a CA when printed in the table
of the "check expiration" command. "CAName" is the field used for that.

In practice kubeconfig files can contain multiple credentials
from different CAs, but this is not supported by kubeadm and there
is a single cluster CA that signs the single client cert/key
in kubeadm managed kubeconfigs.
2021-12-08 20:50:23 +02:00
Lubomir I. Ivanov
6603cf6357 kubeadm: validate local etcd certficates during expiration checks
In case stacked etcd is used, the code that does expiration checks
does not validate if the etcd CA is "external" (missing key)
and if the etcd CA signed certificates are valid.

Add a new function UsingExternalEtcdCA() similar to existing functions
for the cluster CA and front-proxy CA, that performs the checks for
missing etcd CA key and certificate validity.

This function only runs for stacked etcd, since if etcd is external
kubeadm does not track any certs signed by that etcd CA.

This fixes a bug where the etcd CA will be reported as local even
if the etcd/ca.key is missing during "certs check-expiration".
2021-12-08 20:39:14 +02:00
Kubernetes Prow Robot
2daa3415ec
Merge pull request #106838 from mengjiao-liu/remove-NamespaceDefaultLabelName-feature-gate
Remove feature gate NamespaceDefaultLabelName
2021-12-08 08:53:46 -08:00
Jordan Liggitt
85756f5ace Direct v2betaX users to migrate to HPA v2 2021-12-08 10:55:31 -05:00
Kubernetes Prow Robot
9968b0eff0
Merge pull request #106797 from kidlj/fix_mapToUnstructured_todo
resolve TODO in mapToUnstructured and sliceToUnstructured
2021-12-08 05:35:46 -08:00
Davanum Srinivas
420145e529
drop things from vendor/ directory
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-08 08:07:03 -05:00
Jian Li
0585831400 remove TODOs in mapToUnstructured and sliceToUnstructured
They are not applicable anymore, see PR #106797
2021-12-08 18:09:54 +08:00
Kubernetes Prow Robot
c7c922cb86
Merge pull request #106764 from NikhilSharmaWe/betterOutputAPImc
Changed code to improve output for files under test/e2e/apimachinery
2021-12-08 00:44:05 -08:00
Kubernetes Prow Robot
1e706dcd6b
Merge pull request #106722 from kevindelgado/field-validation-apirefdoc
Update fieldValidation godoc
2021-12-08 00:43:58 -08:00
Kubernetes Prow Robot
d4c57acbb7
Merge pull request #106530 from FrankYang0529/sample-controller/use-update-status
feat(sample-controller): use UpdateStatus
2021-12-08 00:43:45 -08:00
Humble Chirammal
fa882f5aa4 rbd: initialize ceph monitors slice with an empty value.
In translation lib rbd pluin, the monitors slice is nil which
has to be initialized with an empty value. This commit address the same.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2021-12-08 14:07:20 +05:30
Kubernetes Prow Robot
f356ae4ad9
Merge pull request #101719 from SergeyKanzhelev/removeReallyCrashForTesting
Remove ReallyCrashForTesting and cleaned up some references to Handle…
2021-12-07 23:39:45 -08:00
calvin
fdf33a27c4 amend constant to kubelet 2021-12-08 14:17:34 +08:00
Ahmed Aghadi
93d858c46e
Improve checks for test/e2e/network and test/e2e/network/netpol (#106655) 2021-12-07 22:07:56 -08:00
Kubernetes Prow Robot
1d44a54505
Merge pull request #106559 from thockin/kfind-no-testdata
testdata dirs are not useful go code
2021-12-07 22:07:45 -08:00
Paco Xu
92ef070d3b Remove 1.21.0 API test data 2021-12-08 13:15:56 +08:00
Paco Xu
1865bfdaf0 Add v1.23.0 API testdata 2021-12-08 13:14:54 +08:00
Kubernetes Prow Robot
89f53538ff
Merge pull request #106854 from neolit123/1.24-fix-kubeadm-check-expiration-kubeconfig
kubeadm: avoid requiring a CA key during kubeconfig expiration checks
2021-12-07 20:57:44 -08:00
Kubernetes Prow Robot
b9977a7b17
Merge pull request #106851 from BinacsLee/binacs/cleanup-scheduler-profile
cleanup: return frameworkruntime.NewFramework directly
2021-12-07 19:28:52 -08:00
Kubernetes Prow Robot
68bd9994ae
Merge pull request #106833 from cpanato/go117
[go1.17] Update to go1.17.4
2021-12-07 19:28:44 -08:00
Kubernetes Prow Robot
f2239a836b
Merge pull request #106823 from justaugustus/pub-bot-approve
staging/publishing: Add justaugustus as approver + RelEng reviewers
2021-12-07 19:28:36 -08:00
Kubernetes Prow Robot
e39d78e2c5
Merge pull request #106786 from kidlj/fix_mapToUnstructured_error_message
fix mapToUnstructured error message: should be 'map' instead of 'struct' being converted
2021-12-07 19:28:29 -08:00
Kubernetes Prow Robot
6fb84b9d68
Merge pull request #106785 from kidlj/cleanup_typeFrom_made_twice
cleanup: use present typeFrom variable to avoid another reflect.TypeOf call
2021-12-07 19:28:22 -08:00
Kubernetes Prow Robot
0c379c895f
Merge pull request #106762 from jonyhy96/fix-openapi-flake
kubectl: combine assertion prevent npe in test
2021-12-07 19:28:14 -08:00
Kubernetes Prow Robot
d7f8234b6d
Merge pull request #106747 from ahg-g/ahg-test
Added an integration test for NodeResourcesFit scoring
2021-12-07 19:28:06 -08:00
Kubernetes Prow Robot
022d49dcbc
Merge pull request #106740 from wojtek-t/update_kubemark_clients
Update kubemark to use EndpointSlices and proper user-agents
2021-12-07 19:27:59 -08:00
Kubernetes Prow Robot
d7bcd8e7c0
Merge pull request #106737 from wojtek-t/cacher_events_processed_metrics
Add watchcache metrics to tracking its progress
2021-12-07 19:27:51 -08:00
Kubernetes Prow Robot
e8c327db5e
Merge pull request #106736 from pohly/sig-instrumentation-pohly
OWNERS: add pohly as SIG Instrumentation review and component-base/logs approver
2021-12-07 19:27:44 -08:00
Jian Zeng
9573b4a6b9
refactor(apiserver): remove the insecure flags
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-08 10:53:44 +08:00
Jian Zeng
c73d96ac87
refactor: remove the insecure flags in controller-manager
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-08 10:50:12 +08:00
Kubernetes Prow Robot
fbdd0d7b41
Merge pull request #106727 from MikeSpreitzer/fix-106726
Correct Generator calls for executing seat count
2021-12-07 18:27:38 -08:00
Kubernetes Prow Robot
874dc871a5
Merge pull request #106676 from HecarimV/fix-typo-2021112506
fix typo in /test/integration
2021-12-07 18:27:30 -08:00
Kubernetes Prow Robot
d16a5e5feb
Merge pull request #106673 from qmloong/qmloong/master
refactor: use utilerrors instead of join error msg
2021-12-07 18:27:22 -08:00
Kubernetes Prow Robot
4c3bcf52db
Merge pull request #106653 from wpedrak/resilient-version.txt
Make writing version.txt more resilient
2021-12-07 18:27:14 -08:00
Kubernetes Prow Robot
40b1fca316
Merge pull request #106646 from pohly/api-errors-nil
api/errors: explicitly allow nil error parameters
2021-12-07 18:27:07 -08:00
Kubernetes Prow Robot
4e00604934
Merge pull request #106641 from verult/delegate-fsgroup-disable-onrootmismatch-e2e
DelegateFSGroupToCSIDriver e2e: skip tests with chgrp
2021-12-07 18:26:59 -08:00
Kubernetes Prow Robot
793a67ec48
Merge pull request #106609 from mauriciopoppe/volume-metrics-fix-status-count-storage-e2e
Add status count to the existing storage_operation_duration_seconds histogram, remove volume_provision metric check
2021-12-07 18:26:51 -08:00