Patrick Ohly
5ca0814165
CSIStorageCapacity: use beta API
2021-03-08 20:52:50 +01:00
Patrick Ohly
e565951063
CSIStorageCapacity: register types unconditionally
...
That the object was registered depending on the feature gate was
called out as unusual during the 1.21 review. Previously, all beta
storage APIs were unders such feature gate checks, but its better to
drop that to be consistent with the rest of Kubernetes.
2021-03-08 20:52:50 +01:00
Patrick Ohly
a94c141060
CSIStorageCapacity: promote API to beta
...
The v1alpha1 API is left in place for now to ease the migration.
2021-03-08 20:52:50 +01:00
Patrick Ohly
504f105a9e
CSIStorageCapacity: prepare tests for enabling the feature by default
...
Defaults and validation are such that the field has to be set when
the feature is enabled, just as for the other boolean fields. This
was missing in some tests, which was okay as long as they ran
with the feature disabled. Once it gets enabled, validation will
flag the missing field as error.
Other tests didn't run at all.
2021-03-08 20:52:50 +01:00
Kubernetes Prow Robot
2783f2f76e
Merge pull request #96600 from maplain/internal-traffic-policy
...
Service Internal Traffic Policy
2021-03-08 11:04:12 -08:00
Davanum Srinivas
b74354a5e5
Mark openstack/cinder csi migrations as GA
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-03-08 13:02:57 -05:00
Kubernetes Prow Robot
027d9e6c25
Merge pull request #99835 from chendave/args
...
Move VolumeBinding plugin args validation to apis/config/validation
2021-03-08 09:31:42 -08:00
Kubernetes Prow Robot
f25f071af1
Merge pull request #99658 from deads2k/proxy-skip
...
promote AllowInsecureBackendProxy to stable
2021-03-08 07:51:42 -08:00
David Eads
2a0ef026b6
deepcopy statefulsets
2021-03-08 10:03:26 -05:00
David Eads
eb264c05c5
full deepcopy on munged pod spec
2021-03-08 10:02:56 -05:00
David Eads
5130ea0da3
remove pod toleration toleration seconds mutation
2021-03-08 10:02:51 -05:00
David Eads
5570a81040
add markers for inspected validation mutation hits
2021-03-08 10:02:46 -05:00
David Eads
bd5b1e2d05
move secret mutation from validation to prepareforupdate
2021-03-08 10:02:41 -05:00
David Eads
555eba5651
remove unnecessary mutations in validation
...
These mutations are already done in the strategy
2021-03-08 10:02:29 -05:00
David Eads
d000f2c8c5
tweak validation to avoid mutation
2021-03-08 09:58:34 -05:00
Daniela Lins
853d2a6a0a
Delete not used tweak
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-08 15:03:12 +01:00
Jan Safranek
219cbc818a
Refactor CSI migration plugin manager to get featureGates as a parameter
...
This allows caller to provide fake ones for testing of various corner cases
(migration on A/D controller disabled while enabled on kubelet).
2021-03-08 13:50:01 +01:00
Kubernetes Prow Robot
a517eccd9f
Merge pull request #99393 from chenyw1990/reduceKubeletResourceWatch
...
reduce configmap and secret watch of kubelet
2021-03-08 03:59:44 -08:00
Kubernetes Prow Robot
d193d305ff
Merge pull request #99879 from swetharepakula/eps-ga-controlplane
...
Update controlplane to use EndpointSlice V1 API
2021-03-08 02:41:44 -08:00
chenyw1990
57a3b0abd6
reduce configmap and secret watch of kubelet
2021-03-08 16:55:39 +08:00
Hussaina Begum Nandyala
2424c7388d
Migrating pkg/kubelet/winstats to structured logging
...
Signed-off-by: Hussaina Begum Nandyala <hexxdump@gmail.com >
2021-03-08 13:12:58 +05:30
Aditi Sharma
45c7608379
Migrate to structured logging
...
pkg/kubelet/kuberuntime/kuberuntime_manager.go
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com >
2021-03-08 11:27:44 +05:30
Kubernetes Prow Robot
a91fdfbeb3
Merge pull request #97493 from Pingan2017/allocatemem-1224
...
add operator for allocateMemory.available signal
2021-03-07 20:09:44 -08:00
tanjing2020
61cd099bc1
Use %w instead of %v to format errors
2021-03-08 10:23:08 +08:00
Fangyuan Li
0621e90d31
Rename fields and methods for BaseServiceInfo
...
Fields:
1. rename onlyNodeLocalEndpoints to nodeLocalExternal;
2. rename onlyNodeLocalEndpointsForInternal to nodeLocalInternal;
Methods:
1. rename OnlyNodeLocalEndpoints to NodeLocalExternal;
2. rename OnlyNodeLocalEndpointsForInternal to NodeLocalInternal;
2021-03-07 16:52:59 -08:00
Fangyuan Li
7ed2f1d94d
Implements Service Internal Traffic Policy
...
1. Add API definitions;
2. Add feature gate and drops the field when feature gate is not on;
3. Set default values for the field;
4. Add API Validation
5. add kube-proxy iptables and ipvs implementations
6. add tests
2021-03-07 16:52:59 -08:00
Kubernetes Prow Robot
9a9a9b014c
Merge pull request #99914 from Huang-Wei/throughput-regression
...
Revert "Surface more information about plugin scores in scheduler"
2021-03-07 15:21:42 -08:00
Krzysztof Gibuła
e46b280f96
Replace klog with with testing.T logging in pkg/kubelet tests
2021-03-07 23:10:02 +01:00
Navid Shaikh
1f22a173d9
Migrate pkg/kubelet/util to structured logging
...
Part of https://github.com/kubernetes/kubernetes/issues/98976
2021-03-07 21:17:46 +05:30
Daniela Lins
36e040f86e
Fix empty setter logic
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-07 13:13:09 +01:00
Patrick Ohly
fb4b380fe2
PSP: validation errors for generic volume type
...
It's not enough to silently drop the volume type if the feature is
disabled. Instead, the policy should fail validation, just as it would
have if the API server didn't know about the feature at all.
2021-03-07 10:58:45 +01:00
Patrick Ohly
aa4f8ae793
security: another test case for generic ephemeral inline volumes
...
When the PSP contains some other volume types, generic ephemeral
inline volumes must be rejected.
2021-03-07 10:56:48 +01:00
Patrick Ohly
38384d5c13
PSP: conditional support for generic volume type
...
When introducing the new "generic" volume type for generic ephemeral
inline volumes, the storage policy for PodSecurityPolicy objects
should have been extended so that this new type is valid only
if the generic ephemeral volume feature is enabled or an
existing object already has it.
Adding the new type to the internal API was also missed.
2021-03-07 10:56:48 +01:00
Kubernetes Prow Robot
e688f22da0
Merge pull request #99214 from jpbetz/apply-client-go-builders2-typedclient
...
Add Apply to client-go's typed client
2021-03-06 22:17:41 -08:00
Swetha Repakula
6bc5796750
Update controlplane to use EndpointSlice V1 API
2021-03-06 20:05:24 -08:00
Kubernetes Prow Robot
d6a9061cb4
Merge pull request #99870 from swetharepakula/eps-ga-controller
...
Graduate EndpointSlice Controllers to GA
2021-03-06 19:57:45 -08:00
Wei Huang
8f5416c1ec
Revert "Surface more information about plugin scores in scheduler"
...
This reverts commit d09a841246 .
2021-03-06 19:54:12 -08:00
Kubernetes Prow Robot
c37073b87b
Merge pull request #99890 from yahaa/fix-lint
...
fix gosimple lint check
2021-03-06 18:43:41 -08:00
Joe Betz
293e07a836
Add Apply functions to client-gen
2021-03-06 20:49:06 -05:00
Swetha Repakula
108fd44f7c
Graduate EndpointSlice feature gate to GA
2021-03-06 15:58:47 -08:00
Swetha Repakula
1925d94b18
Graduate EndpointSlice Controllers to GA
...
- EndpointSlice controller will stop writing to Topology field
- EndpointSlice controller will only provide NodeName and Zone on
EndpointSlices
2021-03-06 15:58:47 -08:00
Kubernetes Prow Robot
36244f31ef
Merge pull request #99662 from swetharepakula/eps-ga-api-changes
...
Graduate EndpointSlice API to GA
2021-03-06 15:23:54 -08:00
Kubernetes Prow Robot
4bf85032f3
Merge pull request #99275 from hbagdi/feat/ingress-class-namespaced-params
...
Add namespace scoped ParametersReference to IngressClass
2021-03-06 15:23:41 -08:00
Kubernetes Prow Robot
170c6a9833
Merge pull request #99806 from alculquicondor/job-adoption-unit
...
Merge tests for getPodsForJob
2021-03-06 12:50:29 -08:00
Kubernetes Prow Robot
bf67ba1c0e
Merge pull request #99791 from soltysh/simplify_unittests
...
Simplify cronjob v2 controller tests
2021-03-06 12:50:21 -08:00
Kubernetes Prow Robot
699b38669f
Merge pull request #99731 from AliceZhang2016/newFramework-accept-KubeSchedulerProfile
...
Make runtime.NewFramework accept KubeSchedulerProfile
2021-03-06 12:49:48 -08:00
Kubernetes Prow Robot
c193c1b234
Merge pull request #98376 from matthyx/mega
...
Make all health checks probing consistent
2021-03-06 11:45:41 -08:00
Harry Bagdi
a7fc92089a
Add namespace scoped ParametersReference to IngressClass
2021-03-07 00:45:32 +05:30
Daniela Lins
0444bdc944
Remove success case comments
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-06 19:18:19 +01:00
Daniela Lins
f8e7d30e46
Make tweaks only reset slices if empty
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-06 18:58:33 +01:00