Commit Graph

111183 Commits

Author SHA1 Message Date
Jason Simmons
5a6acf85fa Align lifecycle handlers and probes
Align the behavior of HTTP-based lifecycle handlers and HTTP-based
probers, converging on the probers implementation. This fixes multiple
deficiencies in the current implementation of lifecycle handlers
surrounding what functionality is available.

The functionality is gated by the features.ConsistentHTTPGetHandlers feature gate.
2022-10-19 09:51:52 -07:00
Kubernetes Prow Robot
429f71d958
Merge pull request #113154 from BenTheElder/no-import-please
remove gopkg widget
2022-10-18 20:59:11 -07:00
Kubernetes Prow Robot
33bc8750fb
Merge pull request #113024 from alexzielenski/explain-output-openapiv3
kubectl explain openapiv3 template foundations
2022-10-18 20:59:00 -07:00
Kubernetes Prow Robot
b6d89e756a
Merge pull request #112571 from claudiubelu/fix-nested-mountpoints
Fixes getNestedMountpoints grouping
2022-10-18 18:57:11 -07:00
Mohammad Zuber Khan
f86acbad68
add superuser fallback to authorizer (#111558)
* add superuser fallback to authorizer

* change the order of authorizers

* change the order of authorizers

* remove the duplicate superuser authorizer

* add integration test for superuser permissions
2022-10-18 18:57:00 -07:00
Benjamin Elder
c6e5fd4679 remove gopkg widget
this suggests that you should read the godocs for *this* repo, when importing this repo is *not* supported

isntead, users should read the docs for staging/ repos

we already have a link to kubernetes.io for general docs
2022-10-18 16:52:38 -07:00
Kubernetes Prow Robot
7dee7c8a6f
Merge pull request #113148 from logicalhan/merge-buckets
move MergeBuckets into component-base so we can properly support it for static-analysis
2022-10-18 16:27:19 -07:00
Kubernetes Prow Robot
6be327c053
Merge pull request #113046 from jsafrane/add-multiplepv-cap
Add capability for tests with multiple PVs with the same VolumeHandle
2022-10-18 16:27:12 -07:00
Kubernetes Prow Robot
5cb9622347
Merge pull request #111344 from aojea/kproxy_node_cidr
kube-proxy react on Node PodCIDR changes
2022-10-18 16:27:00 -07:00
Kubernetes Prow Robot
859ada198f
Merge pull request #112979 from dashpole/fix_tracing_crash
Fix bug in which APIServerTracing did not work with some egress selectors
2022-10-18 15:07:12 -07:00
Kubernetes Prow Robot
deee0cb74b
Merge pull request #112972 from andyzhangx/fsck-error-msg
print error message when fsck failed
2022-10-18 15:07:01 -07:00
Kubernetes Prow Robot
48dbfffaf6
Merge pull request #113111 from liggitt/selinux-msg
Fix SELinux PodSecurity message when only user or role are set
2022-10-18 14:01:12 -07:00
Kubernetes Prow Robot
fe9c94ec02
Merge pull request #111957 from ii/create-resourcequota-status-test
Write e2e test for ResourceQuota status +3 Endpoints
2022-10-18 14:01:00 -07:00
Han Kang
3d3ac6ad72 add buckets.go to prometheus import allowlsit
Change-Id: Ifd497f93614536fdcf3bc7d73505d322bf57f123
2022-10-18 13:42:28 -07:00
David Ashpole
00bcd6cf01
Fix bug in which APIServerTracing did not work with some egress selectors 2022-10-18 19:41:07 +00:00
Kubernetes Prow Robot
6ca045dce1
Merge pull request #113087 from dims/update-ecr-url-validation
(aws_credentials): update ecr url validation regex
2022-10-18 12:35:25 -07:00
Kubernetes Prow Robot
0be68925f5
Merge pull request #108959 from astraw99/fix-duplicate-list
Fix duplicate code block of `ListAll` function
2022-10-18 12:35:12 -07:00
Antonio Ojea
75913e9949 kube-proxy wait for cluster cidr skip delete events 2022-10-18 19:29:09 +00:00
Antonio Ojea
a38b9363ec kube-proxy handle node PodCIDR changs
Kube/proxy, in NodeCIDR local detector mode, uses the node.Spec.PodCIDRs
field to build the Services iptables rules.

The Node object depends on the kubelet, but if kube-proxy runs as a
static pods or as a standalone binary, it is not possible to guarantee
that the values obtained at bootsrap are valid, causing traffic outages.

Kube-proxy has to react on node changes to avoid this problems, it
simply restarts if detect that the node PodCIDRs have changed.

In case that the Node has been deleted, kube-proxy will only log an
error and keep working, since it may break graceful shutdowns of the
node.
2022-10-18 19:25:40 +00:00
Antonio Ojea
cf532a8e36 kube-proxy: gate topology correctly 2022-10-18 19:25:40 +00:00
Kubernetes Prow Robot
1ab1b0af6e
Merge pull request #113118 from enj/enj/i/prefix_transformers_alloc
prefixTransformers: allocate after transformation length is known
2022-10-18 11:29:38 -07:00
Kubernetes Prow Robot
2522420937
Merge pull request #111601 from claudiubelu/skip-unittests
unit tests: Skip Windows-unrelated tests on Windows
2022-10-18 11:29:30 -07:00
Kubernetes Prow Robot
424a98ccc2
Merge pull request #109662 from astraw99/fix-prebind-pvc-update
Replace `DeepEqual` to `Diff` compare on scheduler-binding
2022-10-18 11:29:18 -07:00
Han Kang
287738c125 move MergeBuckets into component-base so we can properly support it for static-analysis
Change-Id: I137413b5b0328487a7bcd70eca79a8b0ae6dea51
2022-10-18 10:55:09 -07:00
Kubernetes Prow Robot
ceee3783ed
Merge pull request #113132 from ruquanzhao/fixtypo
fix typo in Makefile
2022-10-18 10:23:30 -07:00
Kubernetes Prow Robot
23721935d3
Merge pull request #113129 from chaunceyjiang/pr_remove_redundant_conversion
Remove redundant type conversion
2022-10-18 10:23:19 -07:00
Kubernetes Prow Robot
8186ebd374
Merge pull request #113135 from soltysh/fix_storage_timeouts
Wait for pod not running or gone in storage tests
2022-10-18 09:19:03 -07:00
Kubernetes Prow Robot
72ede5b5df
Merge pull request #113126 from alexzielenski/remove-unwanted-replace
remove errant replace from code-generator/examples/go.mod
2022-10-18 09:17:54 -07:00
Kubernetes Prow Robot
715e975afb
Merge pull request #113120 from enj/enj/i/value_owners
k8s.io/apiserver/pkg/storage/value: allow encryption-at-rest approval
2022-10-18 09:17:43 -07:00
Kubernetes Prow Robot
7c6821978d
Merge pull request #113107 from dims/bump-apiserver-healthz-upper-log-verbosity
Bump log level for health check warning for missing components
2022-10-18 09:17:31 -07:00
Kubernetes Prow Robot
843ad71cac
Merge pull request #113041 from saschagrunert/kubelet-pods-creation-time
Sort kubelet pods by their creation time
2022-10-18 09:17:19 -07:00
Kubernetes Prow Robot
deb6712358
Merge pull request #113137 from RomanBednar/restart-sync-unbound
restart claim sync when PVC is updated
2022-10-18 07:33:19 -07:00
Claudiu Belu
6e9f428547 Fixes getNestedMountpoints grouping
Currently, getNestedMountpoints sorts using sort.Strings, which would
sort the following strings in this exact order:

/dir/nested, /dir/nested-vol, /dir/nested.vol, /dir/nested/double, /dir/nested2

Because of this, "nested/double" is returned as well, even though it shouldn't
have been. This issue is worse on Windows, where the path separator is typically
the backslash.

This commit addresses this issue by checking if a nested mount point has been
previously seen or not.
2022-10-18 15:19:17 +03:00
Kubernetes Prow Robot
21049c2a12
Merge pull request #112966 from LJTian/master
Update GO address link
2022-10-18 04:45:20 -07:00
Jan Safranek
bda42b6b53 Add capability for tests with multiple PVs with the same VolumeHandle
Some CSI drivers do not like multiple PVs with the same VolumeHandle,
therefore make that tests optional.
2022-10-18 13:44:54 +02:00
Maciej Szulik
f2b9479f8e
Wait for pod not running or gone in storage tests 2022-10-18 13:18:54 +02:00
Claudiu Belu
af77381e01 unit tests: Skip Windows-unrelated tests on Windows
Some of the unit tests cannot pass on Windows due to various reasons:

- fsnotify does not have a Windows implementation.
- Proxy Mode IPVS not supported on Windows.
- Seccomp not supported on Windows.
- VolumeMode=Block is not supported on Windows.
- iSCSI volumes are mounted differently on Windows, and iscsiadm is a
  Linux utility.
2022-10-18 12:43:07 +03:00
RuquanZhao
a2a2d5c13b fix typo in Makefile
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2022-10-18 16:33:35 +08:00
chaunceyjiang
d2b372e029 Remove redundant type conversion
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-18 14:37:40 +08:00
Kubernetes Prow Robot
83415e5c9e
Merge pull request #113125 from daschott/daschott/winkernel_owners
added daschott to proxier/winkernel owners
2022-10-17 19:53:40 -07:00
Kubernetes Prow Robot
6d48919af2
Merge pull request #113123 from logicalhan/ordered-output
order the output for stable metrics since we're supporting more than just stable now
2022-10-17 19:53:29 -07:00
Kubernetes Prow Robot
2b6abb1b33
Merge pull request #113113 from kerthcet/fix/metics-in-scheduler
Fix metrics time durations in schedulerCycle and bindingCycle
2022-10-17 19:53:17 -07:00
Stephen Heywood
ae2312fba8 Create e2e test for ResourceQuota status endpoints
e2e test validates the following 3 endpoints
- patchCoreV1NamespacedResourceQuotaStatus
- readCoreV1NamespacedResourceQuotaStatus
- replaceCoreV1ResourceQuotaForAllNamespacesStatus
2022-10-18 15:16:03 +13:00
Alexander Zielenski
d7c5b4d2fb
remove errant replace
this line somehow snuck into #112988
2022-10-17 18:36:28 -07:00
Kubernetes Prow Robot
51185b77a3
Merge pull request #112901 from vinaykul/ubuntu-kube-up-fix
Fix 'ctr not found' error with gce kube-up for Ubuntu OS deployments
2022-10-17 18:05:18 -07:00
Alexander Zielenski
0cf7240f31
unit test v2 explain package
update
2022-10-17 17:33:48 -07:00
Alexander Zielenski
2f16cd4aea
add KUBECTL_EXPLAIN_OPENAPIV3 envar to gate new explain implementation
update
2022-10-17 17:33:48 -07:00
Alexander Zielenski
a9c093b165
openapi v3 basic renderer 2022-10-17 17:01:17 -07:00
Kubernetes Prow Robot
507cf76570
Merge pull request #113117 from logicalhan/merged-buckets
add support for merging calls to Linear/Exponential Buckets
2022-10-17 16:59:36 -07:00
Kubernetes Prow Robot
5075ca03dd
Merge pull request #113115 from logicalhan/x509
actually resolve the computations for buckets for static analysis
2022-10-17 16:59:29 -07:00