Commit Graph

11195 Commits

Author SHA1 Message Date
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
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
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
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
Kubernetes Prow Robot
ac10e4043a Merge pull request #95578 from marwanad/add-deallocation-methods
add methods to deallocate and starts vms in a scale set
2020-10-19 00:18:14 -07:00
Kubernetes Prow Robot
722be6647a Merge pull request #95543 from wawa0210/fix-95530
Remove the dependency of csi-translation-lib module on apiserver/cloud-provider/controller-manager
2020-10-18 21:14:13 -07:00
Kubernetes Prow Robot
7b11de20a9 Merge pull request #95540 from masap/fix_dry_run_param
test: Fix deprecated --dry-run parameter
2020-10-18 17:10:13 -07:00
wawa0210
3d6d692b68 avoid apiserver/cloud-provider/controller-manager deps from k8s.io/csi-translation-lib 2020-10-17 09:45:38 +08:00
Kubernetes Prow Robot
c913d4ed2a Merge pull request #95640 from lala123912/staticcheck_2
vendor/k8s.io/metrics/pkg/client/custom_metrics: fix static check
2020-10-16 16:00:12 -07:00
Ricardo Pchevuzinske Katz
45d6672a98 Fix catch all regex and missing DryRun Options
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-10-16 15:45:15 -03:00
cici37
0d2002229f Add back openapi gen for generic types and clean up doc.go 2020-10-16 10:54:15 -07:00
Haowei Cai
904d5c45de fix a nil pointer ref in slice allocation 2020-10-16 10:16:08 -07:00
Kubernetes Prow Robot
9af86e8db8 Merge pull request #95583 from andyzhangx/fix-valid-path
fix: smb valid path error
2020-10-16 09:01:54 -07:00
Jakub Przychodzeń
24033c908d Add new way to generate leader election lock 2020-10-16 12:20:52 +02:00
lala123912
324e969a6c fix staticcheck
vendor/k8s.io/metrics/pkg/client/custom_metrics/multi_client.go:49:4: ineffective break statement. Did you mean to break out of the outer loop? (SA4011)
vendor/k8s.io/metrics/pkg/client/custom_metrics/versioned_client.go:38:2: var codecs is unused (U1000)
2020-10-16 16:08:53 +08:00
Kubernetes Prow Robot
cd8b87f25a Merge pull request #95562 from wojtek-t/fix_metrics
Fix metrics reporting in kube-apiserver
2020-10-15 21:13:25 -07:00
Kubernetes Prow Robot
0a20321bab Merge pull request #91931 from lixiaobing1/lxb-deploy
fix func name NewCreateCreateDeploymentOptions
2020-10-15 14:43:25 -07:00
Kubernetes Prow Robot
35e20f1742 Merge pull request #94327 from rikatz/create-ingress
kubectl create ingress
2020-10-15 08:06:24 -07:00
Kubernetes Prow Robot
36a6a64936 Merge pull request #95427 from roycaihw/fix/tls-transport-cache
TLS transport cache: don't cache transports for incomparable configs
2020-10-15 07:10:24 -07:00
Kubernetes Prow Robot
28b46be97b Merge pull request #95278 from mrbobbytables/update-kubectl-support-label
kubectl: Update triage/support label references to kind/support
2020-10-15 06:04:51 -07:00
Kubernetes Prow Robot
297b021f49 Merge pull request #95230 from Git-Jiro/fix_vendor_client_go
Fix staticchecks in vendor/k8s.io/client-go
2020-10-15 06:04:37 -07:00
Kubernetes Prow Robot
2f31a4ab0d Merge pull request #94939 from tnqn/describe-pod-toleration
kubectl: add a space between effect and operator when printing tolerations
2020-10-15 06:04:24 -07:00
Ricardo Pchevuzinske Katz
73aa0a92f8 Add support for create ingress in kubectl
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-10-15 09:07:40 -03:00
wojtekt
3d2a80643a Fix metrics reporting in kube-apiserver 2020-10-15 13:50:33 +02:00
Kubernetes Prow Robot
d7e0cb0e35 Merge pull request #95542 from nilo19/bug/support-exclude-node-from-lb-label
Support the node label `node.kubernetes.io/exclude-from-external-load-balancers`
2020-10-15 01:38:24 -07:00
andyzhangx
5656e346c7 fix: smb valid path error 2020-10-15 07:02:12 +00:00
Martin Schimandl
13c017056c Fix staticchecks in vendor/k8s.io/client-go 2020-10-15 07:27:02 +02:00
Marwan Ahmed
ede9d8ce12 add methods to deallocate and starts vms in a scale set 2020-10-14 19:43:03 -07:00
Kubernetes Prow Robot
2318a13228 Merge pull request #94985 from howardjohn/describe-ingress
Fix `kubectl describe ingress` format
2020-10-14 14:05:49 -07:00
Haowei Cai
fac48d2538 add a local tlsTransportCache to available_controller
The available_controller creates short-lived clients to sync remote APIService
objects. These clients are constructed with HTTP transports that cannot
be cached by client-go (because client-go won't know whether the TLS configs
have dynamic functions or not), which may spam idle connections. A local
cache works because we know all the configs share the same dialer
function, and can only vary on the dynamic cert/key.
2020-10-14 14:01:56 -07:00
Kubernetes Prow Robot
6d01c5a589 Merge pull request #92459 from roycaihw/storage-version/manager
Add storageversion manager interface
2020-10-14 03:19:55 -07:00
Masashi Honma
ad7cbac163 test: Fix deprecated --dry-run parameter
Some unit tests throw this warning.

W1013 09:06:21.581870  176998 helpers.go:567] --dry-run=true is deprecated (boolean value) and can be replaced with --dry-run=client.

This patch removes the warning by using --dry-run=client instead of --dry-run=true.

The unit tests that are affected are:

make test WHAT=./vendor/k8s.io/kubectl/pkg/cmd/apply GOFLAGS=-v
make test WHAT=./vendor/k8s.io/kubectl/pkg/cmd/create GOFLAGS=-v

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-14 10:00:08 +09:00