Tim Hockin
652479a3b1
Add kubelet DNS flags & api disable for DNS
...
This adds --cluster_dns and --cluster_domain flags to kubelet. If
non-empty, kubelet will set docker --dns and --dns-search flags based on
these. It uses the cluster DNS and appends the hosts's DNS servers.
Likewise for DNS search domains.
This also adds API support to bypass cluster DNS entirely, needed to
bootstrap DNS.
2014-12-29 09:18:12 -08:00
Tim Hockin
6624b64f44
Merge pull request #3142 from vishh/oom_score
...
Set oom_score_adj for kubelet and kube-proxy to a low value
2014-12-23 17:24:30 -08:00
Vishnu Kannan
6f53f33fda
Set oom_score_adj for kubelet and kube-proxy to a low value to help them survive system memory pressure.
2014-12-24 00:34:28 +00:00
Tim Hockin
1c9ac79e78
Merge pull request #3141 from lavalamp/optimize
...
Fix e2e; add template function to make this possible
2014-12-23 15:03:33 -08:00
Daniel Smith
7f46d420dd
add existence func and unit test
2014-12-23 14:05:26 -08:00
Tim Hockin
fb0a7a9693
Add apiserver proxy support for pods.
...
This is useful for testing mostly.
2014-12-23 12:51:24 -08:00
Daniel Smith
16c624b2e6
improve error reporting for bad templates
2014-12-23 11:21:38 -08:00
Brendan Burns
1d58958db8
Fix the build.
2014-12-23 10:28:26 -08:00
Brendan Burns
c7d3b12d43
Merge pull request #2051 from anguslees/openstack-provider
...
Openstack provider
2014-12-23 09:33:19 -08:00
Daniel Smith
05a0c5ca17
Merge pull request #3097 from brendandburns/img
...
Add support for garbage collecting images.
2014-12-22 17:08:41 -08:00
Brendan Burns
b8781c04bb
Add support for garbage collecting images.
2014-12-22 16:56:58 -08:00
Daniel Smith
bf67e14e9f
Merge pull request #3096 from brendandburns/update
...
Clear node status before the validation check.
2014-12-22 16:39:02 -08:00
Daniel Smith
65cf5f29b7
Merge pull request #3095 from derekwaynecarr/events_not_namespace
...
Namespace scope events in storage
2014-12-22 16:01:38 -08:00
Daniel Smith
6916235513
Make locking simpler
...
add test for node existence cache behavior
2014-12-22 15:11:28 -08:00
Daniel Smith
dc5383dcf8
add ttl as param to ip cache
2014-12-22 14:14:03 -08:00
Daniel Smith
545d87d554
Move clock to util
2014-12-22 14:14:03 -08:00
Daniel Smith
5b8e91595a
Make pod listing costant-time
...
* move ip cache out of registry/pod
* combine, rationalize, and move pod status logic
* Fix unit and integration tests
2014-12-22 14:14:03 -08:00
Brendan Burns
9884142061
Clear node status before the validation check.
2014-12-22 11:57:31 -08:00
Clayton Coleman
203246b7e0
Allow the api-version on the command to override the client builder
2014-12-22 14:52:03 -05:00
Clayton Coleman
158f322301
Use preferred resource version
2014-12-22 14:46:31 -05:00
Clayton Coleman
8bef68d475
RESTMapper should take into account multiple versions
...
When a CLI command `kubectl get rc --api-version=v1beta3` is called,
the API resource name should match v1beta3, not whatever the default
RESTMapper version is. This allows the correct resource name to be
returned ("replicationcontrollers", instead of "replicationControllers").
2014-12-22 14:46:31 -05:00
Daniel Smith
4ab8f238ce
Fix proxy bug where it is confused by gzip encoding
2014-12-22 11:35:47 -08:00
derekwaynecarr
b47cde2465
Namespace scope events in storage
2014-12-22 13:01:20 -05:00
derekwaynecarr
652b7aa665
Rename namespaceAsPath
2014-12-22 12:24:21 -05:00
Daniel Smith
36cfc02c6c
Merge pull request #3066 from derekwaynecarr/client_update
...
Do not use namespace in url paths pre v1beta3 from client
2014-12-19 18:02:55 -08:00
Dawn Chen
bbaff08991
Fixed #2632
2014-12-19 17:23:47 -08:00
Brendan Burns
ba25ae49d7
Merge pull request #3070 from nikhiljindal/setApiVersion
...
Adding skeleton swagger UI
2014-12-19 17:16:04 -08:00
Daniel Smith
9fee1b0503
Merge pull request #3051 from brendandburns/flake
...
Add a PodUnknown phase and make ListPods return even when there are errors
2014-12-19 16:45:44 -08:00
nikhiljindal
bf96e95899
ran gofmt
2014-12-19 16:16:54 -08:00
Brendan Burns
5e8490d5fe
Add a PodUnknown phase and make ListPods return even when there are errors
...
obtaining info for some pods.
2014-12-19 15:08:48 -08:00
nikhiljindal
f12f5ed34b
1. Adding swagger-ui/dist files.
...
2. Updating datafile.go to include it.
3. Updating master,go to use it.
2014-12-19 14:56:20 -08:00
bgrant0607
486e92963b
Merge pull request #3043 from brendandburns/api
...
Add Host to PodSpec and add a predicate to make the scheduler work.
2014-12-19 13:35:05 -08:00
derekwaynecarr
abb6632d75
Do not use namespace in url paths pre v1beta3 from client
2014-12-19 16:32:42 -05:00
Daniel Smith
be9f3be709
better logging
2014-12-19 12:28:51 -08:00
Brendan Burns
5807b3d6bc
Merge pull request #3031 from foleymic/master
...
Sticky Session Implementation
2014-12-19 10:12:08 -08:00
Brendan Burns
5c14fc610b
Merge pull request #3045 from nikhiljindal/setApiVersion
...
Setting apiVersion in restful.WebService
2014-12-19 10:11:15 -08:00
Brendan Burns
96eede60dc
Merge pull request #3047 from lavalamp/optimize
...
Remove an unneeded trip over the network when getting/listing pods.
2014-12-19 10:10:50 -08:00
Brendan Burns
bcf87843df
Merge pull request #3048 from saad-ali/3002
...
Fix Issue #3002 : kubectl get pods/log podname don't work well together
2014-12-19 10:03:17 -08:00
Brendan Burns
2e17193161
Add Host to PodSpec and add a predicate to make the scheduler work.
2014-12-18 20:12:29 -08:00
saadali
0db4b8e2ad
Fix Issue #3002 : kubectl get pods/log podname don't work well together
2014-12-18 18:15:47 -08:00
Daniel Smith
5bd560de51
Merge pull request #2969 from liggitt/policy_groups
...
Initial addition of groups to user info and policy
2014-12-18 18:06:59 -08:00
Daniel Smith
a63bd1bdfa
Remove an unneeded trip over the network when getting/listing pods.
2014-12-18 17:47:59 -08:00
Dawn Chen
f073ecf4cc
Understand OOMKilled reason
2014-12-18 15:59:44 -08:00
Mike Foley
c4e94efe16
Sticky Session Implementation
...
- Added process to cleanup stale session affinity records
- Automatically set cloud provided load balancer for sticky session if the service requires it - Note, this only works on GCE right now.
- Changed sessionAffinityMap a map to pointers instead of structs to improve performance
- Commented out cookie and protocol from sessionAffinityDetail to avoid confusion as it is not yet implemented.
2014-12-18 18:46:10 -05:00
nikhiljindal
cfee8f1355
done
2014-12-18 15:38:09 -08:00
Vish Kannan
c34f2d354c
Merge pull request #3035 from dchen1107/master
...
Update fsouza/go-dockerclient pkg to latest revision and fix some compiling issues.
2014-12-18 14:07:40 -08:00
Dawn Chen
8860851f94
Merge pull request #3039 from brendandburns/e2e
...
Remove some dead code.
2014-12-18 14:04:27 -08:00
Dawn Chen
608c3d5046
Update kubelet package on latest go-dockerclient package.
2014-12-18 13:49:13 -08:00
Daniel Smith
a50f8034c8
Merge pull request #3037 from smarterclayton/hide_spurious_watch_errors
...
When connections are broken on Watch, write fewer errors to logs
2014-12-18 13:33:03 -08:00
Brendan Burns
845fb5013d
Remove some dead code.
2014-12-18 13:32:20 -08:00