Commit Graph

1980 Commits

Author SHA1 Message Date
Pieter Noordhuis
63ac1dc213 Update vSphere getting started doc 2014-09-10 00:17:41 +00:00
Joe Beda
70b026bd8d Merge pull request #1247 from filbranden/version_dev
Update version to use -dev suffix
2014-09-09 15:57:22 -07:00
Joe Beda
0333b97c56 Merge pull request #1245 from filbranden/server_version1
Uniformize handling of -server_version flag of kubecfg to match -version
2014-09-09 15:47:33 -07:00
Filipe Brandenburger
61877f2dd0 Update version to use -dev suffix
According to the plan listed in docs/releasing.md.

The gitMinor will keep using a "+" suffix instead for now.

Added a //TODO to deprecate gitMajor and gitMinor in a follow up.

Tested:
- Built it from the git tree:

    $ make
    $ _output/go/bin/kubecfg -version
    Kubernetes version 0.2+, build 8d31eb03c11d4db64ae26809eef7f73070efd811
    $ _output/go/bin/kubecfg -version=raw
    version.Info{Major:"0", Minor:"2+", GitVersion:"v0.2-29-g8d31eb03c11d4d", GitCommit:"8d31eb03c11d4db64ae26809eef7f73070efd811", GitTreeState:"clean"}

- Built it with a direct `go install` (same as tarball):

    $ GOPATH=${PWD}/_output/go:${PWD}/Godeps/_workspace go install $KUBE_GO_PACKAGE/cmd/kubecfg
    $ _output/go/bin/kubecfg -version=raw
    version.Info{Major:"0", Minor:"2+", GitVersion:"v0.2-dev", GitCommit:"", GitTreeState:"not a git tree"}
    $ _output/go/bin/kubecfg -version
    Kubernetes version 0.2+, build (unknown)

A follow up commit will address the output of the -version (without "raw") command to use gitVersion instead of Major + Minor.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-09-09 15:46:20 -07:00
Filipe Brandenburger
b849d65b32 Uniformize handling of -server_version flag of kubecfg to match -version.
In particular, add support for -server_version=raw and use matching
format for the output of -version and -server_version.

The "normal" format is essentially defined by (version.Info) String()
method, so future updates to that method will be reflected on both.

Full version information is still available by using the "raw" flag.

Tested:
- Used cluster/kubecfg.sh to query local build and the server.

    $ cluster/kubecfg.sh -version
    Kubernetes version 0.2+, build 9316edfc0d2b28923fbb6eafa38458350859f926
    $ cluster/kubecfg.sh -server_version
    Server: Kubernetes version 0.2, build a0abb38157
    $ cluster/kubecfg.sh -version=raw
    version.Info{Major:"0", Minor:"2+", GitVersion:"v0.2-25-g9316edfc0d2b28", GitCommit:"9316edfc0d2b28923fbb6eafa38458350859f926", GitTreeState:"clean"}
    $ cluster/kubecfg.sh -server_version=raw
    version.Info{Major:"0", Minor:"2", GitVersion:"v0.2", GitCommit:"a0abb3815755d6a77eed2d07bb0aa7d255e4e769", GitTreeState:"clean"}

Fixes: #1092

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-09-09 15:25:41 -07:00
Joe Beda
ffcfdd0e2d Merge pull request #1237 from filbranden/release_docs
Document Kubernetes Release Process
2014-09-09 15:22:16 -07:00
Tim Hockin
4ff76add57 Merge pull request #1147 from dchen1107/restart
Introduce the simplest RestartPolicy and handling.
2014-09-09 14:44:42 -07:00
Daniel Smith
a4e3a4e351 Merge pull request #1240 from brendandburns/http
Don't stack trace on 301s
2014-09-09 14:16:59 -07:00
brendandburns
5bb9495258 Merge pull request #1242 from lavalamp/fix
go test -cover -race is fixed now
2014-09-09 14:14:15 -07:00
Brendan Burns
69b359b689 Don't stack trace on 301s 2014-09-09 14:10:46 -07:00
Daniel Smith
d397d64b9e go test -cover -race is fixed now 2014-09-09 14:06:23 -07:00
Filipe Brandenburger
ec2a39e08e Document Kubernetes Release Process
This documentation covers the proposed release process that will improve
support for versioning builds from tarball.

There's also a diagram to explain how versioning works in face of other
commits being merged in parallel and the quirks of intermediate versions
close to the release window.

