Commit Graph

5662 Commits

Author SHA1 Message Date
Robert Rati
da2594710a Converted TestPodHasServiceEnvVars to native ginkgo syntax #3941 2015-02-03 09:17:14 -05:00
Robert Rati
eb5d340851 Added a submit/remove test to pods #3941 2015-02-03 09:17:14 -05:00
Robert Rati
e47b98db29 Converted TestPodUpdate to native ginkgo syntax #3941 2015-02-03 09:17:12 -05:00
kargakis
4e567546e4 Add links to logging libraries in question 2015-02-03 15:09:46 +01:00
Robert Rati
44510e11ac Renamed the pod_update file to pods #3941 2015-02-03 08:50:46 -05:00
Martin Nagy
e18fc8e840 Add TODO comment for kubectl update patching 2015-02-03 13:56:39 +01:00
Chris Hiestand
3867d02f94 minor typo/spelling correction
s/considerined/considered
2015-02-03 00:41:42 -08:00
Clayton Coleman
9263a8f627 Remove logging on apiserver startup
Now that we return errors on startup there's not much value in the
startup log for anyone except a few developers.  Nuke
2015-02-03 00:02:07 -05:00
Alex Robinson
2ac6bbb7eb Merge pull request #4032 from ddysher/remove-ip-cache
Remove ip cache, use node status cache instead.
2015-02-02 18:58:49 -08:00
Ed Rooth
7b7c1bdf9c doc: fix broken link 2015-02-02 18:12:32 -08:00
Brian Grant
2903fce2b8 Merge pull request #4031 from jbeda/hyperkube-kubelet
Convert kubelet and proxy to hyperkube
2015-02-02 18:08:59 -08:00
Brian Grant
747cb67da5 Merge pull request #4037 from brendandburns/master
Update docs to reflect reality.
2015-02-02 17:15:55 -08:00
Alex Robinson
449e4b2cab Merge pull request #4038 from enisoc/apiserver-proxy-rewrite
Fix apiserver proxy path rewriting.
2015-02-02 17:07:18 -08:00
Dawn Chen
f919b3e9c6 Upgrade to container-vm-v20150129 image 2015-02-02 16:57:43 -08:00
Alex Robinson
a5a5302517 Merge pull request #4039 from GoogleCloudPlatform/brendandburns-patch-1
Add a missing header...
2015-02-02 16:46:13 -08:00
Brendan Burns
fa970106c6 Add a missing header... 2015-02-02 16:39:53 -08:00
Brendan Burns
cbd87b375a Update docs to reflect reality. 2015-02-02 16:34:20 -08:00
Tim Hockin
1ee1702be0 Merge pull request #3808 from brendandburns/master
Add a mounter that uses google's safe_format_and_mount.
2015-02-02 16:29:10 -08:00
Brendan Burns
ac21ac24fa Add a mounter that uses google's safe_format_and_mount. 2015-02-02 16:16:20 -08:00
Alex Robinson
4b0e4a111e Merge pull request #4035 from brendandburns/webtest
Fix contrib webserver so that it compiles.
2015-02-02 16:08:44 -08:00
Tim Hockin
ac399fb354 Merge pull request #3967 from brendandburns/fixer
Be a little more careful when removing mount points.
2015-02-02 15:46:18 -08:00
Brendan Burns
8bce2ef61c Fix contrib webserver so that it compiles. 2015-02-02 15:20:28 -08:00
Jeff Lowdermilk
e0ec192869 Use kubeconfig to manage config for gce/e2e clusters 2015-02-02 15:02:25 -08:00
Alex Robinson
a5fa19e792 Merge pull request #4033 from kargakis/docs
Refine services doc
2015-02-02 14:30:01 -08:00
kargakis
76365af42c Refine services doc 2015-02-02 23:16:37 +01:00
Deyuan Deng
31991f82c6 Remove ip cache, use node status cache instead. 2015-02-02 17:08:36 -05:00
Joe Beda
638069b879 Convert proxy server to hyperkube 2015-02-02 14:03:13 -08:00
Joe Beda
76df5471b5 Covert the kubelet binary to hyperkube.
This leaves `pkg/kubelet/server/server.go` looking a little ugly as there is an extra layer of "config" structs that isn't needed.  This is left as a TODO for now.
2015-02-02 14:03:13 -08:00
Joe Beda
d96afdd645 Move 'pkg/standalone' package to 'pkg/kubelet/server'.
This paves the way to hyperkube for the kubelet.
2015-02-02 14:03:13 -08:00
Anthony Yeh
695b08885b Fix apiserver proxy path rewriting.
1) Absolute paths without a hostname were being rewritten relative to
   the current page, rather than relative to the current host.
   e.g. When viewing /some/page.html, it would rewrite:
       /other/page.html => proxyPrepend/some/other/page.html
   Instead, it should rewrite:
       /other/page.html => proxyPrepend/other/page.html

