Commit Graph

10808 Commits

Author SHA1 Message Date
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
wojtekt
99dff90d61 Rely on default watch cache capacity and ignore its requested size 2020-05-19 18:13:28 +02:00
louisgong
cf154e9d1f implement openstack InstanceMetadataByProviderID function 2020-05-19 22:12:56 +08:00
louisgong
030c4e7845 implement gce InstanceMetadataByProviderID function 2020-05-19 22:12:55 +08:00
louisgong
6a7bb31251 implement azure InstanceMetadataByProviderID function 2020-05-19 22:12:55 +08:00
louisgong
da4b5e8dd9 implement aws InstanceMetadataByProviderID function 2020-05-19 22:12:55 +08:00
Kubernetes Prow Robot
6a0e01880a Merge pull request #91194 from wawa0210/update-envvarsource-doc
Update env varsource api documentation
2020-05-19 00:51:40 -07:00
RainbowMango
1d44f63b9d Update vendor by hack/update-vendor.sh. 2020-05-19 15:49:37 +08:00
RainbowMango
75a6d09348 Introduce promlint to guarantee metrics follow Prometheus best practices. 2020-05-19 15:45:11 +08:00
Kubernetes Prow Robot
78f2c8f70d Merge pull request #90582 from RainbowMango/pr_bump_client_golang_1_6
bump client_golang to v1.6.0
2020-05-18 23:09:36 -07:00
Kubernetes Prow Robot
590365cb70 Merge pull request #90785 from zhouya0/fix_kubectl_run_ignore_namespace
Fix kubectl run  --dry-run client  ignore namespace
2020-05-18 20:03:50 -07:00
zhouya0
2f117260fb Fix dry run client ignore namespace 2020-05-19 09:59:30 +08:00
RainbowMango
283d9f7483 Pin transitive dependencies:
pin dependency github.com/beorn7/perks from v1.0.0 to v1.0.1
pin dependency github.com/golang/protobuf from v1.3.3 to v1.4.2
pin denpendency github.com/json-iterator/go from v1.1.8 to v1.1.9
pin dependency github.com/prometheus/common from v0.4.1 to v0.9.1
pin dependency github.com/prometheus/procfs from v0.0.5 to v0.0.11
pin dependency github.com/alecthomas/template from v0.0.0-20160405071501-a0175ee3bccc to v0.0.0-20190718012654-fb15b899a751
pin dependency github.com/alecthomas/units from v0.0.0-20151022065526-2efee857e7cf to v0.0.0-20190717042225-c3de453c63f4
pin dependency github.com/go-kit/kit from v0.8.0 to v0.9.0
pin dependency github.com/go-logfmt/logfmt from v0.3.0 to v0.4.0

Co-Authored-By: Jordan Liggitt <jordan@liggitt.net>
2020-05-19 09:38:29 +08:00
RainbowMango
d8062e076e bump github.com/prometheus/client_golang to v1.6.0 2020-05-19 09:37:10 +08:00
yuzhiquan
c60179260c [feature] implement logging format flag at component-base
refactor registry and options file

refactor with review comment

fix gofmt and golint error

run update vendor script, and refactor code

add options get method

remove invoke with logs, and log format not a global flag

fix typo

update vendor
2020-05-19 09:12:34 +08:00
Kubernetes Prow Robot
f4112710f5 Merge pull request #90061 from marosset/runtimehandler-image-spec-annotations
Add annotations to CRI ImageSpec objects
2020-05-18 16:29:36 -07:00
wawa0210
097c22638b update EnvVarSource doc 2020-05-18 23:37:30 +08:00
Brian Pursley
cd005c1da4 Added --privileged flag to kubectl run 2020-05-18 10:23:17 -04:00
Gaurav Singh
c5f73de4fd Converted errch to a buffered channel to avoid goroutine leak
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-18 09:30:41 -04:00
Paulo Gomes
550a67869a Warn when insecure TLS ciphers are selected. 2020-05-18 13:16:32 +01:00
Kubernetes Prow Robot
4e975b9fc2 Merge pull request #91184 from DataDog/bp/azure-vmas-isshutdown
Azure: support non-VMSS instances removal
2020-05-18 03:23:36 -07:00
Aurélien Baumann
c43f62c10b Refactor kubectl create deploy: isolate obj construction logic 2020-05-18 11:32:23 +02:00
Benjamin Pineau
75912f63ed Azure: support non-VMSS instances removal
When called by Controller Manager lifecycle controller for a node missing
heartbeats (via `InstanceShutdownByProviderID()`), Azure cloud provider
ensures the instance backing that node is shut down or otherwise removed from
its containing VMSS before allowing the node to be reaped from the cluster.

But it won't test the same for VMAS or standalone instances (not part of a
VMSS), which are otherwise well supported: they can register, for instance.
So deleted non-VMSS instances will leave `NotReady` nodes behind, and,
depending on their name, might cause regular VMSS List / full re-scans.
2020-05-18 09:00:24 +02:00
weijiehu
428dc7de57 Improves unittest CC for azure_storageaccountclient 2020-05-17 23:17:09 -07:00
Kubernetes Prow Robot
1b6de445c9 Merge pull request #90676 from aubm/refactor-command-kubectl-create-deploy
Remove the dependency between create deploy command and generators
2020-05-17 21:19:35 -07:00
Mike Spreitzer
28671fc4cf Clean up fairqueuing/interface.go
Fixed outdated comment on QueueSet::StartRequest.

Removed unused interface EmptyHandler.
2020-05-17 22:36:30 -04:00
Gaurav Singh
549214ca8c Fix bug
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-17 17:54:28 -04:00
Gaurav Singh
3dc7098cae Fix data race in cacher whitebox test
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-17 17:51:49 -04:00
Kubernetes Prow Robot
b1ad88740a Merge pull request #91086 from v-xuxin/enrich-unit-test
Azure: Enrich the unit tests for vmsizeclient and snapshotclient and s…
2020-05-17 01:43:36 -07:00
Kubernetes Prow Robot
565487fc02 Merge pull request #91097 from feiskyer/fix-vmo
Fix VirtualMachineScaleSets.virtualMachines.GET not allowed issues when customers have set VMSS orchestrationMode to VM
2020-05-16 22:37:36 -07:00
Qing Ju
168d084829 Polished up HasSync comment 2020-05-16 20:42:03 -07:00
Kubernetes Prow Robot
323f34858d Merge pull request #91167 from QianChenglong/fix-lint
fix: golint errors in staging/src/k8s.io/apimachinery/pkg/api/validation
2020-05-16 19:00:33 -07:00
Kubernetes Prow Robot
b170451caa Merge pull request #90183 from dims/update-kubernetes-to-klog-v2
Update kubernetes to klog v2
2020-05-16 18:59:51 -07:00
Amim Knabben
8459c9b6f4 Moving enable-server and provider-id 2020-05-16 21:34:13 -04:00
Gaurav Singh
0d0af48444 Fix changes 2020-05-16 20:22:12 -04:00