Commit Graph

71300 Commits (b502bc093c1fbdda46d4337d03c5aa8e8fa19a80)

Author SHA1 Message Date
Jordan Liggitt b502bc093c stop generating GetScale/UpdateScale for internal clients 2018-10-25 21:12:57 -04:00
Jordan Liggitt dda0a68521 Change registration and custom conversion from extensions to apps 2018-10-25 21:12:57 -04:00
Jordan Liggitt 8a43e52d18 Move fuzzing from extensions to apps 2018-10-25 21:11:52 -04:00
Jordan Liggitt 283e282515 Move extensions validation to apps 2018-10-25 21:11:52 -04:00
Jordan Liggitt 4e980bbf08 Move extensions types to apps 2018-10-25 21:11:52 -04:00
Jordan Liggitt 7df2f9785e remove CustomMetricTarget 2018-10-25 21:11:52 -04:00
k8s-ci-robot 0ba00ec3a3
Merge pull request #69209 from Pingan2017/control-config
remove flag: insecure-experimental-approve-all-kubelet-csrs-for-group
2018-10-25 17:51:22 -07:00
k8s-ci-robot af693a2852
Merge pull request #70247 from hhoover/68527-fix-typo
Fix typo in Bug Report issue template
2018-10-25 16:38:27 -07:00
k8s-ci-robot 804c868a8c
Merge pull request #69997 from krmayankk/dockershimtests
add myself to node reviewers
2018-10-25 16:38:17 -07:00
k8s-ci-robot 35290b2207
Merge pull request #70243 from runcom/test-output-useful
test/e2e/storage: fix output in case of failure and use another NFS mount option
2018-10-25 15:25:46 -07:00
k8s-ci-robot bf63ece653
Merge pull request #69903 from saad-ali/releaseNotes12
Add CSI action required to 1.12 release notes
2018-10-25 15:25:33 -07:00
k8s-ci-robot 1975747b10
Merge pull request #70210 from cblecker/remove-golang-fork
Remove golang fork for typecheck
2018-10-25 14:03:17 -07:00
k8s-ci-robot ebace7718a
Merge pull request #70099 from grayluck/five-sec-hc
Change GCE LB health check interval from 2s to 8s
2018-10-25 14:03:07 -07:00
k8s-ci-robot 12cf545195
Merge pull request #70234 from Adirio/Adirio-patch-1
Map allocation optimization for client-go/tools/cache
2018-10-25 11:47:00 -07:00
k8s-ci-robot 9ed206e3b9
Merge pull request #70206 from runcom/fix-cronjob-e2e
test/e2e/apps: fix race in cronjob test
2018-10-25 11:46:50 -07:00
Antonio Murdaca fc80120a0f test/e2e/storage: use relatime for checking NFS options
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 20:44:33 +02:00
Antonio Murdaca ebdc25a80e test/e2e/storage: provide useful output if test fail
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 20:44:28 +02:00
Christoph Blecker e415c1ec1d
Fix typecheck test error message
extra characters due to whitespace differences
2018-10-25 11:27:58 -07:00
Christoph Blecker 8574c38f81
Update srcimporter.go to golang/go@5f0a9ba
Also move to third_party/ as it's copied code.
2018-10-25 11:27:53 -07:00
hhoover ebd028b009 Fix typo in Bug Report issue template
Related to #68774

