Commit Graph

83708 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e519736dfd
Merge pull request #79261 from draveness/feature/bump-prometheus-common
feat: bump prometheus common to v0.1.0
2019-09-23 14:55:25 -07:00
Sen Lu
e3fdebbe62 auth/cloud-platform is a superset of devstorage.
Also fix the curl in get-kube.sh
2019-09-23 14:14:03 -07:00
Mark Janssen
1a1b7001d6 Fix staticcheck failures for scheduler packages
Errors from staticcheck:
cmd/kube-scheduler/app/server.go:297:27: prometheus.Handler is deprecated: Please note the issues described in the doc comment of InstrumentHandler. You might want to consider using promhttp.Handler instead.  (SA1019)
pkg/apis/scheduling/v1alpha1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
pkg/apis/scheduling/v1beta1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
test/e2e/scheduling/predicates.go:757:6: func verifyReplicasResult is unused (U1000)
test/e2e/scheduling/predicates.go:765:6: func getPodsByLabels is unused (U1000)
test/e2e/scheduling/predicates.go:772:6: func runAndKeepPodWithLabelAndGetNodeName is unused (U1000)
test/e2e/scheduling/limit_range.go:172:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:177:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:196:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:201:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:240:3: this value of pod is never used (SA4006)
test/e2e/scheduling/taints.go:428:13: this value of err is never used (SA4006)
test/e2e/scheduling/ubernetes_lite.go:219:2: this value of pods is never used (SA4006)
test/integration/scheduler/extender_test.go:78:4: this value of resp is never used (SA4006)
test/integration/volumescheduling/volume_binding_test.go:529:15: this result of append is never used, except maybe in other appends (SA4010)
test/integration/volumescheduling/volume_binding_test.go:538:15: this result of append is never used, except maybe in other appends (SA4010)
2019-09-23 22:52:57 +02:00
Mark Janssen
345e528c86 Fix staticcheck failures for pkg/scheduler/... 2019-09-23 22:49:59 +02:00
Kubernetes Prow Robot
c9c01fb902
Merge pull request #82654 from odinuge/test-timeout
Fix pre pull of images in DiskPressure tests
2019-09-23 12:27:25 -07:00
Zang Li
eb5238272b Fix the cluster role for typha horizontal scaler. 2019-09-23 11:48:04 -07:00
Abdullah Gharaibeh
641317bdde Updated ContextData and PluginContext with Clone methods.
This is necessary to be able to clone PluginContext during preemption.
2019-09-23 14:34:40 -04:00
Kenichi Omichi
7c23ba1b34 Copy PrettyPrintJSON to core framework
PrettyPrintJSON is most used e2emetrics function and that doesn't seem
specific for metrics. The implementation itself is generic, so it is
nice to move it to core framework for avoiding circular dependency.
2019-09-23 18:10:50 +00:00
Katharine Berry
a6e25d5e67 Add KUBE_COVER_REPORT_DIR to specify coverage output dir. 2019-09-23 10:36:00 -07:00
David Eads
4b44a9f067 make namespace-lifecycle controller more responsive 2019-09-23 13:22:51 -04:00
xiaozhang
aa2fe07da8 Update go mod hcsshim version to fix the kube-proxy issue cannot access service by self nodeip:port on windows 2019-09-23 13:07:49 -04:00
Nikhita Raghunath
c775d34c5c Add known issue for informer-gen for packages with dots
Issue: https://github.com/kubernetes/kubernetes/issues/82860
Fix: https://github.com/kubernetes/kubernetes/pull/82410
2019-09-23 22:32:33 +05:30
Kubernetes Prow Robot
d62ebe31f0
Merge pull request #82029 from losipiuk/lo/runners-scalability
Allow relaxing deleted pods checking in RC runner
2019-09-23 09:43:24 -07:00
hasheddan
4fbdb08f98 use vmss instance view expansion and azure-sdk v33.1.0
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2019-09-23 11:19:38 -05:00
Kubernetes Prow Robot
b7003211d5
Merge pull request #83014 from danielqsj/bump-klog
Bump k8s.io/klog to v1.0.0
2019-09-23 08:03:38 -07:00
Kubernetes Prow Robot
43875059f0
Merge pull request #82984 from wojtek-t/json_fallback_encoder
Minor cleanup of jsonFallbackEncoder
2019-09-23 08:03:26 -07:00
Nikhita Raghunath
09f09a1e10 Update codegen violation rules 2019-09-23 19:31:19 +05:30
Nikhita Raghunath
98ceb6a2a4 Update generated code 2019-09-23 19:31:19 +05:30
Nikhita Raghunath
6429a55a79 Add example3.io:v1 to update-codegen.sh 2019-09-23 19:31:19 +05:30
Nikhita Raghunath
acaf658069 Add example3.io
With group = example.dots.apiserver.code-generator.k8s.io
2019-09-23 19:31:20 +05:30
Jacek Kaniuk
3d746aabdf Revert "Updated COS version to M77"
This reverts commit bc3f4b269a
which caused regression in scalability tests:
https://github.com/kubernetes/kubernetes/issues/83020
2019-09-23 15:22:46 +02:00
RainbowMango
c92d7001ed Wrap promethues.Labels to stability framework. 2019-09-23 21:00:26 +08:00
Jianfei Bai
6b17e5e2a4 fix: remove reportingInstance field in eventKey. 2019-09-23 20:00:16 +08:00
Nikhita Raghunath
802fed53e3 informer-gen: allow package names containing dots
Before 73dc5a96de,
informer-gen calculated the effective package name by using the first
segment of the groupName.

