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
Johan Euphrosine
ccc8bc8289
Merge pull request #1960 from jhadvig/podex_readme
...
update Podex README
2014-11-15 14:27:03 -08:00
Dawn Chen
e3d75dbdf7
Merge pull request #2379 from satnam6502/fluentd-ek-doc
...
Update logging documentation to reflect on by default logging
2014-11-14 11:40:33 -08:00
Satnam Singh
7441e2f39b
Update logging documentation to reflect on by default logging
2014-11-14 11:21:36 -08:00
Eric Paris
a99c3c7963
rename kube server binaries to kube-
...
apiserver becomes kube-apiserver
controller-manager -> kube-controller-manager
scheduler and proxy similarly.
Only thing I promise is that right now hack/build-go.sh and
build/release.sh exit with 0. That's it. Who knows if any of this
actually works....
2014-11-13 20:08:26 -05:00
David Oppenheimer
3d69351924
Change update example to use a trivial webserver instead of nginx (issue #1803 ).
2014-11-12 15:13:11 -08:00
davidopp
6a736901ca
Revert "Change update example to use a trivial webserver instead of nginx (issue..."
2014-11-11 23:03:23 -08:00
davidopp
004bc49349
Merge pull request #2320 from davidopp/master
...
Change update example to use a trivial webserver instead of nginx (issue...
2014-11-11 22:56:27 -08:00
David Oppenheimer
03ae4b54a3
Change update example to use a trivial webserver instead of nginx (issue #1803 ).
2014-11-11 22:16:18 -08:00
jhadvig
e0c8d53bbc
update README
2014-11-11 23:00:34 +01:00
Satnam Singh
cb496a365e
Make Fluentd to GCP Logging image self-contained; add log rotation support
2014-11-11 09:21:21 -08:00
Satnam Singh
88dc951019
Extend timeout for proxy Webscoket calls to one day
2014-11-09 23:17:17 -08:00
bgrant0607
e81d69bd02
Merge pull request #2218 from satnam6502/docfix
...
Add a link to a Gist showing a successful cluster creation transcript plus add links to pod and service files for Elasticsearch example.
2014-11-08 11:55:33 -08:00
Satnam Singh
f5c1df0a73
Change tag to latest and use correct pos file syntax for detection of log rotation
2014-11-07 16:54:44 -08:00
Satnam Singh
99356d2a65
Undo pos_file change which does not seem to be working as aspected but keep change to tagging of image.
2014-11-07 14:55:49 -08:00
Satnam Singh
5e56f6435f
Add a link to a Gist showing a successful cluster creation transcript and add links to pod and service description files
2014-11-07 14:39:20 -08:00
Eric Paris
2ec36f71ce
bash completion update
...
add flags for namespace
add get events
add log
remove 'table' output format
add 'templatefile' output format
add 'apply' (but pretend createall doesn't exist becaues it sux when you
want to complete on just 'create')
2014-11-07 16:41:43 -05:00
Satnam Singh
158067c298
Make the Fluentd/Elasticsearch logging robust to log rotation
2014-11-07 02:50:36 -08:00
Tim Hockin
270f1fd153
Add SkyDNS example
...
This is not a complete solution, but a piece of one. More coming.
2014-11-06 17:27:14 -08:00
Sam Ghods
cbd13b599d
Fix two compilation errors when running go build ./...
2014-11-06 12:55:27 -08:00
Satnam Singh
8668d90371
Make Fluentd/Elasticsearch logging support be robust to log rotation
2014-11-05 20:00:53 -08:00
bgrant0607
59fbe2bb49
Merge pull request #2029 from satnam6502/fluentd-ek-doc
...
Fluentd and Elasticsearch with Separate Pods Write Up
2014-11-05 16:04:40 -08:00
Satnam Singh
75b7b0c838
Fluentd and Elasticsearch with Separate Pods Write Up
2014-11-05 13:34:42 -08:00
Eric Paris
9f666969df
In example unit file, run the scheduler as kube, not root
...
Only the kubelet and proxy do things which need root privs
2014-11-05 11:51:15 -05:00
Brian Grant
b8959bf146
Initial cut of simple config generation/transformation tools
2014-11-05 01:14:34 +00:00
Brendan Burns
8d34231381
Fix a bunch of places where the -machines flag was still attached to the apiserver.
2014-11-01 20:38:45 -07:00
Brendan Burns
e8b5bad5b9
Merge pull request #2084 from jeefy/master
...
Community Recipes section
2014-10-31 09:24:59 -07:00
Brendan Burns
a18cdac616
Merge pull request #2014 from satnam6502/fluentd-ek-colo
...
Fluentd example with Elasticsearch and Kibana in the same pod
2014-10-30 21:53:34 -07:00
Brendan Burns
bea70f42e5
Merge pull request #2015 from satnam6502/fluentd-ek
...
Fluentd example with Elasticsearch and Kibana in separate pods
2014-10-30 21:52:28 -07:00
Brendan Burns
448c292ecc
Merge pull request #2021 from satnam6502/fluentd-gcp
...
Demo files for logging for Fluentd and GCP
2014-10-30 21:52:08 -07:00
Jeffrey Sica
a8af6c8bfc
fixed spelling mistake
2014-10-30 19:20:22 -04:00
Jeffrey Sica
16ef3316d8
updated footer formatting
2014-10-30 19:12:20 -04:00
Jeffrey Sica
2306992b7e
Created contrib/recipes
2014-10-30 19:08:46 -04:00
Satnam Singh
70245bc412
Fluentd example with Elasticsearch and Kibana in separate pods
2014-10-30 12:29:44 -07:00
Satnam Singh
260b7ea63e
Demo files for logging for Fluentd and GCP
2014-10-30 09:56:55 -07:00
Eric Paris
7522f194cb
Convert minion_ to kubelet_ in numerous docs
...
The example systemd services files, environment files, and the fedora
manual config doc all used numerous references to minion_. Many of
these are better named kubelet_. Convert them.
2014-10-29 14:38:52 -04:00
Colin Walters
13e1a5d28d
Update systemd unit and docs for s/minion_port/kubelet_port
...
This appears to have changed in
3160500940
2014-10-29 11:05:54 -04:00
Satnam Singh
ceced23aa3
A Docker image for Kibana designed to work with Kubernetes logging
2014-10-28 14:28:57 -07:00
Satnam Singh
44e4c8d7ad
Fluentd example with Elasticsearch and Kibana in the same pod
2014-10-27 22:15:02 -07:00
Johan Euphrosine
5f8bde781c
README: add todos
2014-10-22 16:54:39 -07:00
Filipe Brandenburger
97dd7302ac
Merge pull request #1877 from eparis/kubectl-completions
...
bash completions for kubectl
2014-10-22 08:04:56 -04:00
Johan Euphrosine
0e8804ee49
Merge pull request #1898 from jhadvig/podex_images
...
Podex handling multiple images
2014-10-21 17:44:39 -07:00
jhadvig
7851f5551c
Podex handling multiple images
2014-10-22 02:18:14 +02:00
Eric Paris
a160c0f06b
bash completions for kubectl
...
Support pre command flags:
--api-version=
-a, --auth-path=
--certificate-authority=
--client-certificate=
--client-key=
--insecure-skip-tls-verify=
--match-server-version=
-s, --server=
And commands:
get
describe
create
update
delete
Tries to be smart about things like
kubectl get -o template requires a template file
It also tries to accept both sigular and plural versions of all
resources. Even though it will only complete to the plural version.
2014-10-21 12:54:43 -04:00
Satnam Singh
01fa0616fd
Pass arguments to td-agent with unquoted spaces
2014-10-20 16:19:41 -07:00
Eric Paris
ecba9eed99
systemd example unit and environment files
2014-10-16 22:23:52 -04:00
Satnam Singh
bf2d4ebb33
Supply command line args to td-agent
2014-10-15 00:01:28 -07:00
Tim Hockin
542ea00d6e
Merge pull request #1765 from satnam6502/fluentd-gcp-image
...
Sending Docker container log files to GCP from fluentd
2014-10-14 08:59:32 -07:00
Satnam Singh
179e3f7fee
Separate build and push of images
2014-10-14 01:01:29 +00:00
Satnam Singh
57b8898dac
Source files for the kubernetes/fluentd-gcp image for sending Docker log files to GCP.
...
Sending Docker container log files with fluentd to GCP
Adjusted target match
Fix typo in Dockerfiles, separate build and push
2014-10-14 00:58:14 +00:00
Satnam Singh
bae504672c
Adjust Dockerfile, config file and set-up script with minor tweaks.
2014-10-14 00:18:12 +00:00
Satnam Singh
88dadeea43
Add README.md file for fluentd-elasticsearch image directory
2014-10-13 12:21:22 -07:00
Satnam Singh
d140c71a0d
Confess the horrible hack for outer host
2014-10-13 18:55:58 +00:00
Satnam Singh
c7447a719f
Fix tense for run.sh comment
2014-10-13 18:48:07 +00:00
Satnam Singh
a92dc444e6
Fix typo in plug-in
2014-10-13 18:46:14 +00:00
Satnam Singh
d7b1550d3d
Change target image to kubernetes/elasticsearch
2014-10-13 18:40:56 +00:00
Satnam Singh
303da8b036
Dockerfile and build script for fluentd-elasticsearch image
2014-10-13 18:27:39 +00:00
Satnam Singh
178a901db7
Source files for the fluentd-elasticsearch image.
2014-10-13 11:06:01 -07:00
Tim Hockin
af3983464c
move completions from misc to contrib
2014-10-07 22:20:32 -07:00
jhadvig
e7af7b52c7
podex - DOCKER_HOST envar check
2014-10-07 22:26:03 +02:00
Johan Euphrosine
8f40d603f9
podex: add build to travis
2014-10-02 18:02:19 -07:00
Johan Euphrosine
c0a2949219
podex: fix typo
2014-10-02 17:26:34 -07:00
Johan Euphrosine
ba9519f6e0
podex: cleanup maintainers
2014-10-02 17:25:57 -07:00
Johan Euphrosine
dbbe561a83
podex: gofmt -s
2014-10-02 10:57:30 -07:00
Johan Euphrosine
5aefc25dad
podex: add comment about image name parsing
2014-10-02 10:56:53 -07:00
Johan Euphrosine
dd571c5a76
podex: add TODO
2014-10-02 10:48:38 -07:00
Johan Euphrosine
02b12aff7a
podex: fix filename typo
2014-10-02 10:46:42 -07:00
Johan Euphrosine
4102e0d78d
podex: fix build and reject conflicting options
2014-10-02 10:46:18 -07:00
Johan Euphrosine
e5b3e41ef9
podex: move to contrib
2014-10-02 10:37:41 -07:00