Commit Graph

5281 Commits

Author SHA1 Message Date
Joe Beda
212ba0f4b9 Merge pull request #3740 from filbranden/verflag_new_spf13_pflag1
Update github.com/spf13/pflag so that --version keeps working.
2015-01-22 14:29:00 -08:00
Filipe Brandenburger
374f9978d6 Update github.com/spf13/pflag to include spf13/pflag#3
We need support for IsBoolFlag() in order to implement `--version`
(without an explicit `--version=true`) and also `--version=raw`.

Updated using `godep update github.com/spf13/pflag`.

Tested:
  $ _output/local/bin/linux/amd64/kubelet --version
  Kubernetes v0.8.0-590-gc61720437ec181
  $ _output/local/bin/linux/amd64/kubelet --version=raw
  version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-590-gc61720437ec181", GitCommit:"c61720437ec181ae3fbbfb9d6df5efdf3e3b6c2e", GitTreeState:"clean"}
2015-01-22 14:24:38 -08:00
Steve Reed
ab1ede3aaa Sets year in copyright to 2015 2015-01-22 14:24:07 -08:00
Steve Reed
f7e3cb12a6 Moves string slice sorting, copying and shuffling into pkg/util/slice 2015-01-22 14:20:23 -08:00
Steve Reed
38241c7e80 Copies endpoint slices before any sorting 2015-01-22 14:20:18 -08:00
Steve Reed
79a6bfb95f Fixes #3640 by shuffling endpoints in the round-robin load balancer 2015-01-22 14:19:56 -08:00
Tim Hockin
d63162b7e7 Make kubelet's HTTP source go through conversion 2015-01-22 14:09:37 -08:00
Vish Kannan
2863fa9fe6 Merge pull request #3726 from mrunalp/update/go-dockerclient
Update github.com/fsouza/go-dockerclient to pick up IpcMode support.
2015-01-22 13:44:01 -08:00
Tim Hockin
5c3fd0c3ef Merge pull request #3645 from bgrant0607/config
CLI/config roadmap
2015-01-22 13:43:25 -08:00
Tim Hockin
124915417c Merge pull request #3723 from jlowdermilk/kubectl-stop
Add a kubectl stop command
2015-01-22 13:42:52 -08:00
Brendan Burns
7598ee4952 Add configuration for a redis example. 2015-01-22 13:27:37 -08:00
Tim Hockin
4ff2865cd1 Make kubelet's file source go through conversion
See comments for details.  Same problem exists in HTTP source, but I want to
float this for review first.
2015-01-22 13:10:59 -08:00
Tim Hockin
ffb2b62726 Merge pull request #3725 from dchen1107/cleanup
Generate pod.Name when pod.Name == "" for both HTTP and file sources.
2015-01-22 13:10:27 -08:00
Tim Hockin
bb9a37dc84 Merge pull request #3729 from smarterclayton/print_less_output
Endpoints controller can print sensitive pod info when errors occur
2015-01-22 12:55:40 -08:00
Dawn Chen
ec77507915 Generate pod.Name when pod.Name == "" for both HTTP and file sources.
Fix #3584
2015-01-22 12:53:30 -08:00
Clayton Coleman
7932bda3b3 Endpoints controller can print sensitive pod info when errors occur
In general, start to tone down the amount of log output.
2015-01-22 15:23:41 -05:00
Filipe Brandenburger
7d0e1f0d62 Merge pull request #3724 from satnam6502/noenv
Remove use of KUBERNETES_PROVIDER env var from Go end to end tests
2015-01-22 12:21:39 -08:00
Filipe Brandenburger
fa3cb5547d Merge pull request #3720 from satnam6502/separate_clients
Use a fresh client for each Go end-to-end test
2015-01-22 12:21:13 -08:00
Tim Hockin
61293afad6 better DNS docs 2015-01-22 12:18:25 -08:00
Mrunal Patel
683fd13ce6 Update github.com/fsouza/go-dockerclient to pick up IpcMode support. 2015-01-22 12:03:38 -08:00
Satnam Singh
1bae69a9c4 Remove use of KUBERNETES_PROVIDER env var from Go end to end tests 2015-01-22 11:56:13 -08:00
Tim Hockin
bc01148286 Merge pull request #3722 from bgrant0607/docfix
Update docs to refer to kubectl rather than kubecfg. Remove cli.md.
2015-01-22 11:02:56 -08:00
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