2) Trailing slashes were being stripped from all rewritten URLs.
   This is because path.Join() always calls path.Clean() as well:
   http://golang.org/pkg/path/#Join
2015-02-02 13:01:46 -08:00
Brian Grant
0474c49b07 Merge pull request #4025 from ironcladlou/replica-annotations
Backport annotations to PodTemplateSpec
2015-02-02 12:54:23 -08:00
Alex Robinson
9992abdfcf Merge pull request #3997 from smarterclayton/make_master_index_optional
Make master index optional when master is used in other contexts
2015-02-02 12:45:18 -08:00
Brendan Burns
7f06fbb081 Be a little more careful when removing mount points. 2015-02-02 12:35:24 -08:00
Brian Grant
efd71793f3 Merge pull request #3998 from jbeda/hyperkube-servers2
Convert scheduler and controller-manager to hyperkube
2015-02-02 12:33:55 -08:00
Dan Mace
3d7f5cc642 Backport annotations to PodTemplateSpec
Backport annotation support to v1beta1 and v1beta2 PodTemplateSpec. This
allows ReplicationController users to specify annotations for Pods in
addition to labels.
2015-02-02 15:26:32 -05:00
Clayton Coleman
c2b79e52d4 Merge pull request #4027 from deads2k/deads-raw-extension
handle omitted rawExtension
2015-02-02 15:03:37 -05:00
Brian Grant
c46e0afe3b Merge pull request #3789 from smarterclayton/generate_names
Generate names automatically when requested
2015-02-02 11:54:51 -08:00
deads2k
fe398938e8 handle omitted rawExtension 2015-02-02 14:53:22 -05:00
Clayton Coleman
1588970ec4 Turn 409 into 500 Try Again Later when using generateName
If a client says they want the name to be generated, a 409 is
not appropriate (since they didn't specify a name). Instead, we
should return the next most appropriate error, which is a 5xx
error indicating the request failed but the client *should* try
again.  Since there is no 5xx error that exactly fits this purpose,
use 500 with StatusReasonTryAgainLater set.

This commit does not implement client retry on TryAgainLater, but
clients should retry up to a certain number of times.
2015-02-02 14:46:25 -05:00
Clayton Coleman
e485dc93ca Minions should have common logic with create
TODO: disable / document generate names for cluster scoped resources.
2015-02-02 14:46:25 -05:00
Clayton Coleman
0a87f0332b Add name generation to services 2015-02-02 14:46:25 -05:00
Clayton Coleman
7f39a37eee Fix integration tests to not depend on setting pod.Status on create
Allow the master to have pod/node cache timeouts controlled via a config
flag for integration tests.

Move integration test to '127.0.0.1' so that it correctly returns a health
check, and enable health check testing on the integration test.
2015-02-02 14:46:23 -05:00
Clayton Coleman
5603714df8 Use name generation on pods via replication controllers
The generated name is '<controllerName>-%s', unless controllerName-
would be long enough to cause a validation error.
2015-02-02 14:44:53 -05:00
Clayton Coleman
a7c9a12286 Add name generation and normalize common create flows
Adds `ObjectMeta.GenerateName`, an optional string field that defines
name generation behavior if a Name is not provided.

Adds `pkg/api/rest`, which defines the default Kubernetes API pattern
for creation (and will cover update as well). Will allow registries
and REST objects to be merged by moving logic on api out of those places.

Add `pkg/api/rest/resttest`, which will be the test suite that verifies
a RESTStorage object follows the Kubernetes API conventions and begin
reducing our duplicated tests.
2015-02-02 14:44:53 -05:00
Brian Grant
6e415f760b Merge pull request #4017 from smarterclayton/relax_annotation_validations
Slightly relax annotation validation
2015-02-02 11:42:38 -08:00
Satnam Singh
6d5c56b2a7 Merge pull request #3995 from filbranden/e2e_pod_update_remove_external_json
Convert load of api/examples/pod.json into native Go definition of the api.Pod
2015-02-02 11:37:19 -08:00
Alex Robinson
5b7228092a Merge pull request #4026 from dchen1107/logging
make kube-proxy.log less verbose.
2015-02-02 11:33:47 -08:00
Alex Robinson
ce164f67fd Merge pull request #3841 from vishh/api_resources
Adding an extensible resource spec to the API.
2015-02-02 11:24:13 -08:00
Dawn Chen
4aac47c31d make kube-proxy.log less verbose. 2015-02-02 11:15:14 -08:00
Alex Robinson
7868fe468e Merge pull request #3618 from saad-ali/fix2410
Make master service IP static (no longer randomly assigned)
2015-02-02 11:05:58 -08:00