Commit Graph

5244 Commits

Author SHA1 Message Date
Brian Grant
a921086507 Merge pull request #3662 from jlowdermilk/kubectl-stop
Add a kubectl stop command
2015-01-22 06:58:29 -08:00
deads2k
1e9057bd98 bump(davecgh/go-spew):1aaf839fb07e099361e445273993ccd9adc21b07 2015-01-22 08:40:19 -05:00
Brian Grant
3acd101ef9 Remove bitrotted proof-of-concept generators. 2015-01-22 04:54:22 +00:00
Clayton Coleman
b5bc0c1619 Merge pull request #3700 from smarterclayton/add_run_until_to_reflector
Add RunUntil to the Reflector and Poller to allow early termination
2015-01-21 20:00:25 -05:00
Brian Grant
3ae67f8153 Merge pull request #3548 from nikhiljindal/listHandlers
Updating handleIndex in master to list all valid paths.
2015-01-21 15:42:50 -08:00
Brian Grant
838dfde01f Merge pull request #3699 from satnam6502/breakfix
Disable TestKubernetesROService e2e test
2015-01-21 15:40:21 -08:00
Clayton Coleman
f2d966859d Add RunUntil to the Reflector and Poller to allow early termination
This is useful for test suites where you want to kill your workers
without having to run one test env per execution.
2015-01-21 18:25:54 -05:00
Satnam Singh
0beb6a2a33 Disable TestKubernetesROService e2e test 2015-01-21 15:22:08 -08:00
Paulo Pires
078b37cd2f Fixed nits. 2015-01-21 23:00:16 +00:00
nikhiljindal
51007cc798 Updating handleIndex in master to list all valid paths.
The list of valid paths is computed from http.ServeMux and
restful.WebService.
Adding a mux helper - wrapper over mux, that keeps track of the paths
handled by mux.
2015-01-21 13:40:01 -08:00
Joe Beda
621e7037ae Merge pull request #3601 from zmerlynn/deferred_addons_phase_1
Deferred creation of SkyDNS, monitoring and logging objects
2015-01-21 13:25:38 -08:00
Tim Hockin
30219f8dfa Merge pull request #3664 from thockin/pull-if
Pull if
2015-01-21 13:05:28 -08:00
Tim Hockin
7dd0400065 Merge pull request #3470 from deads2k/deads-add-kubecfg-ns
respect namespace from .kubeconfig file
2015-01-21 12:58:06 -08:00
Tim Hockin
c729f345f0 Merge pull request #3660 from dchen1107/image
Using switch in validatePullPolicyWithDefault
2015-01-21 12:54:12 -08:00
Tim Hockin
81343aac63 Change PullPolicy constants to match 2015-01-21 12:48:56 -08:00
Dawn Chen
a3eaef8a65 Merge pull request #3690 from jbeda/go1.4
Switch official builds to go 1.4.
2015-01-21 12:40:37 -08:00
Dawn Chen
d2ebbcaf90 Merge pull request #3661 from thockin/volume-source-as-non-pointer
Make VolumeSource not be a pointer
2015-01-21 12:39:49 -08:00
Zach Loafman
a305269e18 Deferred creation of SkyDNS, monitoring and logging objects
This implements phase 1 of the proposal in #3579, moving the creation
of the pods, RCs, and services to the master after the apiserver is
available.

This is such a wide commit because our existing initial config story
is special:

* Add kube-addons service and associated salt configuration:
** We configure /etc/kubernetes/addons to be a directory of objects
that are appropriately configured for the current cluster.
** "/etc/init.d/kube-addons start" slurps up everything in that dir.
(Most of the difficult is the business logic in salt around getting
that directory built at all.)
** We cheat and overlay cluster/addons into saltbase/salt/kube-addons
as config files for the kube-addons meta-service.
* Change .yaml.in files to salt templates
* Rename {setup,teardown}-{monitoring,logging} to
{setup,teardown}-{monitoring,logging}-firewall to properly reflect
their real purpose now (the purpose of these functions is now ONLY to
bring up the firewall rules, and possibly to relay the IP to the user).
* Rework GCE {setup,teardown}-{monitoring,logging}-firewall: Both
functions were improperly configuring global rules, yet used
lifecycles tied to the cluster. Use $NODE_INSTANCE_PREFIX with the
rule. The logging rule needed a $NETWORK specifier. The monitoring
rule tried gcloud describe first, but given the instancing, this feels
like a waste of time now.
* Plumb ENABLE_CLUSTER_MONITORING, ENABLE_CLUSTER_LOGGING,
ELASTICSEARCH_LOGGING_REPLICAS and DNS_REPLICAS down to the master,
since these are needed there now.

