Commit Graph

218 Commits (835a87aed2478ee441f2dbfab15124315ddd880a)

Author SHA1 Message Date
Eric Paris d12f989e98 Merge pull request #3602 from cgwalters/apiserver-tmpfiles-cert
contrib/systemd: Add tmpfiles.d file
2015-03-11 13:10:15 -05:00
Eric Paris 45026f40d1 update --api_servers to include the protocol
Works:
--api_servers=127.0.0.1:8080
--api_servers=http://127.0.0.1:8080
--api_servers=http://localhost:8080

Fails:
--api_servers=localhost:8080

Include the http:// in the example, so users aren't likely to hit the
problem
2015-03-11 14:07:39 -04:00
Eric Paris 1bca6831a4 Do no start kube-proxy until after network is started
https://bugzilla.redhat.com/show_bug.cgi?id=1200919

The kube-proxy will die if it starts before the network.
2015-03-11 12:08:11 -04:00
Sam Ghods e0519f23f7 Fix network tester build error 2015-03-09 19:54:48 -07:00
Timothy St. Clair 2093610e5f Update file limits from testing 2015-03-03 08:25:31 -06:00
Brendan Burns 9f7b78b0a8 Merge pull request #4937 from thockin/plural_23_endpoints
Stop using named ports in examples and scripts.
2015-03-02 10:49:31 -08:00
Tim Hockin e0e6741027 Stop using named ports in examples and scripts. 2015-03-01 21:30:45 -08:00
Naoki Ainoya 4b43086ff2 Fix typo 2015-03-01 21:07:22 +09:00
Zach Loafman 08402d798c Merge pull request #4876 from satnam6502/fluentd-gcp
Update Fluentd to Cloud Logging image
2015-02-26 18:34:27 -08:00
Satnam Singh 16f49f6d09 Update Fluentd to Cloud Logging image 2015-02-26 15:18:22 -08:00
Tim Hockin 8e873c1100 Fix head 2015-02-26 15:00:01 -08:00
Tim Hockin 672c55bdb3 Merge pull request #4858 from proppy/cross-go2docker
contrib/go2docker: always cross compile binary to linux_amd64
2015-02-26 14:24:08 -08:00
Johan Euphrosine 1322421a8a contrib/go2docker: fix README typo 2015-02-26 14:11:40 -08:00
Johan Euphrosine 9d7f4e8c84 contrib/go2docker: add ca certs 2015-02-26 13:54:59 -08:00
Johan Euphrosine 478257a259 contrib/podex: add http status code handling 2015-02-26 13:30:48 -08:00
Johan Euphrosine 6be03b6121 contrib/go2docker: fix typo 2015-02-26 12:22:36 -08:00
Johan Euphrosine bdaaa0f143 podex: add daemon mode 2015-02-26 12:17:45 -08:00
Johan Euphrosine aef560a01a contrib/podex: split manifest generation 2015-02-26 11:51:26 -08:00
Johan Euphrosine 5838854c27 contrib/go2docker: goimports 2015-02-26 11:06:35 -08:00
Johan Euphrosine f6e1b77510 contrib/go2docker: cross compile to linux_amd64 2015-02-26 10:56:17 -08:00
Satnam Singh 2b1335eb6b Remove deprecated co-located ES/Kibana setup 2015-02-25 14:39:41 -08:00
Timothy St. Clair 604df04a9b Fix for default systemd startup of the kublet, also forcing the hard
requirement for the parameter.  Sans parameter the kubelet will fail
silently trying to obtain service setting that are placed into the
ENV of the PODS.
2015-02-19 20:13:31 -06:00
Matthew Farrellee 0d2d6ed61e fix spelling of separate 2015-02-18 14:42:40 -05:00
Matthew Farrellee b644f63a4b fix spelling of privileged 2015-02-18 14:42:40 -05:00
Ashwin Raveendran 89d2bb4625 fixes godep save failure
godep save ./... fails not finding package gopkg.in/v2/yaml as
the same package is availble as gopkg.in/yaml.v2 through Godeps.json
2015-02-11 15:20:49 -08:00
Jeff Lowdermilk 197059b65d Remove kubecfg, cleanup a few stray references. 2015-02-10 16:43:12 -08:00
Jeff Lowdermilk b5cf392a00 Merge pull request #4199 from proppy/git-sync
contrib/git-sync: fix demo and doc
2015-02-06 12:20:16 -08:00
Brian Grant 617e1ca7de Merge pull request #3956 from proppy/go2docker
contrib: add go2docker
2015-02-05 17:24:59 -08:00
Johan Euphrosine a4dce8df3b contrib/git-sync: fix demo 2015-02-05 17:11:44 -08:00
Brendan Burns 775a04c230 Merge pull request #4167 from eparis/unit-quotes
Do not use {} in systemd environment variables
2015-02-05 14:49:08 -08:00
Eric Paris 4b309aa864 Do not use {} in systemd environment variables
From the systemd man page:
 Use "${FOO}" as part of a word, or as a word of its own, on the command
 line, in which case it will be
 replaced by the value of the environment variable including
 all whitespace it contains, resulting in a single argument.
 Use "$FOO" as a separate word on the
 command line, in which case it will be replaced
 by the value of the environment variable split at
 whitespace, resulting in zero or more arguments.

