Commit Graph

5578 Commits

Author SHA1 Message Date
nikhiljindal
6684d962df Updating swagger-ui code to the latest version and removing the 'Try it out' buttons 2015-02-04 15:01:18 -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
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
Alex Robinson
d8d0bd1642 Merge pull request #3988 from ddysher/sync-status-ip
Move hostip to sync status
2015-02-02 11:01:57 -08:00
Brendan Burns
d9c9856889 Merge pull request #3992 from smarterclayton/allow_namespace_short
Allow commands to specify a short namespace
2015-02-02 10:56:33 -08:00
Brendan Burns
d9f7d39cdb Merge pull request #4003 from ghodss/handle-auth-path-failure
Handle missing auth file gracefully in kubelet
2015-02-02 10:55:15 -08:00
Brendan Burns
b05a4f603f Merge pull request #4010 from kargakis/docs
Fix roadmap doc
2015-02-02 10:54:42 -08:00
Alex Robinson
59ee1d901a Merge pull request #4016 from smarterclayton/add_getbykey_to_store
Add a GetByKey method to Store
2015-02-02 10:51:57 -08:00
Brendan Burns
346c749ba9 Merge pull request #4012 from rimusz/master
Another link for multi-node vagrant cluster on Mac
2015-02-02 10:50:07 -08:00
Brendan Burns
0b1a50f5cb Merge pull request #4020 from runseb/newdocs
Ansible playbook for cloudstack
2015-02-02 10:49:35 -08:00
Brendan Burns
0e74660d08 Merge pull request #4021 from justinsb/fix_etcd_datadir_must_be_empty
Etcd data dir must be empty
2015-02-02 10:48:44 -08:00
Clayton Coleman
f398fd2084 Merge pull request #3959 from smarterclayton/expose_tls_config_and_wrappers
Allow client.Config to be used for HTTP2 and WebSocket connections
2015-02-02 13:20:30 -05:00
Clayton Coleman
8b2eeafd49 Merge pull request #3944 from derekwaynecarr/rest_mapper_scope_support
Make RESTMapper scope aware, use it to inform kubectl and swagger behavior
2015-02-02 13:13:11 -05:00
Joe Beda
b89454a48e Convert the scheduler binary to hyperkube. 2015-02-02 10:01:36 -08:00
Joe Beda
bbb4479166 Convert controller-manager to hyperkube. 2015-02-02 10:01:36 -08:00
Alex Robinson
9a867f8311 Merge pull request #4015 from durana/patch-1
Fix typo
2015-02-02 09:59:20 -08:00
Alex Robinson
8fc228700a Merge pull request #4023 from fabianofranz/master
Fix typos
2015-02-02 09:57:38 -08:00
Brendan Burns
eed4b75fae Merge pull request #3881 from amygdala/wpex
addition of mysql-WP example
2015-02-02 09:54:13 -08:00
Satnam Singh
61c4a04ad2 Merge pull request #3805 from mnagy/allow_multiple_files_in_update
Use new resource builder in kubectl update
2015-02-02 08:40:24 -08:00
fabianofranz
de14a6ff08 Fix typos 2015-02-02 14:25:00 -02:00
Justin SB
9a29d9f92a Etcd data dir must be empty
Otherwise we get the error "unknown wal version in data dir /var/etcd"

When this is the homedir for etcd, e.g. .bashrc confuses it
2015-02-02 08:09:32 -08:00
derekwaynecarr
a928be56ba Code review comments 2015-02-02 11:01:08 -05:00
derekwaynecarr
d3579f0de0 Fix integration test to return 404 where a resource is not even supported 2015-02-02 10:26:19 -05:00
derekwaynecarr
0851ca9522 Do not provide a namespace on request url if resource does not require it 2015-02-02 10:26:19 -05:00
derekwaynecarr
22ceccc188 Fix TestUnimplementedRESTStorage 2015-02-02 10:26:19 -05:00
derekwaynecarr
a216cb747c Fix logic issue in register resource handlers not doing list across all namespaces in v1beta3 2015-02-02 10:26:19 -05:00
derekwaynecarr
a8449732e0 Make the FilterNamespace function the last visitor 2015-02-02 10:26:19 -05:00
derekwaynecarr
4c33e36a88 Plumb restmapper properly through apiserver and tests 2015-02-02 10:26:19 -05:00
derekwaynecarr
f911784c98 Cherry pick test from #3901 2015-02-02 10:26:19 -05:00
derekwaynecarr
71ec444d63 Make a RESTMapper scope aware 2015-02-02 10:26:19 -05:00
Sebastien Goasguen
54e8090b32 ansible playbook for cloudstack 2015-02-02 06:16:46 -05:00
Clayton Coleman
b30173658f Slightly relax annotation validation
The more aggressive validation on annotations broke openshift (and
backwards compat for our data).  This change relaxes to allow mixed
case so we can continue working in the short term, try to see if we
can agree on relaxation, and if we can't, apply the stronger
validation here.
2015-02-01 19:03:04 -05:00
rimusz
c566395728 Setup Multi-node Cluster on GCE in an easy way from OS X 2015-02-01 20:42:41 +00:00