Commit Graph

5039 Commits

Author SHA1 Message Date
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
Daniel Smith
f2b82c6c2b Merge pull request #3375 from dchen1107/cleanup
Remove go 1.2 from travis-ci
2015-01-09 16:01:48 -08:00
Alex Robinson
206b90604c Merge pull request #3373 from a-robinson/flake
Update the doc on how to test for flakiness to actually work and to use kubectl.
2015-01-09 15:57:40 -08:00
Eric Tune
e930aa33ac Merge pull request #3370 from dchen1107/clean
Print PodIP along with Pod.Name for kubectl get pod <id>
2015-01-09 15:54:26 -08:00
Dawn Chen
386f23acff Remove go 1.2 from travis-ci 2015-01-09 15:03:24 -08:00
Alex Robinson
580ed0f868 Update the doc on how to test for flakiness to actually work and to use kubectl. 2015-01-09 22:46:36 +00:00
Dawn Chen
ce4411547c Merge pull request #3352 from brendandburns/cassandra
Update cassandra example
2015-01-09 14:35:14 -08:00
Dawn Chen
2226167430 Merge pull request #3362 from thommay/update_goamz
Update GoAMZ
2015-01-09 14:28:02 -08:00
Dawn Chen
a7ad7f8207 Print PodIP along with Pod.Name for kubectl get pod <id> 2015-01-09 14:18:10 -08:00
Satnam Singh
d5d804925a Merge pull request #3292 from satnam6502/es-kibana
Launch Elasticsearch and Kibana automatically
2015-01-09 14:09:53 -08:00
Satnam Singh
295bd3768d Launch Elasticsearch and Kibana automatically 2015-01-09 13:41:46 -08:00