Since we want people to be able to use these for multiple arguments we
need to make sure we don't use {} around the env vars...
2015-02-05 11:36:55 -05:00
Brian Grant bb6b332a8b Merge pull request #3099 from proppy/git-sync
contrib: add git-sync container
2015-02-05 07:10:24 -08:00
Johan Euphrosine 787fdf3592 README: shorter filename 2015-02-04 11:31:54 -08:00
Johan Euphrosine 83638fdcf3 contrib/podex: update README
update usage
2015-02-04 11:25:20 -08:00
deads2k bc93de314a remove --ns-path option from .kubeconfig file, kick tests 2015-02-03 14:22:55 -05:00
Johan Euphrosine 8873426314 contrib/git-sync/demo: fix README, add license header 2015-02-02 18:05:57 -08:00
Johan Euphrosine 19751abe13 contrib/git-sync: add demo 2015-02-02 18:02:18 -08:00
Alex Robinson 4b0e4a111e Merge pull request #4035 from brendandburns/webtest
Fix contrib webserver so that it compiles.
2015-02-02 16:08:44 -08:00
Brendan Burns 8bce2ef61c Fix contrib webserver so that it compiles. 2015-02-02 15:20:28 -08:00
Satnam Singh c29d89a534 Merge pull request #3357 from proppy/fix-podex
contrib/podex: fix ordering and manifest generation
2015-01-30 12:02:15 -08:00
Johan Euphrosine ec3a7c5a4b contrib/go2docker: fix go build command line 2015-01-30 00:16:34 -08:00
Johan Euphrosine 5aba5f00c0 contrib/git-sync: add wait 2015-01-29 23:21:49 -08:00
Johan Euphrosine 0415b63ab4 contrib/git-sync: remove sync loop, simplify logic 2015-01-29 15:39:51 -08:00
Johan Euphrosine 1111510b7a contrib/go2docker: gofmt 2015-01-29 14:52:18 -08:00
Johan Euphrosine 1420c45565 contrib/go2docker: update license header 2015-01-29 14:34:08 -08:00
Johan Euphrosine e7c4772d27 contrib: add go2docker 2015-01-29 14:28:44 -08:00
Tim Hockin 988d15943f Merge pull request #3787 from satnam6502/serve_hostname
Reduce size of serve_hostname image
2015-01-28 09:07:26 -08:00
Eric Paris 5d117d7b97 Change kubelet working dir to /var/lib/kubelet
Some image based OS do not allow writing to /. Since the kubelet looks
for .dockercfg files in the working dir and uses / as the working dir,
this means one can never set a .dockercfg on those distros. This moves
the kubelet working dir to /var/lib/kubelet, where the kubelet naturally
does its work.
2015-01-27 11:34:45 -05:00
Satnam Singh 3841d1b5d1 Reduce size of serve_hostname image 2015-01-24 09:49:26 -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
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
Brian Grant 3acd101ef9 Remove bitrotted proof-of-concept generators. 2015-01-22 04:54:22 +00: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 0a538132cf Fix static builds in go1.4
https://github.com/golang/go/issues/9344
2015-01-20 21:04:04 -08:00
Satnam Singh fc83ba704b Make basic end to end test robustly wait for hostIP 2015-01-20 19:30:13 -08:00
Satnam Singh efcbdd7860 Put a version tag on kubernetes/serve_hostname 2015-01-20 17:21:05 -08:00
Satnam Singh 88e4139774 Remove trailing newline from served hostname in serve_hostname 2015-01-20 16:31:07 -08:00
Colin Walters 608e00bffd contrib/systemd: Add tmpfiles.d file
Now that that the apiserver can auto-generate self-signed
certificates, and drop them in /var/run/kubernetes (which is really
/run/kubernetes), we need to ensure it's created on boot.

