Commit Graph

10792 Commits

Author SHA1 Message Date
wojtekt
ef1e5b6d3a Watch should return "too old RV" if it can't serve it. 2020-05-26 17:01:08 +02:00
Kubernetes Prow Robot
3a95b1130a Merge pull request #91439 from weijiehu/azureretry
Improves unittest CC for azure_error and azure_retry
2020-05-26 07:33:13 -07:00
Kubernetes Prow Robot
f097cee156 Merge pull request #90960 from zhouya0/fix_kubectl_create_secret_docker_registry
Fix kubectl create secret docker-registry --from-file
2020-05-26 05:39:12 -07:00
RainbowMango
4d8280acca rename metric scheduler_total_preemption_attempts to scheduler_preemption_attempts_total as counter metrics should have _total suffix. 2020-05-26 20:11:42 +08:00
Maciej Szulik
9e7ca872b4 Set schedule and image flags required for create cronjob 2020-05-26 12:36:47 +02:00
Kubernetes Prow Robot
a82d71c376 Merge pull request #91199 from aubm/refactor-kubectl-create-deploy-isolate-create-logic
Refactor kubectl create deploy: isolate obj construction logic
2020-05-26 02:27:12 -07:00
weijiehu
a3069432ce Improves unittest CC for azure_error and azure_retry 2020-05-26 00:31:10 -07:00
Kubernetes Prow Robot
b07d99dd35 Merge pull request #91310 from tkashem/reset-pf-metrics
Reset flowcontrol metrics on a DELETE /metrics
2020-05-25 23:29:11 -07:00
Rafal Wicha
852442c0ff Promote kubescheduler.config.k8s.io to v1betav1 2020-05-25 22:25:57 +01:00
Marwan Ahmed
524a7f2ef0 add method for async deletion in vmss client without waiting on future 2020-05-25 13:35:22 -07:00
Kubernetes Prow Robot
2f38e1b130 Merge pull request #91142 from cofyc/fix91139
Add versioned counterparts for VolumeBindingArgs
2020-05-25 09:03:12 -07:00
Johannes M. Scheuermann
bd42094d90 Update kube-apiserver flag comments 2020-05-25 15:43:56 +02:00
Kubernetes Prow Robot
d66bbd8728 Merge pull request #86477 from RainbowMango/pr_introduce_promlint
Introduce promlint to guarantee metrics follow Prometheus best practices
2020-05-25 03:53:12 -07:00
Lingfei Kong
fa73cacc5d fix the wrong function description 2020-05-25 15:04:01 +08:00
Kubernetes Prow Robot
1d365a8cad Merge pull request #91188 from v-xuxin/enrich-unit-test
Azure: Enrich the unit tests for vmclient,vmssclient and vmssvmclient
2020-05-24 23:15:11 -07:00
Kubernetes Prow Robot
0e37bcce2c Merge pull request #88385 from tallclair/node-reviews
Remove tallclair from some OWNERS files
2020-05-24 20:23:11 -07:00
v-xuxin
01e0680601 Enrich the unit tests for vmclient,vmssclient and vmssvmclient 2020-05-25 02:14:01 +00:00
Zhou Peng
ef1deb8b40 [kubectl/pkg/cmd/rollout]: fix typo & tidy imports
Signed-off-by: Zhou Peng <p@ctriple.cn>
2020-05-25 09:37:18 +08:00
Oleg Atamanenko
8aa0df4a74 Ignore forbidden error for leases when describing node 2020-05-23 09:07:58 -07:00
Jordan Liggitt
6249f287e1 Revert "Rely on default watch cache capacity and ignore its requested size"
This reverts PR 91260
2020-05-23 09:21:22 -04:00
Christopher M. Luciano
2b091f60ca ingress: Add Ingress to v1 API and update backend to defaultBackend
ingress: use new serviceBackend split

ingress: remove all v1beta1 restrictions on creation

This change removes creation and update restrictions enforced by
k8s 1.18 for not allowing resource backends.

Paths are no longer
required to be valid regex and a PathType is now user-specified
and no longer defaulted.

Also remove all TODOs in staging/net/v1 types

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-05-22 11:57:41 -04:00
Kubernetes Prow Robot
1700acb035 Merge pull request #91260 from wojtek-t/dont_use_watchcache_capacity
Rely on default watch cache capacity and ignore its requested size
2020-05-22 08:06:37 -07:00
andyzhangx
e7696d48db fix: fix topology issue in azure disk sc migration
fix golint

fix gofmt

