Commit Graph

4949 Commits

Author SHA1 Message Date
Daniel Smith
6e70853e83 genericize ip cache 2015-01-12 16:04:43 -08:00
Daniel Smith
55653568ae Merge pull request #3385 from erictune/source_api
Added kubelet config source from apiserver.
2015-01-12 15:47:15 -08:00
Eric Tune
18bcef5235 Added kubelet config source from apiserver. 2015-01-12 15:29:16 -08:00
nikhiljindal
f8db96b673 Fixing a bug in
https://github.com/GoogleCloudPlatform/kubernetes/pull/3404 which broke
swagger-ui.
Swagger-ui requires operation to be defined on all Routes.
2015-01-12 15:20:01 -08:00
Daniel Smith
14b718973a Merge pull request #3415 from zmerlynn/e2e_jenkins_script
Add Jenkins e2e script
2015-01-12 15:11:28 -08:00
Daniel Smith
24e59de06e Merge pull request #3392 from erictune/reflector_proxy
Reconcile kubelet and kube-proxy watching code, initial steps.
2015-01-12 14:55:26 -08:00
Eric Tune
295800201e Make pkg/proxy/config more like pkg/kubelet/config
Split SourceAPI into two subobjects.

Parallel structure for endpoints, services will allow
changing to use generic code in pkg/client/cache/reflector.go.

Rename some funcs to be more like pkg/client/cache.
2015-01-12 14:37:04 -08:00
Dawn Chen
823ab24068 Merge pull request #3382 from thockin/uid_ns_required
UID and Namespace are required fields in Kubelet
2015-01-12 14:35:12 -08:00
Brendan Burns
a6f6f25dda Merge pull request #3387 from zmerlynn/fix_monitor_flake
Fix monitoring.sh flake (hopefully)
2015-01-12 14:32:31 -08:00
Tim Hockin
2ea27c3df3 Fix wrong field check in validation 2015-01-12 14:27:34 -08:00
Tim Hockin
0d92da6b15 Remove logic to handle if UID is blank
This should only have been triggered by tests, and those should now be fixed.
I tested by calling panic() if UID was blank in BuildDockerName() or if number
of fields was < 5 in ParseDockerName().  All errors were fixed.
2015-01-12 14:27:34 -08:00
Tim Hockin
905514a12b Ensure Namespace and UID are set in kubelet
Make all kubelet config sources ensure that UID and Namespace are defaulted, if
need be.