Signed-off-by: Hart Hoover <hart@heptio.com>
2018-10-25 13:21:08 -05:00
k8s-ci-robot b6fd5d93b2
Merge pull request #69389 from smarterclayton/wait_error
kubectl wait must handle errors returned by watch
2018-10-25 09:40:41 -07:00
k8s-ci-robot f4bf0e8d33
Merge pull request #70237 from nikhita/proto-remove-trailing-whitespace
Remove trailing whitespace in the protobuf generator
2018-10-25 08:25:06 -07:00
k8s-ci-robot 2dc511a4ec
Merge pull request #70233 from jbartosik/e2e-deflake
Change back HPA e2e tests to request 500 mCPU
2018-10-25 08:24:56 -07:00
k8s-ci-robot 584a86736e
Merge pull request #70071 from xichengliudui/fix18102203
Fix grammatical errors and repeat words
2018-10-25 07:12:20 -07:00
k8s-ci-robot 63e9ecabb6
Merge pull request #70209 from ixdy/update-images-after-#69995
Update images after #69995
2018-10-25 05:55:29 -07:00
k8s-ci-robot abb8f66ff4
Merge pull request #70186 from yuexiao-wang/switch-errors
[kubeadm/app/cmd]switch to github.com/pkg/errors
2018-10-25 05:55:19 -07:00
Adrián 2299f45f52 Optimized map allocation in Replace methods
Initial allocation of several maps as the sizes are known

