Commit Graph

49698 Commits

Author SHA1 Message Date
Tim Hockin
d84816aaec Merge pull request #1709 from erictune/move_line
Fix format specifiers in Printf-type functions.
2014-10-09 20:40:35 -07:00
Daniel Smith
7bb1bdd693 Merge pull request #1711 from erictune/vets
Use pointer for struct holding lock.
2014-10-09 17:25:54 -07:00
Eric Tune
42f6324183 Use pointer for struct holding lock. 2014-10-09 17:16:21 -07:00
Eric Tune
800284164a Fix format specifiers in Printf-type functions. 2014-10-09 17:06:32 -07:00
Daniel Smith
9b42f62da3 Merge pull request #1705 from erictune/dead
Delete unused function.
2014-10-09 17:05:34 -07:00
Haney Maxwell
c0bf974871 Allow disabling non-necessary kubelet and apiserver endpoints 2014-10-09 16:49:27 -07:00
Eric Tune
8296f038ac Delete unused function. 2014-10-09 16:40:11 -07:00
Clayton Coleman
5382627e6a Move Codec functions to their own file 2014-10-09 17:25:23 -04:00
Clayton Coleman
935e97d59d Move ObjectDiff into util 2014-10-09 17:23:43 -04:00
Clayton Coleman
96f0c37a31 Allow multiple names to resolve to a type in a Scheme
Allows decoding multiple names into a single type, necessary for
v1beta3 (rename of Minion -> Node)
2014-10-09 17:14:55 -04:00
Dawn Chen
0f1455ac71 Merge pull request #1687 from erictune/fix_dockercfg
Handle and log errors when reading .dockercfg
2014-10-09 14:00:24 -07:00
Clayton Coleman
95cb2e3eb3 Refactor HealthCheck to take podUUID arguments
PodState is going away (won't have podUUID anymore)
2014-10-09 16:42:55 -04:00
Clayton Coleman
eea77a1449 Backport the BoundPods type to v1beta1/2/internal 2014-10-09 16:39:55 -04:00
Eric Tune
4e0a72734e Handle and log errors when reading .dockercfg 2014-10-09 13:22:14 -07:00
Dawn Chen
e91f9087e9 Merge pull request #1682 from hmrm/add-mutual-ssl-support
Add ssl flags to default client flags
2014-10-09 11:59:23 -07:00
Brendan Burns
b5ec8a747b Switch on the resource requested prioritization. 2014-10-09 11:29:45 -07:00
Haney Maxwell
e0a80dda30 Add ssl flags to default client flags
This adds support for mutual ssl between the proxy, controller-manager,
scheduler, and the apiserver
2014-10-09 10:57:15 -07:00
Dawn Chen
b3292e947f Merge pull request #1674 from ddysher/minion-api
Change ContainsMinion to GetMinion
2014-10-09 10:46:38 -07:00
Dawn Chen
ed4167a938 Merge pull request #1670 from proppy/fix-kubelet-runonce
kubelet: only check for container listed in the manifest
2014-10-09 09:31:12 -07:00
erictune
aa30423dc9 Merge pull request #1337 from brendandburns/Sarsate-pd-support
Taking over PD support from sarsate
2014-10-09 09:16:04 -07:00
Johan Euphrosine
0fc5e68207 runonce: isPodRunning returns no error 2014-10-08 22:34:40 -07:00
Johan Euphrosine
8f010c3ec0 dockertools: add todo for container lookup 2014-10-08 22:31:59 -07:00
Johan Euphrosine
dbb2342688 runonce: list kubelet container between each iteration 2014-10-08 22:28:41 -07:00
Deyuan Deng
15e5b876b8 Change ContainsMinion to GetMinion 2014-10-08 23:41:15 -04:00
Brendan Burns
7fe71c68b7 Update the ux. 2014-10-08 20:16:59 -07:00
Danny Jones
4ec25f3b81 Adds support for attaching GCEPersitentDisks
Adds GCEPersistentDisk volume struct
Adds gce-utils to attach disk to kubelet's VM.
Updates config to give compute-rw to every minion.
Adds GCEPersistentDisk to API
Adds ability to mount attached disks
Generalizes PD and adds tests.
PD now uses an pluggable API interface.
Unit Tests more cleanly separates TearDown and SetUp
Modify boilerplate hook to omit build tags
Adds Mounter interface; mount is now built by OS
TearDown() for PD now detaches disk on final refcount
Un-generalized PD; GCE calls moved to cloudprovider

Address comments.
2014-10-08 20:03:59 -07:00
Johan Euphrosine
14c5fd405d kubelet: only check for container listed in the manifest
also wait 1 retryDelay before polling state after syncing.
2014-10-08 17:49:21 -07:00
Daniel Smith
1a1b0699bc Merge pull request #1604 from brendandburns/resource
Add a least-requested priority function
2014-10-08 17:26:57 -07:00
Daniel Smith
1fc92bef53 Load cadvisor connection in background. 2014-10-08 17:06:41 -07:00
Daniel Smith
5d24820dd5 Merge pull request #1464 from hmrm/add-etcd-config
Allow etcd config file to be passed to apiserver, kubelet, and proxy
2014-10-08 16:29:46 -07:00
Brendan Burns
4230a8ca61 Add a least-requested priority function 2014-10-08 15:31:38 -07:00
Daniel Smith
af5714da12 Fix v1beta2 types having been copied incorrectly. 2014-10-08 14:15:50 -07:00
Daniel Smith
e1cb72f1ae Merge pull request #1643 from smarterclayton/make_resource_version_a_string
Make ResourceVersion internally a string instead of uint64
2014-10-08 14:00:37 -07:00
Clayton Coleman
094bc3796a Update ObjectReference to use ResourceVersion string everywhere
Breaks backwards compat for anyone using older versions
2014-10-08 15:57:38 -04:00
Daniel Smith
9ffe821bfd Merge pull request #1657 from brendandburns/nginx
Add a css file I forgot.
2014-10-08 12:34:33 -07:00
Brendan Burns
06a4593f25 Add a css file I forgot. 2014-10-08 12:28:31 -07:00
deads2k
e348b939bf make api match intent with less specific type 2014-10-08 10:01:55 -04:00
Tim Hockin
45f9f39b51 Merge pull request #1597 from thockin/iptables
Add a pkg for iptables support
2014-10-07 17:31:34 -07:00
Tim Hockin
2f2ef05fa8 Merge pull request #1646 from dchen1107/termination
Fix an issue on GetContainerInfo.
2014-10-07 17:27:56 -07:00
Dawn Chen
300c2c5f6f Fix an issue on GetContainerInfo.
I believe the issue was first introduced when we append namespace to docker
container's name. This is a temporary fix for #160.
2014-10-07 17:21:24 -07:00
Clayton Coleman
a5462c0678 Change test cases to verify the client sends the received resourceVersion 2014-10-07 19:00:26 -04:00
Clayton Coleman
82bcdd3b3b Make ResourceVersion a string internally instead of uint64
Allows us to define different watch versioning regimes in the future
as well as to encode information with the resource version.

This changes /watch/resources?resourceVersion=3 to start the watch at
4 instead of 3, which means clients can read a resource version and
then send it back to the server. Clients should no longer do math on
resource versions.
2014-10-07 19:00:26 -04:00
Deyuan Deng
9047baa111 Add codec to restlient test. 2014-10-07 18:26:26 -04:00
Haney Maxwell
4d87159eda Allow etcd config file to be passed to apiserver, kubelet, and proxy 2014-10-07 14:25:54 -07:00
Tim Hockin
48a9ed3147 Merge pull request #1637 from lavalamp/fix
Fix 'go vet' issues
2014-10-07 14:25:41 -07:00
Daniel Smith
ee107d3fad fix extra un-cosmetic extraneous code. 2014-10-07 14:08:18 -07:00
Daniel Smith
4dd3094035 Fix mismatched arg and formatter in Errorf 2014-10-07 14:03:06 -07:00
Daniel Smith
9c0fafee39 Merge pull request #1636 from dchen1107/termination
Add the missing arg in Errorf.
2014-10-07 14:01:55 -07:00
Daniel Smith
2dde76bd03 Fix struct tag in apparently untested config struct 2014-10-07 14:01:45 -07:00
Daniel Smith
2d048bc0f2 fix captured loop variable 2014-10-07 13:57:30 -07:00