Commit Graph

6527 Commits

Author SHA1 Message Date
M00nF1sh
c845f5ebad refactor NLB securityGroup handling 2019-05-28 11:12:27 -07:00
Kubernetes Prow Robot
fcc9f166fa Merge pull request #78298 from andyzhangx/azure-retry-issue
fix azure retry issue when return 2XX with error
2019-05-28 01:02:28 -07:00
Haowei Cai (Roy)
6a5fa6ca5b Allow CRD /scale labelSelectors to be under either status or spec (#78234)
* apiextensions API doc: allow labelSelectorPath to be under .status or .spec

* apiextensions validation: allow labelSelectorPath to be under .status or .spec

* test

* generated
2019-05-28 01:02:14 -07:00
Dr. Stefan Schimanski
3ccb26c3bb apiextensions: fix metrics double registration during tests 2019-05-27 19:32:55 +02:00
Dr. Stefan Schimanski
33e95bc185 apiextensions: add conversion pruning tests 2019-05-27 19:32:55 +02:00
Dr. Stefan Schimanski
26366255fc apiextensions: run conversion tests also with preserveUnknownFields=false 2019-05-27 19:32:55 +02:00
Dr. Stefan Schimanski
d87de1a903 apiextensions: prune all GVKs in serializer 2019-05-27 19:32:55 +02:00
Dr. Stefan Schimanski
ee4f1847f5 Update generated files 2019-05-26 00:28:07 +02:00
Dr. Stefan Schimanski
faa24b2b38 apiextensions: move conversion tests into own package 2019-05-26 00:28:07 +02:00
Dr. Stefan Schimanski
b83be57435 apiextensions: port conversion e2e tests to integration 2019-05-26 00:24:47 +02:00
Dr. Stefan Schimanski
8a6d14afc8 apiextensions: fix non-trivial conversion integration test
This adds a third version v1alpha1 which has the same schema as v1beta1. Moreover, v1beta1 becomes the storage version. Hence, we can do noop webhook conversion from v1alpha1 to v1beta1 and back.
2019-05-26 00:24:44 +02:00
Dr. Stefan Schimanski
743f0e6cc2 apiextensions: always fix storage version after tests 2019-05-26 00:24:13 +02:00
Dr. Stefan Schimanski
5b5fea0502 apiextensions: make conversion webhook test server more compositional 2019-05-26 00:24:09 +02:00
Dr. Stefan Schimanski
0cafec6608 apiextensions: make integration test server flags available to test code 2019-05-25 17:57:04 +02:00
Dr. Stefan Schimanski
74e62b9a77 apiextensions: fix npe in subresource test 2019-05-25 17:57:04 +02:00
Kubernetes Prow Robot
9ddc9ccc57 Merge pull request #78233 from SataQiu/clean-up-20190523
cleanup: move the comment to its place
2019-05-24 20:49:27 -07:00
andyzhangx
8a45ba1981 fix azure retry issue when return 2XX with error
fix comments
2019-05-24 13:12:30 +00:00
Kubernetes Prow Robot
a07b027261 Merge pull request #77825 from roycaihw/crd-openapi-beta
Promote Publish CRD OpenAPI to beta
2019-05-23 22:24:31 -07:00
Haowei Cai
979368ac7d apiextensions: don't run openapi controller if genericapiserver disables
openapi
2019-05-23 12:24:50 -07:00
SataQiu
64193630a7 cleanup: move the comment to its place 2019-05-23 12:29:12 +08:00
Kubernetes Prow Robot
5666982b27 Merge pull request #77793 from SataQiu/fix-golint-client-go-20190513
Fix golint failures of client-go/tools/auth client-go/tools/portforward
2019-05-22 18:44:24 -07:00
Michael Taufen
ee7bcc53a2 Update klog to v0.3.1
Includes recent fixes, notably https://github.com/kubernetes/klog/pull/66
2019-05-22 10:55:37 -07:00
Kubernetes Prow Robot
a27d3aef30 Merge pull request #78200 from zhan849/revert-76976
Manually revert #76976
2019-05-22 05:24:32 -07:00
Kubernetes Prow Robot
0b67b95c8f Merge pull request #78049 from tariq1890/corev1_pod
extract PodReasonUnschedulable out of the PodConditionType const group
2019-05-22 04:00:38 -07:00
Kubernetes Prow Robot
932d8031ab Merge pull request #77756 from jpbetz/crd-conversion-tests
Add webhook converter integration test suite
2019-05-22 02:40:12 -07:00
Harry Zhang
47b8db47cf Manually revert #76976 2019-05-21 23:13:48 -07:00
Joe Betz
e23769f018 Add webhook converter integration test suite 2019-05-21 13:07:44 -07:00
Kubernetes Prow Robot
ae2a1628f6 Merge pull request #75459 from wk8/wk8/gmsa_beta
Kubelet & API changes for Windows GMSA support
2019-05-21 11:40:08 -07:00
Kubernetes Prow Robot
15d88d19d3 Merge pull request #78019 from mrkm4ntr/use-constant
Change to use a constant
2019-05-20 18:38:52 -07:00
Kubernetes Prow Robot
938041694c Merge pull request #77554 from sttts/sttts-structural-publishing
apiextensions: publish (only) structural OpenAPI schemas
2019-05-20 18:38:39 -07:00
Kubernetes Prow Robot
69c90d8cca Merge pull request #77991 from mikedanese/ledoc
cleanup some leader election client doc
2019-05-20 17:12:39 -07:00
Kubernetes Prow Robot
fa110d754e Merge pull request #78133 from sttts/sttts-apiextensions-avoid-nonstructural-message-fight
apiextensions: avoid two HA API servers to fight for NonStructural condition message
2019-05-20 14:54:13 -07:00
Dr. Stefan Schimanski
2cfc3c69dc apiextensions: avoid two HA API server to fight for NonStructural condition message 2019-05-20 22:26:19 +02:00
Kubernetes Prow Robot
667c3ed94c Merge pull request #78063 from tedyu/evt-lock
Change lock type to write lock in eventBroadcasterImpl
2019-05-18 05:01:12 -07:00
Kubernetes Prow Robot
df4f033a4f Merge pull request #77501 from JieJhih/scheduling/plugin
add scheduling framework configuration
2019-05-18 03:39:12 -07:00
Dr. Stefan Schimanski
d01e942d37 Update generated files 2019-05-18 11:12:48 +02:00
Dr. Stefan Schimanski
bc86aeba05 apiextensions: switch OpenAPI pubilshing to structural schema 2019-05-18 11:12:48 +02:00
Kubernetes Prow Robot
3db67158cf Merge pull request #78043 from tedyu/drop-dbg-pruning
Drop debug log in prune
2019-05-17 23:21:25 -07:00
Kubernetes Prow Robot
76c214b259 Merge pull request #77843 from roycaihw/deletecollection-install-deleteoptions
Publish DeleteOptions parameters for deletecollection endpoints in OpenAPI spec
2019-05-17 23:21:13 -07:00
Kubernetes Prow Robot
961ea6bd76 Merge pull request #78012 from feiskyer/az-network-2018-07-01
Upgrade Azure network API version to 2018-07-01
2019-05-17 21:52:40 -07:00
Kubernetes Prow Robot
4891eaa3ad Merge pull request #77170 from smarterclayton/delay_queue_reentrant
DelayingQueue.ShutDown() should be reentrant
2019-05-17 20:26:34 -07:00
Kubernetes Prow Robot
df8e241fb9 Merge pull request #76346 from caesarxuchao/delete-admission-objects
Sending existing object to the webhook for the DELETE verb
2019-05-17 20:26:22 -07:00
Ted Yu
94af465819 Change lock type to write lock in eventBroadcasterImpl 2019-05-17 19:19:44 -07:00
Kubernetes Prow Robot
b6f51d16d8 Merge pull request #78041 from yastij/fix-lastTimeObserved
update LastObservedTime instead of eventTime
2019-05-17 18:57:54 -07:00
Kubernetes Prow Robot
7809732e30 Merge pull request #78040 from tedyu/evt-broadcast
Use lock in eventBroadcasterImpl#refreshExistingEventSeries
2019-05-17 18:57:42 -07:00
Kubernetes Prow Robot
0f8009b96d Merge pull request #78029 from liggitt/crd-watch
Terminate custom resource watches when storage is destroyed
2019-05-17 18:57:17 -07:00
Kubernetes Prow Robot
ddfa49b039 Merge pull request #77987 from apelisse/dont-fail-on-failures
fieldManager: Ignore conversion errors to internal types
2019-05-17 18:57:06 -07:00
JieJhih Jhang
2cd5fc54a1 add scheduling framework configuration
update bazel build

fix get plugin config method

initialize only needed plugins

fix unit test

fix import duplicate package

update bazel

add docstrings

add weight field to plugin

add plugin to v1alpha1

add plugins at appropriate extension points

remove todo statement

fix import package file path

set plugin json schema

add plugin unit test to option

initial plugin in test integration

initialize only needed plugins

update bazel

rename func

change plugins needed logic

remove v1 alias

change the comment

fix alias shorter

remove blank line

change docstrings

fix map bool to struct

add some docstrings

add unreserve plugin

fix docstrings

move variable inside the for loop

make if else statement cleaner

remove plugin config from reserve plugin unit test

add plugin config and reduce unnecessary options for unit test

update bazel

fix race condition

fix permit plugin integration

change plugins to be pointer

change weight to int32

fix package alias

initial queue sort plugin

rename unreserve plugin

redesign plugin struct

update docstrings

check queue sort plugin amount

fix error message

fix condition

change plugin struct

add disabled plugin for unit test

fix docstrings

handle nil plugin set
2019-05-18 06:30:28 +08:00
Clayton Coleman
d2f7eb5235 DelayingQueue.ShutDown() should be reentrant
All queue ShutDown() calls should be able to be invoked multiple times.

```
Observed a panic: "close of closed channel" (close of closed channel)
/go/src/github.com/openshift/cluster-version-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:76
/go/src/github.com/openshift/cluster-version-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65
/go/src/github.com/openshift/cluster-version-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51
/usr/local/go/src/runtime/asm_amd64.s:573
/usr/local/go/src/runtime/panic.go:502
/usr/local/go/src/runtime/chan.go:333
/go/src/github.com/openshift/cluster-version-operator/vendor/k8s.io/client-go/util/workqueue/delaying_queue.go:137
```

Use sync.Once to guarantee a single close.
2019-05-17 16:56:30 -04:00
Tariq Ibrahim
3eefcfadc0 extract PodReasonUnschedulable out of the PodConditionType const group
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
2019-05-17 12:33:11 -07:00