Chao Xu
6e192760e3
refactoring latest.go GroupVersion;
...
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
k8s-merge-robot
69bb774dd4
Merge pull request #17798 from deads2k/gv-kubectl-01
...
Auto commit by PR queue bot
2015-11-30 07:40:40 -08:00
deads2k
1ac6d8afd3
update reaper, scaler, describer for GroupKind
2015-11-30 09:22:39 -05:00
harry
477da92002
Move hostIP detection from master to server
...
Add PublicAddress in test files
Move valid public addr into util
2015-11-30 16:17:37 +08:00
k8s-merge-robot
3ffc680be6
Merge pull request #13580 from ravigadde/sched-ext
...
Auto commit by PR queue bot
2015-11-25 12:26:16 -08:00
k8s-merge-robot
7f2f7aa091
Merge pull request #16432 from markturansky/recycler_race
...
Auto commit by PR queue bot
2015-11-25 11:54:06 -08:00
Ravi Gadde
cadc24e9fd
Scheduler extension
2015-11-25 08:19:27 -08:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
deads2k
a87d927588
update client.Config to use GroupVersion
2015-11-21 08:29:26 -05:00
k8s-merge-robot
7ad8bb1787
Merge pull request #17161 from soltysh/strip_reaper
...
Auto commit by PR queue bot
2015-11-17 05:45:35 -08:00
Maciej Szulik
64f778804d
Remove string from Reaper.Stop signature
2015-11-17 12:09:08 +01:00
markturansky
b9b8cf7fff
Fixed race condition in pv binder
2015-11-12 13:55:09 -05:00
Wojciech Tyczynski
3df5d1dbc3
Move storage-related dirs under pkg/storage.
2015-11-12 19:49:32 +01:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
nikhiljindal
a0c038982e
Fixing integrations test
2015-10-15 16:54:17 -07:00
nikhiljindal
7bcc4a6755
Allowing runtimeConfig to support enabling/disabling specific extension resources
2015-10-15 14:24:22 -07:00
k8s-merge-robot
e6d98af05a
Merge pull request #15202 from lavalamp/scheduler-speed-test
...
Auto commit by PR queue bot
2015-10-15 04:46:27 -07:00
Wojciech Tyczynski
66113539cb
Remove duplicate code from test/integration
2015-10-14 12:11:53 +02:00
k8s-merge-robot
ae9f7c8ff8
Merge pull request #15426 from zhengguoyong/adjust_package_name_pkgcontroller
...
Auto commit by PR queue bot
2015-10-13 06:05:23 -07:00
Timothy St. Clair
2a2a2d79ff
New etcd client modifications part 1 (context support)
...
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05:00
gmarek
fb56afe4b4
HollowNode refactoring
2015-10-12 12:13:10 +02:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
Chao Xu
f3caff2a79
testapi.Experimental -> testapi.Extensions
2015-10-09 15:15:35 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1
experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:01:33 -07:00
k8s-merge-robot
a4ac5ef564
Merge pull request #14302 from timstclair/prometheus-update
...
Auto commit by PR queue bot
2015-10-09 02:35:09 -07:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
Daniel Smith
377e5c533b
add scheduler integration benchmark
2015-10-06 18:15:21 -07:00
Tim St. Clair
8d49c8e29a
Update prometheus libraries to new versions.
2015-10-06 12:56:14 -07:00
Wojciech Tyczynski
0f1cbe37a4
Events in separate etcd
2015-10-05 10:54:24 +02:00
deads2k
8db054651c
plumb APIGroup to authorization attributes and test
2015-09-30 09:45:10 -04:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
c340d664da
Merge pull request #14046 from soltysh/job_controller_reaper_scaler
...
Reaper and scaler for jobs
2015-09-24 13:54:31 -07:00
Brendan Burns
ec427f22b1
Disable race detection for all integration tests
2015-09-24 09:37:01 -07:00
Jerzy Szczepkowski
c53df247c8
Merge pull request #14440 from brendandburns/flakes2
...
Increase some more timeouts to eliminate flakes
2015-09-24 10:23:34 +02:00
Brendan Burns
d3379e72be
Turn off race detection in the etcd tools test as etcd client isn't thread safe
2015-09-23 21:25:26 -07:00
Brendan Burns
f529cc71ca
Increase some more timeouts to eliminate flakes
2015-09-23 14:56:29 -07:00
Brendan Burns
77fd388485
Increase a bunch of timeouts to reduce flakes
2015-09-23 11:09:03 -07:00
Maciej Szulik
48775319d9
Reaper and scaler for jobs
2015-09-23 13:06:34 +02:00
markturansky
f4232d3299
fixed code issues related to hasty test refactor
2015-09-22 14:44:31 -04:00
markturansky
d2e8ec934c
merged recycler+deleter tests so they run serially
2015-09-22 13:36:26 -04:00
markturansky
6dca2a4e7f
removed flaky test. other integration tests (and many unit tests) also cover binding
2015-09-22 13:26:20 -04:00
saadali
cd56b041f3
Fix #14284 : TestPersistentVolumeClaimBinder flake
2015-09-21 19:21:06 -07:00
k8s-merge-robot
6c30a0e170
Merge pull request #13955 from caesarxuchao/API-discovery
...
Auto commit by PR queue bot
2015-09-21 14:01:36 -07:00
Chao Xu
1278771b34
let apiserver support api discovery
2015-09-21 12:20:24 -07:00
markturansky
9c7d03b2b6
added separate clients per caller in integration tests
2015-09-18 13:23:21 -04:00
k8s-merge-robot
434b768822
Merge pull request #13277 from uluyol/sv-detect-group
...
Auto commit by PR queue bot
2015-09-18 01:31:43 -07:00
Muhammed Uluyol
f855e75805
Correctly do swagger validation with experimental.
...
Before we tried both groups, first api then experimental. If
experimental failed, the error message would be discarded and the
message for api would be shown. This commit changes this behavior so
that we detect which api group we should be using and only show the
error for that group.
2015-09-17 22:54:56 -04:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
k8s-merge-robot
055f5ff9b9
Merge pull request #13649 from markturansky/prov_deleter
...
Auto commit by PR queue bot
2015-09-17 12:59:45 -07:00
markturansky
c2de9e9647
Added volume.Deleter interface and simple HostPath implementation
2015-09-17 12:08:58 -04:00
k8s-merge-robot
426d4a2477
Merge pull request #13945 from caesarxuchao/kube-api-prefix
...
Auto commit by PR queue bot
2015-09-16 18:43:55 -07:00
Chao Xu
9bef5ff99d
register experimental apis as apis/experimental/..
...
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
markturansky
7bc55b5aea
configurable pv recyclers
2015-09-15 12:48:25 -04:00
k8s-merge-robot
bf641078eb
Merge pull request #13785 from wojtek-t/minion_to_node_2
...
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
Wojciech Tyczynski
53ae56f205
Replace "minion" with "node" in bunch of places.
2015-09-14 11:07:11 +02:00
Chao Xu
f5023929d8
fix broken files after rebase
2015-09-12 15:45:12 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Daniel Smith
ccd9e3e247
Run all automated tools
2015-09-11 16:11:08 -07:00
Daniel Smith
4c2adabf42
move; sed replace
2015-09-11 16:03:22 -07:00
Daniel Smith
b225c1d47a
Run gofmt (separate commit for easy rebases)
2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Timothy St. Clair
2b7e758c3c
Fixes the experimental api, which appeared to be completely broken.
...
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
Clayton Coleman
02dbb95447
Add TerminationGracePeriodSeconds to API
...
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Clayton Coleman
9267f829eb
Update tests to prepare for graceful deletion
...
For cases where we want to immediately cleanup the pod, start using
gracePeriod 0 in test cases.
2015-08-19 22:20:29 -04:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Clayton Coleman
89f1f3b1b8
Alter graceful deletion to not use TTL
...
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.
Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Muhammed Uluyol
fab367230f
Add experimental API support to kubectl
2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
markturansky
8e0d391b1e
Refactored persistent volume controllers to new packaging structure
2015-08-10 23:18:48 -04:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Alex Mohr
366b382901
Merge pull request #10200 from caesarxuchao/resthandler-validate-version
...
verify and default APIVersion in createHandler, verify APIVersion in UpdateResource
2015-08-04 13:09:31 -07:00
Alex Mohr
1311b9dce1
Merge pull request #11886 from gmarek/ratelimit
...
Auto commit by PR queue bot
2015-08-04 11:39:53 -07:00
Chao Xu
664d20c572
Add DecodeIntoWithSpecifiedVersionKind() to Decoder interface.
...
The function validate/default the body with the passed in apiVersion and Kind.
It's called in createHandler and UpdateResource
2015-08-03 15:30:00 -07:00
gmarek
d27ad5b714
Controller codebase refactoring
2015-08-03 17:06:25 +02:00
gmarek
4cc0a2f117
Allow changing Schedulers RateLimitter setting during startup.
2015-08-03 15:27:19 +02:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
99d6b0e9f4
Rename storage interfaces
2015-07-30 10:34:57 +02:00
Wojciech Tyczynski
d17985f1ad
Move StorageInterface to pkg/storage.
2015-07-30 09:32:04 +02:00
Ananya Kumar
47dd0bc6f9
Refactor package controller
2015-07-29 09:54:35 -07:00
Wojciech Tyczynski
7ce51db40d
Rename StorageInterface methods
2015-07-29 08:02:13 +02:00
Wojciech Tyczynski
9d943df397
Private EtcdHelper
2015-07-27 09:20:13 +02:00
Mike Danese
859f440f74
Merge pull request #11666 from wojtek-t/refactor_etcd_helper
...
Extract EtcdHelper interface
2015-07-24 11:07:46 -07:00
Mike Danese
ae1c8e55ef
Merge pull request #11737 from thockin/cleanup-remove-v1beta3
...
Remove v1beta3
2015-07-24 10:25:56 -07:00
Wojciech Tyczynski
fdb3f45077
Extract EtcdHelper interface
2015-07-24 09:28:02 +02:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
nikhiljindal
1517b66001
Updating an error to apierror
2015-07-15 16:43:59 -07:00
nikhiljindal
c465a50891
Stop exposing v1beta3 by default
2015-07-08 15:27:41 -07:00
nikhiljindal
2e9e46dd08
Updating scripts to use v1 instead of v1beta3
2015-07-01 00:23:16 -07:00
nikhiljindal
e0d48d4983
Support both GET and POST methods for /exec and /portforward
2015-06-29 16:01:01 -07:00
Mike Danese
56bde3342a
add ca to token controller and all service accounts
2015-06-24 15:10:20 -07:00
Mike Danese
44d5815663
fix broken integration tests
2015-06-19 10:57:46 -07:00
Chao Xu
a309d3e652
Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2
2015-06-16 14:12:03 -07:00
Chao Xu
ef61b031f5
make v1 enabled by default
2015-06-04 11:37:44 -07:00
Brian Grant
e7788771d6
Merge pull request #9030 from brendandburns/kubectl
...
Add a custom timeout flag for stop/delete.
2015-06-03 21:14:50 -07:00
Brendan Burns
ab0c9b8e1e
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
2015-06-03 11:21:30 -07:00
Chao Xu
89c8949e78
add v1 to hack/test-integration.sh
2015-06-02 14:55:45 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Clayton Coleman
984692d205
Verify in hack/test-cmd
2015-06-01 19:24:01 -04:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Anastasis Andronidis
9e3a540940
rename resize to scale
2015-05-27 19:08:06 +02:00
Brian Grant
2c81050e6f
Merge pull request #8457 from davidopp/master
...
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-19 07:43:21 -07:00
David Oppenheimer
44b1e1ca0c
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-18 23:32:06 -07:00
Tim Hockin
f66ca25d9f
Rename AccessMode to PersistentVolumeAccessMode
2015-05-18 17:21:30 -07:00
Daniel Smith
5e056f119d
Merge pull request #6694 from bprashanth/bench
...
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -07:00
Victor Marmol
45874d5f76
Merge pull request #5547 from gmarek/client3
...
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -07:00
Clayton Coleman
3b10d82864
Merge pull request #8391 from liggitt/etcd_token_lookup
...
Make serviceaccount/token lookup more flexible
2015-05-18 11:08:30 -04:00
Jordan Liggitt
d90e7409e4
Prevent auth recursion for service account tokens
2015-05-16 23:39:07 -04:00
Jordan Liggitt
7e9281fc39
Allow ServiceAccountsController to manage multiple named service accounts
2015-05-15 23:42:00 -04:00
Prashanth Balasubramanian
4200033c0a
Add a simple master benchmark and a wrapper to run it.
2015-05-15 17:30:17 -07:00
gmarek
27d660d0ac
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-15 10:57:46 +02:00
markturansky
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04:00
Jordan Liggitt
92bd58ede6
ServiceAccount e2e/integration tests
2015-05-11 17:18:06 -04:00
Clayton Coleman
8755ea8ec9
Merge pull request #7704 from smarterclayton/parallel_allocator
...
Use etcd to allocate PortalIPs instead of in-mem
2015-05-11 09:56:10 -04:00
Wojciech Tyczynski
9b6ef98469
Merge pull request #8035 from shawnps/patch-9
...
Fix Sprintf verb
2015-05-11 12:43:01 +02:00
Shawn Smith
5d5c660f4b
Add missing Errorf formatting directives
2015-05-10 13:25:14 +09:00
Shawn Smith
5b0d4d72ba
Fix Sprintf verb
2015-05-10 13:22:18 +09:00
Clayton Coleman
5bcb96dae1
Separate out the master's control loops
...
These are "Bootstrap Controllers" as distinct from
the controllers in the controller-manager binary - they
are necessary for the cluster to start running.
2015-05-08 16:04:03 -04:00
Clayton Coleman
e200d5a317
Make PortalIP alloc HA
...
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards
Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
Daniel Smith
6ab51f3bc0
Merge pull request #7668 from bprashanth/scheduling_minions
...
Scheduler ignores nodes that are in a bad state
2015-05-07 10:58:02 -07:00
Prashanth Balasubramanian
4b0607cf0b
Scheduler ignored nodes with unknown condition status
2015-05-06 18:32:52 -07:00
Karl Beecher
0473f652fd
Add startup code to apiserver to migrate etcd keys
...
Refs: #3476
2015-05-05 12:28:14 +02:00
Clayton Coleman
c8e0f4d2ae
Metrics tests can't run on Mac
2015-05-04 14:57:43 -04:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02:00
nikhiljindal
f864195a5b
Returning 404 on invalid server URL
2015-04-27 16:15:52 -07:00
Daniel Smith
83093af8b0
Merge pull request #5707 from endocode/kbeecher/etcd_prefix
...
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
markturansky
a04420e548
Added pending phase for volumes. added defaults for PV/PVC. refactored to better phase transitioning in control loops
2015-04-27 12:05:12 -04:00
markturansky
37d7f3f4f1
Added integration test, fixed a validation issue
2015-04-27 12:05:12 -04:00
Karl Beecher
a7623ca6cc
Adds ability to define a prefix for etcd paths
...
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.
Refs: #3476
2015-04-24 12:12:39 +02:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
Daniel Smith
2fa3ae9f15
fix watch of single object
2015-04-23 16:02:22 -07:00
Zach Loafman
7e875a0f1c
Merge pull request #7167 from pmorie/typo
...
Fix typo in secrets integration test
2015-04-22 09:17:11 -07:00
Paul Morie
d381db1778
Fix typo in secrets integration test
2015-04-22 10:54:54 -04:00
Ravi Gadde
bf8f258471
Added field selector for listing pods.
2015-04-21 06:33:28 -07:00
Masahiro Sano
f90dc8f413
use Watch for single object instead of WatchList
2015-04-21 08:00:52 +09:00
Wojciech Tyczynski
329d41828f
Integration tests for unschedulable nodes.
2015-04-20 12:53:40 +02:00
Alex Robinson
fe262c0d98
Add an integration test that checks for the metrics we expect to be exported
...
from the master.
2015-04-17 19:31:23 +00:00
nikhiljindal
8874ef9c06
Updating test/integration to use testapi.Version everywhere
2015-04-15 00:00:17 -07:00
Sam Ghods
2c977db1b3
Implement Strategic Merge Patch in apiserver
2015-04-03 11:51:02 -07:00
Dawn Chen
6ac59c8969
Merge pull request #6257 from lavalamp/fix6
...
Add a test verifying that etcd watches work even when there's a bunch of unrelated changes
2015-04-02 14:00:20 -07:00
Daniel Smith
a3276577d8
Demonstration of etcd watch problem
2015-04-02 13:41:41 -07:00
Piotr Szczesniak
5c6439d449
Removed PodStatus.Host
...
Fixes #6165
2015-04-02 16:38:45 +02:00