Addresses Issue #1226.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-09-09 14:02:50 -07:00
Joe Beda
732b7ce7ef Merge pull request #1234 from brendandburns/fix
Add initial logrotate support.
2014-09-09 13:50:06 -07:00
Brendan Burns
686c3bec84 Add initial logrotate support. 2014-09-09 13:35:06 -07:00
Daniel Smith
1fd12778eb Merge pull request #1231 from brendandburns/service
Fix a bug where we don't return an error.
2014-09-09 12:48:19 -07:00
brendandburns
a32cb68977 Merge pull request #1232 from dbcode/master
avoid dumping error pages into error messages
2014-09-09 12:43:19 -07:00
Clayton Coleman
055c9d5ad2 Merge pull request #1215 from rajatchopra/ovsdoc
ovs networking document
2014-09-09 14:51:12 -04:00
Brendan Burns
a343a93b2d Fix a bug where we don't return an error. 2014-09-09 10:29:00 -07:00
Dave Bailey
5ec748dc5e avoid dumping error pages into error messages 2014-09-09 17:20:58 +00:00
Daniel Smith
c61bc58683 Merge pull request #1115 from csrwng/use_codec_in_printing_and_parsing
Use codec to encode/decode api objects in client and kubecfg parser
2014-09-09 09:58:30 -07:00
csrwng
6551f4e0f0 Use codec to encode/decode api objects in client and kubecfg parser 2014-09-09 08:45:53 -04:00
Dawn Chen
15cab4d053 Introduce the simplest RestartPolicy and handling. 2014-09-08 22:41:38 -07:00
brendandburns
d7f84aef82 refine links. 2014-09-08 21:14:09 -07:00
brendandburns
84edb60bcd slight wording change 2014-09-08 21:12:56 -07:00
brendandburns
56c8f43f0c update vagrant to point at the 0.2 release 2014-09-08 21:12:36 -07:00
brendandburns
9ad7618a73 Change directions to use a "stable" release. 2014-09-08 21:09:52 -07:00
brendandburns
b4e08dd347 Merge pull request #1219 from filbranden/release_v0.2
Release Kubernetes v0.2
2014-09-08 21:04:34 -07:00
Daniel Smith
7a2f44890f Merge pull request #1222 from bketelsen/master
allow proxy to accept a listen address.  fixes #1220
2014-09-08 17:46:47 -07:00
Daniel Smith
d962635ad3 Merge pull request #1224 from ironcladlou/spellmaster
Typo correction
2014-09-08 17:29:48 -07:00
Dan Mace
2e1d62ac65 Typo correction 2014-09-08 20:23:30 -04:00
Rajat Chopra
07d1c6ff44 ovs networking document
Update networking.md
2014-09-08 17:06:25 -07:00
Filipe Brandenburger
a0abb38157 Release Kubernetes v0.2
This commit will be tagged with a v0.2 annotated git tag.

Tested:
- Created a git tag for it, built it and checked output of -version:

    $ git tag -a -m 'Release Kubernetes v0.2' v0.2

    $ make
    hack/build-go.sh
    Building local go components

    $ _output/go/bin/kubecfg -version
    Kubernetes version 0.2, build b47f9af5c9ea770973be1b001adaffbdfcb08618

    $ _output/go/bin/kubecfg -version=raw
    version.Info{Major:"0", Minor:"2", GitVersion:"v0.2", GitCommit:"b47f9af5c9ea770973be1b001adaffbdfcb08618", GitTreeState:"clean"}

- Made sure hack/test-go.sh and hack/test-cmd.sh still pass.

Fixes: Issue #1018

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-09-08 16:21:36 -07:00
Daniel Smith
41754f5bd4 Merge pull request #1192 from smarterclayton/standardize_etcd_errors
Return standard API errors from etcd registry by operation
2014-09-08 15:57:08 -07:00
Clayton Coleman
3ffe259ac7 Return standard API errors from etcd registry by operation
Adds pkg/api/errors/etcd, which defines default conversions
for common CRUD operations from etcd to api.
2014-09-08 18:46:01 -04:00
Tim Hockin
81b502b0a6 Merge pull request #1217 from lavalamp/fixApi
Rename all XStorage types to REST for clarity
2014-09-08 15:38:47 -07:00
brendandburns
a07836ce96 Add a pointer to Circle CI instructions. 2014-09-08 15:22:24 -07:00
Daniel Smith
759c3f9033 Rename all XStorage types to REST for clarity 2014-09-08 15:19:13 -07:00
Daniel Smith
4c1d5f0c44 Merge pull request #1160 from simon3z/master
Support configurations for cloudproviders
2014-09-08 15:12:51 -07:00
Tim Hockin
9954ce6ee7 Merge pull request #1199 from dchen1107/cleanup
Passing pod UUID to Kubelet.
2014-09-08 14:57:29 -07:00
Federico Simoncelli
6add1993c9 Support configurations for cloudproviders
Cloud providers may need specific configurations to run properly (e.g.
authentication parameters, uri, etc.).

This patch adds the simplest implementation for passing configurations
to cloudproviders: a new apiserver -cloud_config flag to specify the
path to an arbitrary configuration file.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2014-09-08 21:46:53 +00:00
Dawn Chen
7ace5a3e83 Passing pod UUID to Kubelet. 2014-09-08 14:24:09 -07:00
Daniel Smith
2221d33de1 Merge pull request #1214 from lavalamp/proxy
Fix build
2014-09-08 13:05:58 -07:00
Daniel Smith
9345da0bfd Fix build 2014-09-08 13:05:38 -07:00
brendandburns
753b80c9b8 Merge pull request #1105 from lavalamp/proxy
Add a generic proxier
2014-09-08 12:51:24 -07:00
brendandburns
cdd4af343c Merge pull request #1208 from derekwaynecarr/detangle_networking_from_os
Detangle the use of a Red Hat OS family as requiring openvswitch
2014-09-08 12:44:25 -07:00
derekwaynecarr
f42fcef620 Add explicit flag to use openvswitch 2014-09-08 15:31:22 -04:00
Daniel Smith
1789425a09 Merge pull request #1202 from lavalamp/fixApi3
Please expedite: the rarely attempted interface{} -> runtime.Object rename
2014-09-08 11:55:09 -07:00
Clayton Coleman
c2072336d0 Merge pull request #891 from erictune/security_md
Access.md added.
2014-09-08 12:56:34 -04:00
Joe Beda
c588207639 Merge pull request #1169 from brendandburns/docs
Add documentation for client libraries
2014-09-08 09:28:51 -07:00
Brian Ketelsen
83d3da1436 changed address variable to bindAddress. Used net.JoinHostPort() instead of fmt.Sprintf() 2014-09-07 23:50:36 -07:00