Commit Graph

11394 Commits

Author SHA1 Message Date
Andrew Sy Kim
deb1bb8bff fake dynamic client: document that List does not preserve TypeMeta in UnstructuredList
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-10-27 13:42:16 -04:00
wojtekt
f62e61c28f Fix cacher test after bumping fakeBudget timeout to 2 seconds 2020-10-27 15:25:31 +01:00
Kubernetes Prow Robot
b4258ec138 Merge pull request #95869 from wojtek-t/debug_watchcache_test
Fix cacher test flakiness
2020-10-27 04:33:59 -07:00
Kubernetes Prow Robot
4df8d97af0 Merge pull request #95725 from p0lyn0mial/delegated-authz-sar-timeout
sets explicit timeout for SubjectAccessReview client
2020-10-27 03:37:59 -07:00
Kubernetes Prow Robot
1f0371bb3f Merge pull request #95864 from nilo19/cleanup/fix-typos
Fix a lot of typos in Azure codes
2020-10-27 02:13:59 -07:00
Kubernetes Prow Robot
68f6b09e80 Merge pull request #80954 from zachomedia/fix-lock-release
Fix leader election lock release when using LeaseLocks
2020-10-26 20:57:58 -07:00
Kubernetes Prow Robot
3d6026499b Merge pull request #95235 from andrewsykim/controlplane-egress-selector
apiserver: support 'controlplane' as an egress selector type
2020-10-26 14:45:59 -07:00
Khaled Henidak (Kal)
6675eba3ef dual stack services (#91824)
* api: structure change

* api: defaulting, conversion, and validation

* [FIX] validation: auto remove second ip/family when service changes to SingleStack

* [FIX] api: defaulting, conversion, and validation

* api-server: clusterIPs alloc, printers, storage and strategy

* [FIX] clusterIPs default on read

* alloc: auto remove second ip/family when service changes to SingleStack

* api-server: repair loop handling for clusterIPs

* api-server: force kubernetes default service into single stack

* api-server: tie dualstack feature flag with endpoint feature flag

* controller-manager: feature flag, endpoint, and endpointSlice controllers handling multi family service

* [FIX] controller-manager: feature flag, endpoint, and endpointSlicecontrollers handling multi family service

* kube-proxy: feature-flag, utils, proxier, and meta proxier

* [FIX] kubeproxy: call both proxier at the same time

* kubenet: remove forced pod IP sorting

* kubectl: modify describe to include ClusterIPs, IPFamilies, and IPFamilyPolicy

* e2e: fix tests that depends on IPFamily field AND add dual stack tests

* e2e: fix expected error message for ClusterIP immutability

* add integration tests for dualstack

the third phase of dual stack is a very complex change in the API,
basically it introduces Dual Stack services. Main changes are:

- It pluralizes the Service IPFamily field to IPFamilies,
and removes the singular field.
- It introduces a new field IPFamilyPolicyType that can take
3 values to express the "dual-stack(mad)ness" of the cluster:
SingleStack, PreferDualStack and RequireDualStack
- It pluralizes ClusterIP to ClusterIPs.

The goal is to add coverage to the services API operations,
taking into account the 6 different modes a cluster can have:

- single stack: IP4 or IPv6 (as of today)
- dual stack: IPv4 only, IPv6 only, IPv4 - IPv6, IPv6 - IPv4

* [FIX] add integration tests for dualstack

* generated data

* generated files

Co-authored-by: Antonio Ojea <aojea@redhat.com>
2020-10-26 13:15:59 -07:00
wojtekt
6eb71c4089 Fix cacher test flakiness 2020-10-26 20:09:13 +01:00
Kubernetes Prow Robot
2e1d903b13 Merge pull request #95836 from nodo/yaml-unmarshal-number
Add yaml util to unmarshal numbers into int/float
2020-10-26 10:25:27 -07:00
Lukasz Szaszkiewicz
2160cbc53f DelegatingAuthorizationOptions: exposes and sets a default timeout for SubjectAccessReview client
previously no timeout was set. Requests without explicit timeout might potentially hang forever and lead to starvation of the application.
2020-10-26 17:11:59 +01:00
Qi Ni
ecdc1ba57c Fix a lot of typos in Azure codes 2020-10-26 22:47:38 +08:00
Kubernetes Prow Robot
e79a873b4c Merge pull request #95821 from markusthoemmes/optimize-nn-string
Optimize string building for NamespacedName
2020-10-26 07:45:01 -07:00
Andrew Sy Kim
e4b45d944d apiserver: use canonical egress selection names in EgressSelectorConfiguration API docs
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-10-26 10:24:16 -04:00
Andrew Sy Kim
5a09325864 apiserver: update TestReadEgressSelectorConfiguration to use 'controlplane' egress selector name
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-10-26 10:24:16 -04:00
Andrew Sy Kim
30d43806c3 apiserver: add validation for EgressSelection names in EgressSelectorConfiguration API
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-10-26 10:24:16 -04:00
Andrew Sy Kim
a0aebf96ec apiserver: support egress selection name 'controlplane' and deprecate 'master'
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-10-26 10:24:16 -04:00
Kubernetes Prow Robot
16e18a590f Merge pull request #95813 from nilo19/bug/fix-pip-name
Azure: Update the frontend IP config when the service's `pipName` annotation is changed
2020-10-25 17:31:01 -07:00
Andrea Nodari
04d972cb4b Add yaml util to unmarshal numbers into int/float 2020-10-24 11:36:22 +02:00
Qi Ni
87a4805ba4 Update the frontend IP config when the service's pipName annotation is changed 2020-10-24 17:35:23 +08:00
Kubernetes Prow Robot
f20a36f784 Merge pull request #95428 from roycaihw/cleanup/generalize-lease-controller
Generalize node lease controller
2020-10-23 13:43:02 -07:00
Kubernetes Prow Robot
6578517aa7 Merge pull request #95259 from tkashem/apf-workload-low
Increase the concurrency share of workload-low priority level
2020-10-23 12:15:02 -07:00
Kubernetes Prow Robot
ec453ffb1a Merge pull request #90691 from arjunrn/container-resource-hpa
Add container based scaling to HPA
2020-10-23 05:51:51 -07:00
Markus Thömmes
668d560618 Optimize string building for NamespacedName 2020-10-23 10:42:31 +02:00
Kubernetes Prow Robot
44f5a75e6c Merge pull request #85480 from tnozicka/apiserver-better-error
Add certificate identification to error message when x509 auth fails
2020-10-23 00:11:44 -07:00
Kubernetes Prow Robot
1257bc5acb Merge pull request #91474 from cici37/pkgController
Cleanup CCM dependencies
2020-10-22 23:17:45 -07:00
Haowei Cai
9861b9e3ea allow component-helpers to import util and klog 2020-10-22 13:30:12 -07:00
Haowei Cai
4af91987a9 generated 2020-10-22 12:00:51 -07:00
Haowei Cai
c9bbd8532f generalize lease controller 2020-10-22 11:58:59 -07:00
Haowei Cai
c70e3649e1 move node lease controller to component-helpers 2020-10-22 11:58:58 -07:00
Arjun Naik
0fec7b0f7e Added functionality and API for pod autoscaling based on container resources
Signed-off-by: Arjun Naik <anaik@redhat.com>
2020-10-21 21:10:05 +02:00
Kubernetes Prow Robot
5a4c9af290 Merge pull request #95716 from nilo19/cleanup/add-error-log
Azure: Add error detail in log
2020-10-21 03:20:20 -07:00
Kubernetes Prow Robot
9a6e35a16a Merge pull request #95748 from nilo19/bug/fix-lb-update-failed-pip
Update the PIP when it is not in the Succeeded provisioning state during the LB update.
2020-10-21 01:34:19 -07:00
Qi Ni
46593daf22 Update the PIP when it is not in the Succeeded provisioning state during the LB update. 2020-10-21 15:40:18 +08:00
Kubernetes Prow Robot
4b59044b8d Merge pull request #95499 from nicolehanjing/nicoleh-fix-fake
cloud provider: fix the fake cloud provider
2020-10-20 14:32:23 -07:00
Kubernetes Prow Robot
163b23f163 Merge pull request #95529 from cici37/cleanup
Add back openapi gen for generic types and clean up doc.go
2020-10-20 11:22:34 -07:00
Kubernetes Prow Robot
af1c8935d9 Merge pull request #95692 from markusthoemmes/bump-azure-adal
Bump github.com/Azure/go-autorest/autorest/adal to 0.9.5
2020-10-20 10:22:22 -07:00
Kubernetes Prow Robot
d5ea0edc09 Merge pull request #95646 from jprzychodzen/leader-election-1
Add a new way to generate leader election lock
2020-10-20 09:02:09 -07:00
Kubernetes Prow Robot
2be8f3c9a8 Merge pull request #95690 from nikhita/csi-translation-lib-imports
staging/publishing: cleanup import restrictions for csi-translation-lib
2020-10-20 06:52:09 -07:00
Qi Ni
748ae54ec0 Add error detail in log 2020-10-20 20:29:22 +08:00
Kubernetes Prow Robot
6d3ccd8e6c Merge pull request #95559 from prameshj/elb-update
Do not skip externalLB update if some nodes are not found.
2020-10-19 21:00:08 -07:00
Nicole Han
acee0779c5 fix the fake cloud provider 2020-10-19 20:37:55 -07:00
Pavithra Ramesh
6d535f1ada Do not skip externalLB update if some nodes are not found.
Log a warning instead and continue with the update. This is useful in cases where
the number of nodes is changing due to autoscaling or updgrades. It is possible
that the nodes picked by service controller don't all exist when gce layer lists
them. Update should still succeed with the nodes in the input that are valid.
This will still return an error if 0 nodes were found, when a non-zero input was passed in.

same
2020-10-19 16:47:27 -07:00
Kubernetes Prow Robot
6f1288f58c Merge pull request #95629 from roycaihw/fix/storageversion-manager
storageversion manager: fix slice allocation
2020-10-19 16:00:07 -07:00
cici37
95acec5a3b Move client_builder to k8s.io/controller-manager 2020-10-19 14:48:22 -07:00
Kubernetes Prow Robot
6ccdb15500 Merge pull request #91541 from bjrara/standalone-apiextension
Enhance apiextensions-apiserver in the standalone mode
2020-10-19 12:08:13 -07:00
Kubernetes Prow Robot
2046f4212a Merge pull request #95660 from rikatz/improve-create-ingress
Fix catch all regex and missing DryRun Options
2020-10-19 07:52:26 -07:00
Kubernetes Prow Robot
86a208edc8 Merge pull request #95260 from amandahla/issue93784
Fixes high CPU usage in kubectl drain
2020-10-19 07:52:13 -07:00
Markus Thömmes
34b9d11505 Fix dependency linting 2020-10-19 11:33:30 +02:00
Markus Thömmes
e1fd0bd0eb Bump github.com/Azure/go-autorest/autorest/adal to 0.9.5 2020-10-19 09:59:45 +02:00