Commit Graph

5670 Commits

Author SHA1 Message Date
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
Clayton Coleman
3ca23163ae Add a GetByKey method to Store
Without the ability to retrieve underlying items by key (instead of
the object passed to KeyFunc) it is impossible to build wrappers
around cache.Store that want to make decisions about keys, because
they would need to reconstruct the object passed to Get.

This allows retrieval by key, and makes sure Get(obj) uses it.
2015-02-01 14:55:45 -05:00
Adam Durana
7554432f77 Fix typo 2015-02-01 13:03:28 -05:00
Vishnu Kannan
5e36f63f8b Adding ResourceRequirementSpec to v1beta1, v1beta2, and v1beta3 APIs. The old resource
quantities 'CPU' and 'Memory' will be preserved until support for v1beta1 and v1beta2 APIs are
dropped.
Improved resource validation in the process.
2015-02-01 02:19:55 +00:00
rimusz
c85877637d Another link for multi-node vagrant cluster on Mac 2015-02-01 00:55:34 +00:00
kargakis
3006bd70b0 Fix roadmap doc 2015-01-31 20:53:27 +01:00
Brendan Burns
7e48b26ff5 Address comments, fix tests. 2015-01-30 20:51:40 -08:00
Clayton Coleman
42175b433a Make master index optional when master is used in other contexts
OpenShift provides a default URL at the root that shows the UI. The
provided flag makes loading the index handler optional for now.
2015-01-30 22:19:55 -05:00
Sam Ghods
b0dd0a8d0b Handle missing auth file gracefully in kubelet 2015-01-30 18:07:07 -08:00
Saad Ali
e335e2d3e2 Merge pull request #4000 from smarterclayton/travis_test
Terminate Travis Troubles with Problematic Parallelism Protection
2015-01-30 17:13:49 -08:00
Zach Loafman
af25c3c671 Merge pull request #3926 from erictune/matrix
OS/IaaS/Cfg support matrix.
2015-01-30 16:47:35 -08:00
Clayton Coleman
a28d028cce Set max parallel builds on travis 2015-01-30 19:41:53 -05:00
Eric Tune
097a6c4288 OS/IaaS/Cfg support matrix. 2015-01-30 16:29:33 -08:00