After the commit, the package name is calculated directly from the
PackageName specified, without any normalizations. This meant that if
the actual PackageName contains dots, the effective package name
can now contain dots too. However, this doesn't work well while
parsing files. This also introduced a regression since dots can no longer
be specified in package names.

To fix this, this commit introduces the same normalizations on the
PackageName i.e. the effective package name now uses the first segment
of PackageName.
2019-09-23 16:55:37 +05:30
Kubernetes Prow Robot
9b376e4e8e
Merge pull request #83015 from olagacek/master
Bump metrics-server version to v0.3.5
2019-09-23 03:47:22 -07:00
zouyee
e88b81c1ba fix docker_build_opts bound variable
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-23 17:46:47 +08:00
Aleksandra Gacek
236ed4d63a Bump metrics-server version to v0.3.5 2019-09-23 11:08:10 +02:00
danielqsj
c2a4906152 Bump k8s.io/klog to v1.0.0 2019-09-23 16:51:43 +08:00
clarklee92
9f38753c77 Use log functions of core framework on test/e2e/upgrades
This makes sub packages of e2e test upgrades to use log functions
of core framework instead for avoiding circular dependencies.

Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-09-23 16:09:33 +08:00
clarklee92
11ed53fbcb Use log functions of core framework on test/e2e/autoscaling
This makes sub packages of e2e test autoscaling to use log functions
of core framework instead for avoiding circular dependencies.

Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-09-23 15:30:26 +08:00
Amir Ghassemi
2550b31beb hack/local-up-cluster.sh: ability to configure auth webhooks
AUTHORIZATION_WEBHOOK_CONFIG_FILE and AUTHENTICATION_WEBHOOK_CONFIG_FILE
if set, will pass webhook configuration paths to API server
2019-09-23 10:43:47 +03:30
zouyee
8249e483f4 using echo to print args
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-23 14:21:07 +08:00
Kubernetes Prow Robot
dcf94c6d33
Merge pull request #82947 from notpad/master
Replace hyperkube with apiserver for binary path guess
2019-09-22 22:49:22 -07:00
SataQiu
7cb4850699 clean up code for scheduler 2019-09-23 12:50:15 +08:00
Kubernetes Prow Robot
6f5c2507ea
Merge pull request #82975 from wawa0210/dashboard-nodeSelector
Bind kubernetes dashboard containers to linux nodes to avoid Windows scheduling
2019-09-22 20:43:22 -07:00
zouyee
02ab6ad067 cleanup unused function
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-23 10:34:42 +08:00
Kubernetes Prow Robot
8f9fcaf727
Merge pull request #82929 from 41tair/master
fix map assignment to entry in nil map,when use --feature-gates in kubeadm
2019-09-22 12:53:22 -07:00
Ted Yu
ba45f73c1f Remove unused func GetPersistentVolumeClaimVolumeMode 2019-09-22 08:54:01 -07:00
wojtekt
cd24a0e5fa Minor cleanup of jsonFallbackEncoder 2019-09-22 14:05:54 +02:00
draveness
57da7a3508 feat: bump github.com/prometheus/procfs to v0.0.2 2019-09-22 20:04:15 +08:00
draveness
ac9b2516d4 feat: bump github.com/prometheus/client_model to v0.0.0-20190129233127-fd36f4220a90 2019-09-22 20:04:15 +08:00
draveness
dcd413ae5f feat: bump github.com/beorn7/perks to v1.0.0 2019-09-22 20:04:15 +08:00
draveness
270df13e4f feat: bump github.com/prometheus/client_golang to v0.9.4 2019-09-22 20:04:08 +08:00
draveness
c42393c16d feat: bump github.com/prometheus/common to v0.4.1 2019-09-22 20:04:01 +08:00
Kubernetes Prow Robot
338a09abd2
Merge pull request #82873 from odinuge/volume-fd-leak-openstack
Fix possible fd leak and closing of dirs in doSafeMakeDir
2019-09-22 00:53:23 -07:00
Ted Yu
2f3e563749 Remove unreachable error check in RBDUtil#cleanOldRBDFile 2019-09-21 19:14:24 -07:00
张潇
d6c9976739 Offical kubernetes dashboard should schedule to linux node 2019-09-22 08:08:04 +08:00
Ted Yu
44787fe14e Come out of loop when RPC_STAGE_UNSTAGE_VOLUME is found 2019-09-21 14:23:06 -07:00
Ted Yu
384aaad468 Check error return from WaitForCacheSync 2019-09-21 07:02:51 -07:00
张潇
4d94bfdcdf Bind kube-proxy containers to linux nodes to avoid Windows scheduling 2019-09-21 17:59:02 +08:00