(I'm not sure why the default isnt' *persistent* self-signed
 certificates, but that's a different patch)
2015-01-18 21:01:17 -05:00
Johan Euphrosine 363ce1b39a contrib: fix name and readability, exclude from test 2015-01-16 11:54:11 +01:00
Joe Beda 228659a177 Fix up for posix flags 2015-01-15 09:12:19 -08:00
Johan Euphrosine 8655d7cd07 contrib/podex: switch bool flags to strings 2015-01-14 01:52:55 +00:00
bgrant0607 de2e298fa9 Merge pull request #3196 from smarterclayton/allow_create_to_span_resources
Allow create to handle multiple resources, remove createall
2015-01-13 12:23:50 -08:00
Satnam Singh 295bd3768d Launch Elasticsearch and Kibana automatically 2015-01-09 13:41:46 -08:00
Clayton Coleman bc86b31a8b Remove createall now that create supports directories and sources 2015-01-09 13:30:31 -05:00
Johan Euphrosine f133c118cf contrib/podex: make flags optional 2015-01-09 15:03:12 +00:00
Johan Euphrosine 1f0d0cdc31 contrib/podex: switch to go-yaml to manage ordering 2015-01-09 14:54:54 +00:00
Johan Euphrosine 686b187067 contrib/podex: remove logging 2015-01-09 12:13:25 +00:00
Tim Hockin b8f3cfb455 Merge pull request #3313 from proppy/podex-registry-api
contrib/podex: use registry API to resolve image metadata
2015-01-08 10:42:57 -08:00
Johan Euphrosine 49776d4d05 contrib/podex: use registry API to resolve image metadata 2015-01-08 12:16:41 +00:00
Satnam Singh 8ab2e9c61a Use DNS for Elasticsearch 2015-01-06 07:33:48 -08:00
Joe Beda 6df6aab077 Move DNS from contrib to cluster/addons
This fixes #3190.
2015-01-05 12:32:35 -08:00
Tim Hockin b0268f3833 Use a kubernetes-hosted minimal container for skydns 2014-12-29 09:18:12 -08:00
Tim Hockin 1291c718cf Use a helper bridge between k8s and SkyDNS
Rather than have to keep SkyDNS up to date with Kubernetes, use a
buddy-container "kube2sky" to watch kubernetes and sync Service records
into etcd for SkyDNS ot find.  This also adds namespace support.
2014-12-29 09:18:12 -08:00
Tim Hockin 2a110b097d add contrib/dns/MAINTAINERS 2014-12-29 09:18:12 -08:00
Johan Euphrosine 79dd775d72 contrib/git-sync: add comment 2014-12-23 15:21:51 -08:00
Johan Euphrosine 9f37c9d411 contrib/git-sync: add atomic checkout 2014-12-23 13:54:29 -08:00
Johan Euphrosine d67db4ecfa config/git-sync: add envvar prefix, fix README 2014-12-22 17:34:56 -08:00
Johan Euphrosine 0003d5d983 contrib: add git-sync container 2014-12-22 13:13:47 -08:00
bgrant0607 e37e25807c Merge pull request #2921 from satnam6502/fluentd-ek-colo
Fix error in Fluenetd->ES colo pod definition
2014-12-15 12:19:44 -08:00
Satnam Singh b4fcdd7e47 Collect Kubelet logs with Fluentd->Elasticsearch and Fluentd->Cloud Logging 2014-12-14 01:47:48 -08:00
Satnam Singh 49d5a0e2bd Fix error in Fluenetd->ES colo service 2014-12-14 00:06:06 -08:00
bgrant0607 a299287ae8 Merge pull request #2832 from jlowdermilk/update-demo
Fix update-demo to work correctly with a web browser.
2014-12-11 08:09:42 -08:00
Jeff Lowdermlk 3e3f802f2b Fix update-demo to work correctly with a web browser.
The built in go http.Fileserver handles If-Modified-Since in the
header by comparing it with the last modified date on the
file/directory. Since the file is unaltered when we switch to a
new container, that results in 304s when trying to fetch data.json, so
the browser doesn't fetch the new picture after doing a rolling update.

Separate issue, the Dockerfile ADD command was being interpreted as
`copy html/data.json into a directory called 'html/kitten.jpg '`,
instead of the `copy these 2 files into root`. Changed to separate
commands using COPY, per recommended dockerfile practices.
2014-12-10 12:34:19 -08:00
Daniel Smith 18e47ba056 Add network testing pod 2014-12-09 10:55:10 -08:00
Vojtech Vitek (V-Teq) 397240aebe Improve error reporting
Follow-up of changes introduced in commit 72c922668f
2014-12-09 01:37:24 +01:00
bgrant0607 75daf86da2 Merge pull request #2745 from thockin/serve_hostname
Hold serve_hostname code in kubernetes repo
2014-12-04 09:09:42 -08:00
Sam Ghods 6399854240 Remove unused YAML tags and GetYAML/SetYAML methods
Unneeded after move to ghodss/yaml.
2014-12-02 16:25:28 -08:00
Sam Ghods 9a9a1e0939 Move from go-yaml/yaml to ghodss/yaml 2014-12-02 16:24:05 -08:00
Satnam Singh 1b06afd02a Make output of td-agent quieter 2014-11-28 01:10:35 -08:00
Tim Hockin 47141f05c7 standard config opt names: logging 2014-11-25 17:41:53 -08:00
Tim Hockin bb88370243 Hold serve_hostname code in kubernetes repo 2014-11-23 23:37:19 +08:00
Joe Beda 40b0b64f3f Merge pull request #2458 from satnam6502/docfix
Fix and update logging documentation
2014-11-20 18:36:59 -08:00
Tim Hockin 95a9098311 fix 'go vet' warnings 2014-11-21 09:45:28 +08:00
Tim Hockin ea960711ff Clean up error logs.
Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines).  Just accumulated nits.
2014-11-21 09:45:26 +08:00
Brian Grant e107da34d2 Create tools for resizing and stopping a replication controller via kubectl. 2014-11-20 18:49:44 +00:00
Eric Paris 45a71bb8f3 fix kubectl log completion
When kubectl started returning the right object it changed the template
that needed to be used to get the name of the containers inside the pod.
2014-11-19 14:17:51 -05:00
Satnam Singh 33f3383405 Fix and update logging documentation 2014-11-19 10:48:24 -08:00
Joe Beda 5b9bb1ff6f Merge branch 'eparis-rename-to-kube'
* eparis-rename-to-kube:
  rename kube server binaries to kube-
2014-11-17 09:55:11 -08:00
Brendan Burns acfdefe3b4 Merge pull request #2242 from eparis/bash-comp
bash completion update
2014-11-17 09:52:15 -08:00
Joe Beda 66d287f7e4 Merge branch 'rename-to-kube' of https://github.com/eparis/kubernetes into eparis-rename-to-kube
* 'rename-to-kube' of https://github.com/eparis/kubernetes:
  rename kube server binaries to kube-

Conflicts:
	docs/salt.md
2014-11-17 09:52:10 -08:00