(Desperately want just a yaml or json file we can share between
providers that has all this crap. Maybe #3525 is an answer?)

Huge caveats: I've gone pretty firm testing on GCE, including
twiddling the env variables and making sure the objects I expect to
come up, come up. I've tested that it doesn't break GKE bringup
somehow. But I haven't had a chance to test the other providers.
2015-01-21 12:25:50 -08:00
Clayton Coleman
3c15427b2d Merge pull request #3647 from deads2k/deads-make-factory-flag-binding-optional
make kubectl factory flag binding optional
2015-01-21 15:23:37 -05:00
Joe Beda
a735e2d160 Switch official builds to go 1.4.
This fixes #2894
2015-01-21 12:13:22 -08:00
Zach Loafman
903de0c2fe Merge pull request #3688 from jbeda/fix-e2e
Fix min minions for e2e
2015-01-21 11:44:40 -08:00
Joe Beda
f3b0f285fa Fix min minions for e2e 2015-01-21 11:37:57 -08:00
Brian Grant
54ad81759a Merge pull request #3677 from filbranden/flag_shorthand_refactor1
Flag shorthand refactor1
2015-01-21 10:41:26 -08:00
Brian Grant
fc1e3854af Merge pull request #3684 from smreed/services-e2e-fix
Fixes endpoint propagation failure in services e2e
2015-01-21 10:37:26 -08:00
Brian Grant
6b24c518fb Merge pull request #3675 from hTrap/patch-3
typo in capitalisation
2015-01-21 10:36:49 -08:00
Brian Grant
f100b65108 Merge pull request #3678 from hTrap/patch-4
typo fixed
2015-01-21 10:35:33 -08:00
Steve Reed
0d79cfc581 Adds trailing semi-colon as per PR comment 2015-01-21 10:30:58 -08:00
Steve Reed
e3f7899be2 Extra echo in services.sh e2e test to get it to pass 2015-01-21 10:30:19 -08:00
Tim Hockin
1c31aa489f Merge pull request #3674 from liggitt/override_default_cluster
Allow overriding global default cluster host
2015-01-21 10:08:46 -08:00
Joe Beda
d20b9d4567 Merge pull request #3666 from thockin/golang-static
Fix static builds in go1.4
2015-01-21 10:07:41 -08:00
Tim Hockin
7aac65d1ad Merge pull request #3682 from brendandburns/shell
Update changelog.
2015-01-21 10:07:34 -08:00
Tim Hockin
f0aff20c9a Merge pull request #3680 from filbranden/kubectl_version1
Fix kubectl version to match client and server version output
2015-01-21 10:07:14 -08:00
Brendan Burns
039249ad4e Update changelog. 2015-01-21 10:00:12 -08:00
Tim Hockin
4061de1ef2 Merge pull request #3510 from thockin/dns
Update DNS doc
2015-01-21 08:46:58 -08:00
Filipe Brandenburger
b2aabc540e Fix kubectl version to match client and server version output
Before this fix, the server version was printed from a pointer, making
the Go formatter prefix it with a &.

Before this patch:

    $ kubectl version
    Client Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}
    Server Version: &version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}

After this patch:

    $ kubectl version
    Client Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836-dirty", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"dirty"}
    Server Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}
2015-01-21 08:44:53 -08:00
Parth Oberoi
a5d413b774 typo fixed
'r' removed from 'identifies'
2015-01-21 21:36:43 +05:30
Filipe Brandenburger
0bfeeb84ca Make short flags optional, refactor code to use StringVarP directly.
There is no need to check for an empty string and call StringVar or
StringVarP depending on the case, since StringVar is essentially the
same as a call to StringVarP with an empty string.

This turns 6 lines of code back into 1.

Remove the TODO comments since removing the short flags will no longer
simplify this code significantly.
2015-01-21 07:58:02 -08:00
Filipe Brandenburger
af76d14e2e Revert "fixup repeated usage strings"
This reverts commit 469bd2b641.
2015-01-21 07:56:24 -08:00
Parth Oberoi
39f4c29009 typo in capitalisation
"HTTPs" changed to HTTPS
2015-01-21 21:14:16 +05:30
Jordan Liggitt
f71521d758 Allow overriding global default cluster host 2015-01-21 10:38:58 -05:00
Brian Grant
8537a73264 Merge pull request #3658 from codemonkey77/codemonkey77-patch-1
Broken link in docs/README.md
2015-01-21 07:28:10 -08:00
Brian Grant
91533095e5 Merge pull request #3656 from jbeda/vagrant-e2e
Fix up a bunch of vagrant stuff to enable e2e
2015-01-21 07:26:13 -08:00
Brian Grant
20019ead4c Merge pull request #3616 from hTrap/patch-1
typo fixed
2015-01-21 07:14:56 -08:00
Brian Grant
dfe8431b11 Merge pull request #3668 from hTrap/patch-2
typo fixed ';'
2015-01-21 07:14:33 -08:00
Brian Grant
08b54f63ba Merge pull request #3672 from deads2k/deads-fixup-repeated-strings
fixup repeated usage strings
2015-01-21 07:05:02 -08:00
deads2k
469bd2b641 fixup repeated usage strings 2015-01-21 08:12:24 -05:00
Parth Oberoi
3b3ff037b0 typo fixed ';'
unexpected ';' after environment on line 7
2015-01-21 14:29:56 +05:30
Filipe Brandenburger
4060a11c1a Merge pull request #3653 from satnam6502/e2e
Make basic and private Go end to end tests hermetic to allow parallel testing
2015-01-20 21:23:19 -08:00
Tim Hockin
0a538132cf Fix static builds in go1.4
https://github.com/golang/go/issues/9344
2015-01-20 21:04:04 -08:00
Brendan Burns
8096da1e2c Merge pull request #3663 from brendandburns/rel9
Kubernetes Release 0.9.0
2015-01-20 19:54:23 -08:00