Commit Graph

5514 Commits (e8c33b7916253c98a0b0a3b947593e4632ca1f1c)

Author SHA1 Message Date
Satnam Singh eb819c9e08 Use a fresh client for each Go end-to-end test 2015-01-22 11:00:07 -08:00
Satnam Singh 1e9c37d507 Merge pull request #3715 from filbranden/e2e_liveness_go1
Convert liveness e2e test to Go
2015-01-22 10:58:57 -08:00
Brian Grant 55d0d0d258 Update docs to refer to kubectl rather than kubecfg. Remove cli.md.
Partially addresses #2144. Fixes #834.
2015-01-22 18:58:04 +00:00
Tim Hockin b2f287c259 Merge pull request #3703 from satnam6502/dns
Understand why cluster_dns e2e test fails
2015-01-22 10:41:51 -08:00
Brian Grant 1ed9597975 First draft of CLI/config roadmap. 2015-01-22 18:18:46 +00:00
Satnam Singh 7a149e6e16 Understand why cluster_dns e2e test fails 2015-01-22 09:56:40 -08:00
Brendan Burns 80ad188912 Merge pull request #3556 from pires/fix_aws_coreos_cloudformation
Fix AWS CoreOs documentation & CloudFormation template.
2015-01-22 09:55:27 -08:00
Jeff Lowdermilk 201e99e0ee Add a kubectl stop command 2015-01-22 09:46:53 -08:00
Tim Hockin 44aca6d914 Merge pull request #3713 from deads2k/deads-bump-spew
get go-spew update for nil maps
2015-01-22 09:29:27 -08:00
Filipe Brandenburger df6ab47c6e Convert liveness e2e test to Go
This commit reimplements hack/e2e-suite/liveness.sh in Go as part of cmd/e2e.

Tested by running it on a live cluster:
  $ cmd/e2e --host=https://w.x.y.z --provider=gce -t TestLivenessHttp -t TestLivenessExec
  I0122 08:12:53.183298    6502 liveness.go:72] Restart count of pod liveness-exec-6f917474-a251-11e4-8cc2-d4ae52bb3eea increased from 0 to 1 during the test
  I0122 08:13:23.605471    6502 liveness.go:72] Restart count of pod liveness-http-84d28569-a251-11e4-8cc2-d4ae52bb3eea increased from 0 to 1 during the test

Also ran the full e2e suite including kube-up/kube-down to confirm it works.
2015-01-22 09:24:53 -08:00
Tim Hockin 8dede15106 Merge pull request #3716 from eparis/kubelet-docker-socket
Use docker.service not docker.socket in unit files
2015-01-22 09:22:08 -08:00
Filipe Brandenburger 6aea499f38 Merge pull request #3717 from GoogleCloudPlatform/revert-3662-kubectl-stop
Revert "Add a kubectl stop command"
2015-01-22 09:01:26 -08:00
Filipe Brandenburger b1727b0330 Revert "Add a kubectl stop command" 2015-01-22 09:00:50 -08:00
Eric Paris 388c179f01 Use docker.service not docker.socket in unit files
Some distros, include RHEL and Fedora, are doing away with the docker
socket by default in systemd units, for security reasons.  Instead rely
on the docker.service being started instead of socket activation.
2015-01-22 11:37:47 -05:00
Tim Hockin 4881404db2 Merge pull request #3706 from bgrant0607/bugfix1
Remove bitrotted proof-of-concept generators.
2015-01-22 07:32:00 -08:00
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