add more tests
2020-05-22 13:14:45 +00:00
Li Bo
eabb362aa3 log tls handshake error at trace level to avoid error flooding, and add
metric to count such errors
2020-05-22 15:31:04 +08:00
Uwe Krueger
52063cab17 add docu + fix copyright year 2020-05-22 09:20:56 +02:00
Amim Knabben
f6246aba6e Moving Kubelet --node-status-max-images flag to configuration 2020-05-21 22:37:01 -04:00
Yecheng Fu
8bbbe62fbd Add versioned counterparts for VolumeBindingArgs: auto-generted files 2020-05-22 09:30:53 +08:00
Yecheng Fu
0a3d55f2e0 Add versioned counterparts for VolumeBindingArgs 2020-05-22 09:30:52 +08:00
Kubernetes Prow Robot
60559bc919 Merge pull request #91197 from weijiehu/azurestorageaccountclient
Improves unittest CC for azure_storageaccountclient
2020-05-21 15:58:37 -07:00
Mrunal Patel
ba90b40cd6 cri-api: Introduce errors package for the CRI
We start by adding a helper function for IsNotFound errors.
The expectation is that CRI implementations return
the grcp not found status code for situations where
they can't find a container or a pod. This is the lowest
hanging fruit to start improving the kubelet to detect
such conditions and react better.

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-05-21 06:24:04 -07:00
Marek Siarkowicz
7a1b913e5c Add OWNERS file to component-base/logs 2020-05-21 10:40:49 +02:00
Kubernetes Prow Robot
590f1a46ee Merge pull request #91093 from andyzhangx/azurefile-annotation
fix: azure file migration support on annotation behavior change
2020-05-20 19:41:01 -07:00
Kubernetes Prow Robot
12088aa76d Merge pull request #90649 from cici37/leaderelectionconfig
Moving leaderelectionconfig to k8s.io/component-base
2020-05-20 19:40:47 -07:00
Kubernetes Prow Robot
97145d685c Merge pull request #91077 from brianpursley/kubectl-501-2
Changed kubectl config set-cluster and set-credentials to support process substitution for filenames
2020-05-20 16:45:25 -07:00
Kubernetes Prow Robot
c2ffe49fa6 Merge pull request #90894 from gongguan/cloud-instance
Implement InstanceMetadataByProviderID
2020-05-20 16:45:01 -07:00
Abu Kashem
01c5818b63 Reset flow control metrics on /metrcis DELETE 2020-05-20 17:25:05 -04:00
Julian V. Modesto
3e93f99262 Remove deprecated --server-dry-run.
For the beta server-side dry-run feature, `kubectl apply` provided the
`--server-dry-run` flag.

As of 1.18, this flag was deprecated and marked to be removed after 1
release.
2020-05-20 16:53:53 -04:00
Davanum Srinivas
0608e8be25 update bazel BUILD files
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:47 -04:00
Davanum Srinivas
5692926914 Move packages for slightly better UX for consumers
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:46 -04:00
Uwe Krueger
3c9831d18d some tests for new function 2020-05-20 10:15:23 +02:00
Kubernetes Prow Robot
738dfcfff0 Merge pull request #90825 from dopelsunce/master
Fix race condition between Pop and Close FIFO queue
2020-05-19 23:40:32 -07:00
Kubernetes Prow Robot
ebcae8ff2c Merge pull request #91267 from gnufied/fix-overflow-error-string
Overflow errors look weird in string format
2020-05-19 20:35:36 -07:00
Kubernetes Prow Robot
850fddb492 Merge pull request #90502 from zhouya0/fix_dry_run_client_ignore_namespace
Fix kubectl create --dryrun client ignore namespace
2020-05-19 20:34:59 -07:00
Kubernetes Prow Robot
6ed5290729 Merge pull request #90496 from gaurav1086/test_decoder_race_condition
Fix race condition in decoder test
2020-05-19 20:34:46 -07:00
louisgong
24fe349ddf implement vsphere InstanceMetadataByProviderID function 2020-05-20 09:21:24 +08:00
Kubernetes Prow Robot
3ccf38dab0 Merge pull request #91189 from MikeSpreitzer/fq-comments
Clean up fairqueuing/interface.go
2020-05-19 15:22:57 -07:00
Kubernetes Prow Robot
e5ead81bb0 Merge pull request #91174 from jqmichael/updateHasSyncDoc
Polished up comments around HasSynced()
2020-05-19 15:22:48 -07:00
Julian V. Modesto
f0eb68c0cf Make client-side apply safer
- Remove the ServerDryRun field and delegate it entirely to the resource.Helper
- Use resource.Helper for deletions (as in `kubectl apply --force`)
instead of using the pruner's method that uses a dynamic client
- Reduce the resource.Helpers and times we check for server-side dry-run
in apply
2020-05-19 17:01:47 -04:00
Gaurav Singh
6a28f1995a Code review changes
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-19 16:42:20 -04:00
Hemant Kumar
ed344e70b8 Overflow errors look weird in string format
before:
quantity {{0 0} {0xc000cf77d0}  DecimalSI} is too great, overflows int64

after:
quantity 73786976299133170k is too great, overflows int64
2020-05-19 15:36:33 -04:00