Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Jordan Liggitt
4536388909
Update bazel
2016-12-09 16:26:06 -05:00
Jordan Liggitt
fcf5bbccd6
Fix references from serializable types to use v1.ObjectMeta
2016-12-09 16:26:04 -05:00
Kubernetes Submit Queue
34c873a748
Merge pull request #36711 from hongchaodeng/e4
...
Automatic merge from submit-queue (batch tested with PRs 38181, 38128, 36711)
etcd2: have prefix always prepended
The prefix issue is discussed in #36290 .
This is fixing etcd2 behavior separately.
**release note**:
```
etcd2: have prefix always prepended
```
2016-12-07 03:09:34 -08:00
Kubernetes Submit Queue
6cfe041b53
Merge pull request #38200 from hongchaodeng/e
...
Automatic merge from submit-queue (batch tested with PRs 37032, 38119, 38186, 38200, 38139)
etcd2: remove unnecessary PrevValue in SetOption
ref: https://github.com/kubernetes/kubernetes/issues/37994
Summary:
- PrevValue is set in HTTP header, and large value (>1MB) could exceed check limit
- We don't need PrevValue indeed since we already use PrevIndex in SetOptions and each PrevIndex corresponds to each PrevValue.
I don't really think we need extra tests for this. There is already test for GuaranteedUpdate covering its use cases.
2016-12-06 18:29:38 -08:00
Hongchao Deng
7a0176da57
etcd2: remove unnecessary PrevValue in SetOption
2016-12-06 09:24:49 -08:00
Hongchao Deng
14ed02d0dd
pkg/storage/etcd: update bazel
2016-12-05 15:10:38 -08:00
Hongchao Deng
b6e329654e
etcd2: have prefix always prepended
2016-12-05 15:10:38 -08:00
Hongchao Deng
34db128af9
etcd2: watch on 0 to return ADDED always
2016-12-05 15:10:24 -08:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Wojciech Tyczynski
ec247315be
Handle RV in Get calls to storage interface.
2016-12-03 10:18:43 +01:00
Hongchao Deng
1972270f7b
cacher test: fix leftover v2 test server
2016-11-13 16:22:24 -08:00
Wojciech Tyczynski
a1090151ef
Try to avoid Get to etcd in GuaranteedUpdate in Cacher
2016-10-25 21:59:02 +02:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Wojciech Tyczynski
93c008f8a4
Support resourceVersion in GetToList - unify interface of List and GetToList
2016-10-21 10:09:23 +02:00
deads2k
518d5500c7
remove testapi.Default.GroupVersion
2016-10-07 10:10:54 -04:00
Hongchao Deng
6f3ac807fd
pass SelectionPredicate instead of Filter to storage layer
2016-09-26 09:47:19 -07:00
Lucas Käldström
519379138d
Move HighWaterMark to the top of the struct in order to fix 32-bit platforms
2016-09-20 22:44:56 +03:00
Timothy St. Clair
9f3841b452
Revert "Revert "Enable v3 Client as the default on UTs""
...
This reverts commit 9dcef2e3cd
.
2016-09-14 07:27:21 -05:00
Wojciech Tyczynski
03a23aed09
Log water mark for incoming queue in cacher
2016-09-09 11:35:05 +02:00
Wojciech Tyczynski
bd54c389f5
Extend logging for scalability tests debugging
2016-09-08 12:02:59 +02:00
Daniel Smith
9dcef2e3cd
Revert "Enable v3 Client as the default on UTs"
2016-08-24 13:16:40 -07:00
Timothy St. Clair
49b7ebd791
Switch UT default settings to leverage etcd3.v3client
2016-08-22 22:17:55 -05:00
Hongchao Deng
6e4f80909d
unit test for tls of etcd3
2016-08-21 15:59:51 -07:00
Wojciech Tyczynski
e76c0b7c72
Increase buffer size in etcd_watcher
2016-08-19 13:00:31 +02:00
Hongchao Deng
a607a69f4a
pkg/storage: cleanup Codec() from interface
2016-08-15 20:46:13 -07:00
Hongchao Deng
7f28eda9be
storage interface: remove Backends()
2016-08-07 16:10:18 -07:00
Kubernetes Submit Queue
f9cadb290b
Merge pull request #22919 from liggitt/http-test-etcd
...
Automatic merge from submit-queue
Allow starting test etcd with http
There are cases where we'll want to start a test etcd without https (external tools monitoring tests, tests with lots of parallelism, etc). This makes it an option.
Helps with https://github.com/kubernetes/kubernetes/issues/23127
<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/22919 )
<!-- Reviewable:end -->
2016-08-05 12:06:12 -07:00
Hongchao Deng
60d165a830
storage error: precondition failure should return invalid object error
2016-07-24 20:21:42 -07:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
Wojciech Tyczynski
1d9bc58328
Extend Filter interface with Trigger() and use it for pods and nodes
2016-07-13 08:45:18 +02:00
Wojciech Tyczynski
7f7ef0879f
Change filter to interface in storage.Interface
2016-07-13 08:44:22 +02:00
Jordan Liggitt
d4d6a0ee4c
Allow starting test etcd with http
2016-07-10 22:28:01 -04:00
Jordan Liggitt
e43e58c787
Allow specifying base location for test etcd data
2016-07-08 16:24:41 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Wojciech Tyczynski
394db3b407
Fix traces
2016-06-06 10:49:46 +02:00
Janet Kuo
672cd64035
Disallow returning nil server in NewEtcdTestClientServer
2016-05-26 14:37:12 -07:00
Janet Kuo
3cc2311c54
Increase etcd test server up timeout to wait.ForeverTestTimeout
2016-05-26 14:35:57 -07:00
deads2k
02c0181f26
reduce conflict retries
2016-05-23 13:09:37 -04:00
Wojciech Tyczynski
7452bc3f5b
Tune traces thresholds in etcdHelper
2016-05-16 11:10:31 +02:00
Hongchao Deng
5337bc220a
etcd_watcher: test for ensuring delete event have latest index
2016-05-12 11:01:26 -07:00
Hongchao Deng
fcf63a6c4b
etcd_watcher: make Deleted Event.Object's version consistent
2016-05-12 11:01:26 -07:00
Daniel Smith
995f022808
Never leak the etcd watcher's translate goroutine
2016-05-05 11:19:12 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
k8s-merge-robot
11298d02e0
Merge pull request #24455 from hongchaodeng/fl
...
Automatic merge from submit-queue
Provide flags to use etcd3 backed storage
ref: #24405
What's in this PR?
- Add a new flag "storage-backend" to choose "etcd2" or "etcd3". By default (i.e. empty), it's "etcd2".
- Take out etcd config code into a standalone package and let it create etcd2 or etcd3 storage backend given user input.
2016-04-29 08:49:04 -07:00
Hongchao Deng
c0071a1595
add flags to enable etcd3
2016-04-28 09:48:16 +08:00
zhouhaibing089
bf1a3f99c0
Uncomment the code that cause by #19254
2016-04-25 23:21:31 +08:00
deads2k
6670b73b18
make storage enablement, serialization, and location orthogonal
2016-04-21 08:18:55 -04:00
k8s-merge-robot
5f3f06f0b1
Merge pull request #24022 from hongchaodeng/dep
...
Automatic merge from submit-queue
Bump up etcd dependency to fix data race
ref: https://github.com/kubernetes/kubernetes/pull/23694
What this PR does
- Bumping up the godep of etcd to fix data race in etcd watcher. Without this change, watcher PR builds will fail in race detection.
- Small changes to fix builds after upgrade
2016-04-17 12:01:32 -07:00
k8s-merge-robot
2bf52175f9
Merge pull request #23923 from hongchaodeng/exp
...
Automatic merge from submit-queue
Decouple etcd node.expiration logic from DeleitonTimestamp
ref: https://github.com/kubernetes/kubernetes/issues/23902
2016-04-17 04:12:26 -07:00