We can *almost* disable the "if blank" logic for UID, except for tests that
call APIs that do not run through SyncPods.  We really ought to be enforcing
invariants better.
2015-01-12 14:27:34 -08:00
Tim Hockin
af0e2fd551 Merge pull request #3403 from thockin/klet-dirs-structure
Apply more structure to pod data dirs
2015-01-12 14:19:22 -08:00
bgrant0607
b3d827e333 Merge pull request #3416 from nikhiljindal/basePath
Setting WebServicesUrl in swagger config
2015-01-12 13:59:21 -08:00
bgrant0607
0f70aee68e Merge pull request #3227 from satnam6502/reliability-roadmap
Start to incorporate reliability work items into roadmap
2015-01-12 13:52:05 -08:00
bgrant0607
e965b7ec18 Merge pull request #3368 from ddysher/static-hostip
Post hostip for static machines
2015-01-12 13:51:11 -08:00
Zach Loafman
3095f1bf64 Add Jenkins e2e script
This commit adds and documents the e2e script that Jenkins runs
2015-01-12 13:49:24 -08:00
nikhiljindal
6ddfb10728 Setting WebServicesUrl in swagger config, so that the api docs contain correct basepath 2015-01-12 13:48:39 -08:00
Jordan Liggitt
1f8a74626f Use CAFile even if client certificate is not specified 2015-01-12 16:38:48 -05:00
Eric Tune
ab7106a5c3 Merge pull request #3322 from erictune/cleanup5
Rename ListPods methods to List.
2015-01-12 13:38:13 -08:00
Daniel Smith
6f43074143 Merge pull request #3404 from smarterclayton/method_not_allowed
Allow RESTStorage objects to not implement methods
2015-01-12 13:21:10 -08:00
Daniel Smith
c0c7ffb797 Merge pull request #3355 from saad-ali/fix2495
Fix "Kubelet doesn't kill old pods when BoundPods is empty" issue
2015-01-12 12:54:04 -08:00
saadali
e1917cf900 Fix "Kubelet doesn't kill old pods when BoundPods is empty" issue 2015-01-12 12:39:47 -08:00
Daniel Smith
969c4b8c49 Merge pull request #3410 from brendandburns/watch
Clear resourceVersion on errors.
2015-01-12 11:51:59 -08:00
Brendan Burns
6ad88bb143 Clear resourceVersion on errors. 2015-01-12 11:45:38 -08:00
Dawn Chen
fa152ab3f1 Merge pull request #3396 from thockin/integ-root
make private root dirs for integration test kubelets
2015-01-12 11:42:44 -08:00
Joe Beda
d890707237 Merge pull request #3398 from ddysher/fixes
Doc fixes
2015-01-12 10:59:54 -08:00
Joe Beda
54fc4fa3a9 Merge pull request #3408 from smarterclayton/remove_user_agent_log
Remove user agent logging (doesn't add significant value)
2015-01-12 10:51:46 -08:00
Clayton Coleman
d17f75f254 Remove user agent logging (doesn't add significant value)
We can reintroduce path/agent logging at a later point, this just clogs
verbose logs.
2015-01-12 13:37:37 -05:00
Clayton Coleman
455bc17616 Some actions now return 405 in integration auth_test.go 2015-01-12 12:56:01 -05:00
Joe Beda
fad38a52d2 Merge pull request #3406 from zmerlynn/pipefile_jenkins
Kill the forced upload to GCS.
2015-01-12 09:55:52 -08:00
Zach Loafman
0b3baad0f4 Kill the forced upload to GCS.
This actually tickles the -opipefail, and is only necessary if you're
rebuilding (which isn't really safe, because it can slice downstream
builds.)
2015-01-12 09:52:58 -08:00
Clayton Coleman
268b943ccc Merge pull request #3405 from zmerlynn/fix_perms
chmod 755 hack/jenkins/build.sh (sorry)
2015-01-12 12:51:04 -05:00
Zach Loafman
c5ab2412a3 chmod 755 hack/jenkins/build.sh (sorry) 2015-01-12 09:33:50 -08:00
Dawn Chen
724e766f91 Merge pull request #3360 from zmerlynn/jenkins_scripts_start
Initial commit of Jenkins script + README
2015-01-12 09:22:39 -08:00
Clayton Coleman
302629569b Remove unimplemented methods 2015-01-12 12:20:01 -05:00
Clayton Coleman
22c99c98e2 Split RESTStorage into separate interfaces
Omit unimplemented interfaces from Swagger
2015-01-12 12:19:45 -05:00
Clayton Coleman
a52b216324 Add MethodNotSupported error 2015-01-12 12:05:04 -05:00
Tim Hockin
523a80bec7 Apply more structure to pod data dirs
This is makes it possible to read back "known" pods from disk without
getting other (non-pod) kubelet dirs in the mix.  Ditto for containers
within a pod.  This is just saner overall.  Pods now nest in a pods/
dir.  Likewise containers.
2015-01-12 06:16:32 -08:00
Deyuan Deng
2945f87b1b Doc fixes 2015-01-11 21:20:49 -05:00
Tim Hockin
5b0a65e9a3 make private root dirs for integration test kubelets 2015-01-11 16:40:06 -08:00
Santosh Sahoo
ae23ef76e9 Added link to boot2docker
Linked to boot2docker official page http://boot2docker.io/
2015-01-11 09:46:41 -08:00
Zach Loafman
0918bdbd88 Fix monitoring.sh flake (hopefully)
This was staring at me yesterday, and I even commented that "huh,
there's got to be something wrong with the firewall rules, but then
job/kubernetes-e2e-gce/1002/tapResults/ made it obvious: If you have
two e2e jobs running at the same time in the same project (hint:
Jenkins does), they'll race with each other, since resource names are
project scoped.
2015-01-10 08:19:55 -08:00
Eric Tune
00c05053b7 Rename ListPods methods to List.
For greater similarity to pkg/client.
Does not cover registry's ListPods.
Fix an example in a comment.
2015-01-09 23:46:02 -08:00
derekwaynecarr
7c630fd797 Add ability to listwatch in namespace 2015-01-10 01:04:26 -05:00
Deyuan Deng
0e13a24864 Post hostip for static machines 2015-01-09 19:38:10 -05:00
Daniel Smith
6cd37637f5 Merge pull request #3365 from smarterclayton/test_coverage
Reenable coverage and race detection on Travis
2015-01-09 16:35:18 -08:00
Dawn Chen
2b5f939b94 Merge pull request #3380 from erictune/undelta
Fix flaky test.
2015-01-09 16:31:58 -08:00
Zach Loafman
ca1753e51f Initial commit of Jenkins script + README
And a config description. This doesn't yet have much - first want to
make sure I can do the build job. Next I'll submit the e2e script with
its twiddles and switch those over. (After going to 3 e2es, I think
it's finally time for version control.)
2015-01-09 16:28:48 -08:00
Eric Tune
f381579a89 Fix flaky test.
Maps are randomly reordered.
But there is only one order for one thing.
2015-01-09 16:23:53 -08:00