Commit Graph

83629 Commits

Author SHA1 Message Date
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
hwdef
386f981116 fix(pkg): delete unused var or const 2019-09-21 17:13:13 +08:00
Kubernetes Prow Robot
60044a8acc
Merge pull request #79129 from qingsenLi/k8s-190618-remove-code
Remove some unused codes in stateful_set_utils.go
2019-09-21 01:03:24 -07:00
qingsenLi
d3a0c149a3 Remove some unused codes in stateful_set_utils.go 2019-09-21 22:24:48 +08:00
Kubernetes Prow Robot
946df1a914
Merge pull request #81932 from palnabarun/fix-staticcheck-tests-e2e_node
Fixes static check failures in test/e2e_node/*
2019-09-20 22:55:37 -07:00
Kubernetes Prow Robot
3a55875465
Merge pull request #81512 from odinuge/preemptible-node-tests
Add support for preemptible instances in node-e2e
2019-09-20 22:55:24 -07:00
Kubernetes Prow Robot
ba690c0796
Merge pull request #82955 from misterikkit/vsphere-sc
storage E2E: test drivers must have DNS-1123 names
2019-09-20 20:07:51 -07:00
Kubernetes Prow Robot
07e26d9bfc
Merge pull request #82922 from ZP-AlwaysWin/dev08
Use framework.ExpectNotEqual()
2019-09-20 20:07:40 -07:00
Kubernetes Prow Robot
4ed88d4232
Merge pull request #81819 from msau42/topology-e2es
add volume topology e2es
2019-09-20 20:07:25 -07:00
Kubernetes Prow Robot
2bc9f45512
Merge pull request #81933 from palnabarun/fix-staticchek-pkgsecurity
Fixes static check failures in pkg/security/podsecuritypolicy/sysctl
2019-09-20 18:43:39 -07:00
Kubernetes Prow Robot
2e13dfa575
Merge pull request #78688 from nikhita/yaml-benchmark
Add benchmarks for yaml marshaling and unmarshaling
2019-09-20 18:43:25 -07:00
Jonathan Basseri
e47ddafa9f storage E2E: test drivers must have DNS-1123 names
Because driver names get used in some object names (e.g. StorageClass)
the driver name must be a valid DNS-1123 name.
2019-09-20 16:39:24 -07:00
Kubernetes Prow Robot
a7bd7a925d
Merge pull request #82908 from ZP-AlwaysWin/dev06
Use framework.ExpectNotEqual()
2019-09-20 16:17:58 -07:00
Kubernetes Prow Robot
6d58376baa
Merge pull request #82896 from ahg-g/ahg-config
Refactor the scheduler's configuration logic.
2019-09-20 16:17:46 -07:00
Kubernetes Prow Robot
40a8d9ebee
Merge pull request #82735 from ahmad-diaa/remove-NewConfigFactory-compatibility-test
Improve Scheduler Compatibility Test
2019-09-20 16:17:37 -07:00
Kubernetes Prow Robot
23ec5b6e9e
Merge pull request #82357 from beautytiger/fix_shellcheck_config-common.sh
fix shellcheck in cluster/gce/config-common.sh
2019-09-20 16:17:24 -07:00
Ahmad Diaa
bf6a70a1ce use scheduler.Option in initTestSchedulerWithOptions 2019-09-21 00:06:42 +02:00
Ahmad Diaa
995e741ef9 use scheduler.New in createConfiguratorArgsWithPodInformer 2019-09-21 00:06:41 +02:00
Kubernetes Prow Robot
08ef34a2b0
Merge pull request #82914 from Random-Liu/fix-kubectl-panic
Fix kubectl panic when handling invalid error.
2019-09-20 14:13:37 -07:00
Kubernetes Prow Robot
658e57a157
Merge pull request #82797 from yutedz/rel-cidr-wrong-err
Correct the error variable for releasing CIDR
2019-09-20 14:13:26 -07:00
Ahmad Diaa
fda4d41ee5 change compatibility_test struct, remove ExpectedPolicy 2019-09-20 21:43:40 +02:00
Ahmad Diaa
009ffaf803 validate scheduler policy instead of the decoded policy in compatibility_test 2019-09-20 21:42:12 +02:00
Ahmad Diaa
104e368860 remove factory.NewConfigFactory in compatibility test 2019-09-20 21:41:51 +02:00
Kubernetes Prow Robot
ac8ac0fc17
Merge pull request #82830 from jsafrane/pv-admission-fix
Do not query the cloud if dynamic PV has all the labels
2019-09-20 12:27:38 -07:00