uhari03
016b96ca38
Issue 105353: Add messages+details to audit logs response ( #105415 )
2022-02-23 17:53:33 -08:00
Kubernetes Prow Robot
2fcdbd098c
Merge pull request #107993 from deads2k/simplify
...
prevent enabling beta by default for new api groups
2022-02-23 16:03:35 -08:00
Kubernetes Prow Robot
77eb1a03df
Merge pull request #94637 from liggitt/namespace-before-admission
...
set/validate object namespace before admission
2022-02-23 14:35:58 -08:00
Kubernetes Prow Robot
08c31088c1
Merge pull request #106858 from cmssczy/add_RegisterWithTaints_validation_test
...
add kubelet config validation test for RegisterWithTaints
2022-02-23 12:51:58 -08:00
Kubernetes Prow Robot
08d32851fe
Merge pull request #108262 from tkashem/retry-unit-test
...
client-go: add unit test to verify order of calls with retry
2022-02-23 11:46:08 -08:00
Kubernetes Prow Robot
6d1c9a98ef
Merge pull request #108104 from pbetkier/autoscaling-e2e-resource-consumer-fix
...
e2e: Fix ResourceConsumer unstable request interval
2022-02-23 11:45:57 -08:00
David Eads
1afcc31b1b
add integration test to prevent new beta APIs from being enabled by default
2022-02-23 13:51:43 -05:00
David Eads
af99d192cf
prevent enabling beta by default for new api groups
2022-02-23 13:51:43 -05:00
David Eads
a59b92e8c0
reduce API surface area of whether a resource is enabled
2022-02-23 13:36:33 -05:00
Kubernetes Prow Robot
25ccc48c60
Merge pull request #106911 from aojea/client_go_metrics
...
Update client-go latency metrics bucket
2022-02-23 10:20:18 -08:00
Kubernetes Prow Robot
b435061c80
Merge pull request #108186 from p0lyn0mial/watch-list-reduce-allocations-in-watch-server
...
reduce the number of allocations in the WatchServer during objects serialisation
2022-02-23 09:04:19 -08:00
Jordan Liggitt
e731ccd650
Update storage/handler unit tests to set / expect namespace in object
2022-02-23 11:12:28 -05:00
Jordan Liggitt
92422a7305
set/validate object namespace before admission
2022-02-23 11:12:27 -05:00
Kubernetes Prow Robot
343125cc6c
Merge pull request #107997 from d-honeybadger/fix-tracking-cronjob-owned-jobs
...
Fix cronjob status reconciliation when job template labels change
2022-02-23 07:14:18 -08:00
Antonio Ojea
bebf5a608f
client-go: remove no longer used finalURLTemplate
...
The restclient metrics were updated to track only the host field of the
url, the finalURLTemplate is not longer needed, its only goal was to
replace name and namespace in the path to avoid cardinality.
2022-02-23 15:36:05 +01:00
Antonio Ojea
227deba223
update buckets for client-go latency metrics
...
Current request latency metrics have the following buckets:
0.001, 0.002, 0.004, 0.008, 0.016, 0.032, 0.064, 0.128, 0.256, 0.512
That has two much granularity for http requests, and it gets capped to
aprox half seconds, loosing visibility on the requests that may be more
interested, the ones that take more than 1 second.
Using the same used for etcd request latency, with the same upper and
lower limits than the ones used in the apiserver, but only adding one
bucket more.
[]float64{0.005, 0.025, 0.1, 0.25, 0.5, 1.0, 2.0, 4.0, 8.0, 15.0, 30.0, 60.0},
2022-02-23 15:35:50 +01:00
d-honeybadger
fb094dc44e
cronjob_controllerv2: do not filter jobs to be reconciled by labels
2022-02-23 09:10:33 -05:00
Lukasz Szaszkiewicz
9dd77ac017
introduces a new streaming encoder that utilizes a memory allocator during objects serialization
2022-02-23 14:38:29 +01:00
Lukasz Szaszkiewicz
034868e6af
fixes TestNestedEncodeError test
2022-02-23 14:38:29 +01:00
Lukasz Szaszkiewicz
52de201b0f
introduces a memory allocator
...
The primary use case for the allocator is to reduce cost of object serialization.
Initially it will be used by the protobuf serializer.
This approach puts less load on GC and leads to less fragmented memory in general.
2022-02-23 14:38:29 +01:00
Lukasz Szaszkiewicz
32ca2b881d
provides EncodeWithAllocator method for the protobuf encoder
...
The new method allows for providing a memory allocator for efficient memory usage during object serialization.
2022-02-23 14:38:23 +01:00
Lukasz Szaszkiewicz
81cf096751
codec: exposes EncodeWithAllocator method
...
The new method is implemented by the protobuf serializer and helps to reduce memory footprint during object serialization.
2022-02-23 11:06:25 +01:00
Lukasz Szaszkiewicz
f3d5f42aa4
codec interfaces
2022-02-23 11:06:25 +01:00
Lukasz Szaszkiewicz
eda1b0c68e
update the watch server to use EncoderWithAllocator during object serialization.
...
It allows us to allocate a single buffer for the entire watch session and release it when a watch connection is closed.
Previously memory was allocated for every object serialization putting a lot of pressure on GC and consuming more memory than needed.
2022-02-23 11:06:17 +01:00
Kubernetes Prow Robot
296bf4f016
Merge pull request #108230 from sanposhiho/fake-extender-name
...
Support ExtenderName in FakeExtender
2022-02-22 21:36:18 -08:00
Kubernetes Prow Robot
eacbf87bfe
Merge pull request #108156 from jsafrane/rename-selinuxsupport
...
Rename SupportsSELinux to SELinuxRelabel
2022-02-22 20:12:20 -08:00
sanposhiho
0b16a7fefa
Support ExtenderName in FakeExtender
2022-02-23 12:14:39 +09:00
Kubernetes Prow Robot
5211a4b214
Merge pull request #103061 from SergeyKanzhelev/removeAlphaRuntimeClass
...
Remove RuntimeClass feature gate and stop serving older versions of RuntimeClass
2022-02-22 19:08:18 -08:00
Kubernetes Prow Robot
bb610d0816
Merge pull request #108280 from liggitt/secrets
...
Update secrets field API doc
2022-02-22 17:48:18 -08:00
Kubernetes Prow Robot
8f3636e8ac
Merge pull request #108224 from danwinship/kube-proxy-logging
...
Only log full iptables-restore input at V(9)
2022-02-22 16:42:18 -08:00
Abu Kashem
f6a66bbe05
client-go: add unit test to verify order of calls
2022-02-22 18:10:48 -05:00
Kubernetes Prow Robot
a2adaf75b7
Merge pull request #108205 from dkkb/fix/typo
...
Fix typo allcoated -> allocated
2022-02-22 14:35:03 -08:00
Kubernetes Prow Robot
44241bacca
Merge pull request #108239 from Abirdcfly/master
...
delete redundant characters in comment
2022-02-22 13:25:16 -08:00
Kubernetes Prow Robot
86945d7e74
Merge pull request #107431 from justaugustus/rel-mgr
...
OWNERS(releng): Reconcile existing Release Managers
2022-02-22 11:39:16 -08:00
Sergey Kanzhelev
06ee2969ef
do not serve node.k8s.io, version v1alpha1
2022-02-22 18:30:24 +00:00
Sergey Kanzhelev
939e16cbf3
Remove RuntimeClass feature gate as it was GA-ed
2022-02-22 18:29:06 +00:00
Kubernetes Prow Robot
b917653296
Merge pull request #108263 from deads2k/more-resthandlers
...
migrate more rest handlers to select by resource enablement
2022-02-22 10:15:16 -08:00
Jordan Liggitt
6b09e232cd
Update secrets field API doc
2022-02-22 13:12:03 -05:00
David Eads
0ec20f97d2
migrate more rest handlers to select by resource enablement
2022-02-22 12:07:43 -05:00
Kubernetes Prow Robot
108e8136e2
Merge pull request #107393 from danwinship/filter-endpoints
...
kube-proxy endpoint filtering unit test refactoring
2022-02-22 08:55:15 -08:00
Dan Winship
9483c272f4
Log metadata about kube-proxy iptables-restore calls
...
For each iptables-restore call, log the number of services, endpoints,
filter chains, filter rules, NAT chains, and NAT rules in the update
at V(2), in addition to logging the actual rules if V(9).
2022-02-22 08:29:25 -05:00
Kubernetes Prow Robot
d5c26190ac
Merge pull request #108160 from adisky/fix-pull-node-e2e
...
[Fix pull-local-node-e2e] Install CNI and Enable containerd for kubekins docker
2022-02-22 04:35:47 -08:00
Aditi Sharma
98b19dc2e8
Add support to install cni and enable cri
...
to run pull-kubernetes-local-e2e on containerd
we need to install cni and enable cri for docker
installed in kubekins image
2022-02-22 09:22:19 +05:30
Kubernetes Prow Robot
267272efe0
Merge pull request #108251 from danwinship/iptables-tests-cleanup
...
iptables tests cleanup
2022-02-21 09:56:12 -08:00
Kubernetes Prow Robot
cf04a35e2a
Merge pull request #108211 from stevekuznetsov/skuznets/watcher-test-subtests
...
storage: etcd: misc Watch test cleanups
2022-02-21 07:46:26 -08:00
Kubernetes Prow Robot
bda996e6a7
Merge pull request #107105 from justaugustus/go118
...
golang: Update to go1.18rc1
2022-02-21 07:46:15 -08:00
Kubernetes Prow Robot
4924ef8a7c
Merge pull request #108110 from SubhasmitaSw/cloMonitorFix
...
Update our repository to incorporate project health best practices from clomonitor.io
2022-02-21 06:34:25 -08:00
Kubernetes Prow Robot
f50e076756
Merge pull request #107590 from ialidzhikov/golint/credentialprovider-plugin
...
Nit: Replace `errors.New(fmt.Sprintf(...))` with `fmt.Errorf(...)`
2022-02-21 06:34:14 -08:00
Dan Winship
d830ef6112
proxy/iptables: add HealthCheckNodePorts to unit tests that need them
...
To avoid spurious errors in the test output:
E0114 08:43:27.453974 3718376 service.go:221] "Service has no healthcheck nodeport" service="ns1/svc1"
2022-02-21 09:16:23 -05:00
Dan Winship
d74df127e9
proxy/iptables: Fix up IPs and ports in unit tests
...
All of the tests used a localDetector that considered the pod IP range
to be 10.0.0.0/24, but lots of the tests used pod IPs in 10.180.0.0/16
or 10.0.1.0/24, meaning the generated iptables rules were somewhat
inconsistent. Fix this by expanding the localDetector's pod IP range
to 10.0.0.0/8. (Changing the pod IPs to all be in 10.0.0.0/24 instead
would be a much larger change since it would result in the SEP chain
names changing.)
Meanwhile, the different tests were also horribly inconsistent about
what values they used for other IPs, and some of them even used the
same IPs (or ports) for different things in the same test case. Fix
these all up and create a consistent set of IP assignments:
// Pod IPs: 10.0.0.0/8
// Service ClusterIPs: 172.30.0.0/16
// Node IPs: 192.168.0.0/24
// Local Node IP: 192.168.0.2
// Service ExternalIPs: 192.168.99.0/24
// LoadBalancer IPs: 1.2.3.4, 5.6.7.8, 9.10.11.12
// Non-cluster IPs: 203.0.113.0/24
// LB Source Range: 203.0.113.0/25
2022-02-21 09:16:22 -05:00