Signed-off-by: Adrián Orive <adrian.orive.oneca@gmail.com>
2018-10-25 14:25:00 +02:00
Nikhita Raghunath e60b0a129a generated proto: remove trailing whitespace 2018-10-25 16:37:33 +05:30
k8s-ci-robot 3a680bc42d
Merge pull request #70100 from lavalamp/schema-fix
API Schema fix: container port keys
2018-10-25 04:01:25 -07:00
Nikhita Raghunath 4911ad8ff1 Remove trailing whitespace in proto generator 2018-10-25 16:08:11 +05:30
Joachim Bartosik 1b90dc96d7 Change back HPA e2e tests to request 500 mCPU
I increased request from 500mCPU to 1CPU in
https://github.com/kubernetes/kubernetes/pull/70125 but this interacts
poorly with other e2e tests (higher requests mean pods fil to schedule).
So revert that change.
2018-10-25 11:16:31 +02:00
k8s-ci-robot ed39bd45f5
Merge pull request #70087 from liggitt/fix-crd-internal-types
Fix custom resource handler in-memory version
2018-10-25 02:11:04 -07:00
yuexiao-wang f9084c6ce6 [kubeadm/app/cmd]switch to github.com/pkg/errors
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-25 15:05:04 +08:00
k8s-ci-robot 689df2010d
Merge pull request #68676 from mikkeloscar/fix-redis-statefulset-test
Fix Redis StatefulSet e2e test
2018-10-24 22:53:05 -07:00
k8s-ci-robot d96f235051
Merge pull request #69991 from agunnerson-ibm/issue-69471
certificate_manager: Check that template differs from current cert before rotation
2018-10-24 21:35:09 -07:00
Shubheksha f282543605 Adopt multiple issue templates (#68774)
* add support for multiple issue templates

* add comment to precede the kind label
2018-10-24 21:35:00 -07:00
k8s-ci-robot 0df5462db6
Merge pull request #69700 from verult/repd-e2e-regionalcluster
Updated Regional PD failover test to use node taints instead of instance group deletion
2018-10-24 19:26:51 -07:00
k8s-ci-robot 375ff10803
Merge pull request #70195 from dekkagaijin/master
Increment version for metadata-concealment test image
2018-10-24 18:10:31 -07:00
k8s-ci-robot 432e8d43e0
Merge pull request #70141 from pohly/provider-warning
e2e: allow unknown providers with a warning
2018-10-24 18:10:22 -07:00
yankaiz 40ab479f06 Change GCE LB health check interval from 2s to 8s, unhealthyThreashold to 3
Force ELB to ensureHealthCheck when target pool exists.

Add e2e test to ensure that HC interval will be reconciled when
kube-controller-manager restarts.

Health checks with bigger thresholds and larger intervals will not be reconciled.

Add unittest for ILB and ELB to ensure HC reconciles and is configurable.
2018-10-24 17:55:26 -07:00
Christoph Blecker 31601caa8d
Remove forked go/types 2018-10-24 17:40:06 -07:00
Christoph Blecker 328c3ce90a
Swap typecheck to use go/types stdlib 2018-10-24 17:39:52 -07:00
k8s-ci-robot c31d7f5b26
Merge pull request #70199 from mkimuram/issue/70191
Move the provisioning test for retain policy back to volume_provisioning.go
2018-10-24 16:58:31 -07:00
k8s-ci-robot eff7492d38
Merge pull request #70182 from SataQiu/fix-20181024
Fix incorrect return value of kubeadm pre-flight checks
2018-10-24 16:58:22 -07:00
Jeff Grafton 162c00bdbc Update e2e test image manifests 2018-10-24 16:23:12 -07:00
Jeff Grafton 7b93b50e40 Update to use kube-addon-manager:v8.9 2018-10-24 16:19:51 -07:00
Jeff Grafton 003404685d Update to use debian-iptables v11.0 and debian-hyperkube-base 0.12.0 2018-10-24 16:18:53 -07:00
Antonio Murdaca 48f12259b1 test/e2e/apps: fix race in cronjob test
With CRI-O we've been hitting a lot of flakes with the following test:

[sig-apps] CronJob should remove from active list jobs that have been deleted

The events shown in the test failures in both kube and openshift were the following:

STEP: Found 13 events.
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid: {cronjob-controller } SuccessfulCreate: Created job forbid-1540412040
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid-1540412040: {job-controller } SuccessfulCreate: Created pod: forbid-1540412040-z7n7t
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid-1540412040-z7n7t: {default-scheduler } Scheduled: Successfully assigned e2e-tests-cronjob-rjr2m/forbid-1540412040-z7n7t to 127.0.0.1
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Pulled: Container image "docker.io/library/busybox:1.29" already present on machine
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Created: Created container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Started: Started container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:12 +0000 UTC - event for forbid: {cronjob-controller } MissingJob: Active job went missing: forbid-1540412040
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid: {cronjob-controller } SuccessfulCreate: Created job forbid-1540412100
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid-1540412100: {job-controller } SuccessfulCreate: Created pod: forbid-1540412100-rq89l
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid-1540412100-rq89l: {default-scheduler } Scheduled: Successfully assigned e2e-tests-cronjob-rjr2m/forbid-1540412100-rq89l to 127.0.0.1
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Started: Started container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Created: Created container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Pulled: Container image "docker.io/library/busybox:1.29" already present on machine

The code in test is racy because the Forbid policy can still let the controller to create
a new pod for the cronjob. CRI-O is fast at re-creating the pod and by the time
the test code reaches the check, it fails. The events are as follow:

[It] should remove from active list jobs that have been deleted
  /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/apps/cronjob.go:192
STEP: Creating a ForbidConcurrent cronjob
STEP: Ensuring a job is scheduled
STEP: Ensuring exactly one is scheduled
STEP: Deleting the job
STEP: deleting Job.batch forbid-1540412040 in namespace e2e-tests-cronjob-rjr2m, will wait for the garbage collector to delete the pods
Oct 24 20:14:02.533: INFO: Deleting Job.batch forbid-1540412040 took: 2.699182ms
Oct 24 20:14:02.634: INFO: Terminating Job.batch forbid-1540412040 pods took: 100.223228ms
STEP: Ensuring job was deleted
STEP: Ensuring there are no active jobs in the cronjob
[AfterEach] [sig-apps] CronJob
  /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:148

It looks clear that by the time we're ensuring that there are no more active jobs, there
could be _already_ a new job spinned, making the test flakes.

This PR fixes all the above by making sure that the _deleted_ job is not in the Active
list anymore, besides other pod already running but with different UUID which is
going to be fine anyway for the purpose of the test.

Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 00:14:19 +02:00
k8s-ci-robot 2126045bcc
Merge pull request #70197 from dims/switch-from-mirror-to-main-download-site-for-zookeeper
Switch from mirror to main download site for zookeeper
2018-10-24 14:47:25 -07:00
Kim Min 79599ac419 Prune internal clientset/informer from kubeapiserver admission initializer (#70167)
* externalize pv resize admission controller

* externalize podtolerationrestriction admission controller

* externalize podnodeselector admission controller

* remove internal clientset/informer from kubeapiserver admission initializer

* minor change: fixes scheduler integration test compiliation
2018-10-24 14:47:16 -07:00