Commit Graph

467 Commits (9a268d7c4c9b0382e3feb2fa1203522dfbe8fb36)

Author SHA1 Message Date
Eric Tune dd753df166 Merge pull request #8942 from saad-ali/fixGlusterNfsMakefiles
Fix makefiles for NFS and Gluster images
2015-06-01 09:24:13 -07:00
Rohit Jnagal f3b4b1aa31 Merge pull request #9019 from markturansky/recyc_img
Fixes nfs-server security issue in image
2015-05-29 16:32:51 -07:00
Rohit Jnagal 42820997e1 Merge pull request #8997 from jsafrane/devel/fix-permissions
Fix permissions in e2e volume tests.
2015-05-29 16:30:55 -07:00
Rohit Jnagal 99c9c54c05 Merge pull request #8983 from jlowdermilk/update-patch
Disable --patch for kubectl update
2015-05-29 16:30:16 -07:00
markturansky 53952ad97b Fixes nfs-server security issue in image 2015-05-29 16:50:54 -04:00
Rohit Jnagal 8d1481ab4a Merge pull request #8835 from jlowdermilk/release-notes
Optionally use a github api token when compiling relase-notes
2015-05-29 13:24:10 -07:00
Jeff Lowdermilk 90a5b8c845 Disable --patch for kubectl update 2015-05-29 09:31:49 -07:00
Jan Safranek cbbabe585d Make sure index.html is world-readable.
The file is read by 'nginx' UID in e2e tests.
2015-05-29 11:55:57 +02:00
Tim Hockin 3005471100 Add new apiserver flags for clusterIP (nee portal)
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Tim Hockin e0fe9bb4d6 Merge pull request #8959 from lavalamp/networkTimeout
Network timeout
2015-05-28 15:49:57 -07:00
Daniel Smith d683548fd6 Revert "Revert "Revert "Revert "Fix networking test""""
This reverts commit 30ffe0325c.
2015-05-28 15:01:59 -07:00
Eric Paris 28ac1b3395 API server explicitly notify systemd of successful startup
Use the systemd $NOTIFY_SOCKET convention for kube-apiserver
startup. This allows it to be part of dependency trees and for
consumers to wait until it is listening on its ports.

The $NOTIFY_SOCKET protocol is described here:

http://www.freedesktop.org/software/systemd/man/sd_notify.html

Currently this is limited to the kube-apiserver process. Other
kube processes are internal kubernetes moving points. The API
server is the entry point relied on by callers.

100% stolen from Stef Walter from:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8316
2015-05-28 15:59:26 -04:00
saadali 554119e788 Fix makefiles for NFS and Gluster images 2015-05-28 12:36:47 -07:00
Paul Morie 95d710d02b Add comments in mt.go 2015-05-28 12:14:53 -04:00
Jeff Lowdermilk b6cd4bedaa Optionally use a github api token when compiling relase-notes 2015-05-27 17:18:44 -07:00
Tim Hockin eab1ceccd4 Merge pull request #8628 from jlowdermilk/delete-not-found
Delete fails on notfound errors.
2015-05-27 16:26:41 -07:00
Tim Hockin ffabf17ed4 Merge pull request #8604 from brendandburns/kubectl
Make exec more consistent with the rest of the kubectl commands.
2015-05-27 16:23:59 -07:00
Jeff Lowdermilk 3cf4d9b2e6 Delete fails on notfound errors.
If deleting multiple resources, command will continue on error and
report not found resources at the end.
2015-05-27 16:02:54 -07:00
Brendan Burns 2ec4b409e1 Make exec more consistent with the rest of the kubectl commands. 2015-05-27 15:47:32 -07:00
Tim Hockin 9d0a4d8791 Merge pull request #8829 from lavalamp/no-ro-nettest
Revert "Revert "Fix networking test""
2015-05-27 12:42:32 -07:00
Anastasis Andronidis 9e3a540940 rename resize to scale 2015-05-27 19:08:06 +02:00
Anastasis Andronidis d4a47bdb9e rename run-container to run in kubectl 2015-05-27 19:07:17 +02:00
Anastasis Andronidis 5eae2378d6 Warn for every _ flag user or cmd defined
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
Saad Ali 441b690204 Merge pull request #8785 from aveshagarwal/kubernetes-fixes
Updating systemd service and environ files for controller-manager as --machines is deprecated.
2015-05-26 18:52:25 -07:00
Saad Ali bed9f826d3 Merge pull request #7435 from jsafrane/devel/volume-tests
V2: Add e2e tests for NFS and Gluster
2015-05-26 17:49:41 -07:00
Saad Ali e873387846 Merge pull request #8536 from jayunit100/prom-rc
Prometheus/promdash replication controller
2015-05-26 14:57:24 -07:00
Daniel Smith ea4035d08c Revert "Revert "Fix networking test""
This reverts commit a2d24d3e07.
2015-05-26 13:11:06 -07:00
Cesar Wong cb872e9243 Rename 'kubectl log' to 'kubectl logs' 2015-05-26 08:28:16 -04:00
Avesh Agarwal f9d8212ff9 Updating systemd service and enviorn files for controller-manager as
--machines is deprecated.
2015-05-25 11:25:16 -04:00
Jan Safranek 20004e0c16 Add e2e tests for Gluster and NFS tests.
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
  - enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Justin Santa Barbara 973c2e4819 Add Type to ServiceSpec: ClusterIP or LoadBalancer 2015-05-22 19:14:21 -04:00
Dawn Chen cc6a31354e Merge pull request #8169 from kargakis/expose-use-resource-builder
expose: Use resource builder
2015-05-22 12:29:24 -07:00
Masahiro Sano 8ce64ec69e add --all-namespaces flag to request across all namespaces 2015-05-22 23:25:12 +09:00
kargakis 30958f892d expose: Use resource builder
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
jayunit100 9a6debbc09 Prometheus service json
Update to use a public IP so that services have a sane web-root
2015-05-20 10:33:53 -04:00
Satnam Singh 73b3edb263 Update GPC logging sidecar to use latest gem 2015-05-19 16:42:49 -07:00
jayunit100 39011ae2d1 Prometheus/promdash replication controller 2015-05-19 18:46:17 -04:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Quinton Hoole a2d24d3e07 Revert "Fix networking test" 2015-05-15 11:04:23 -07:00
Daniel Smith f820704003 Fix networking test 2015-05-14 14:20:36 -07:00
Zach Loafman 6c3365c418 Merge pull request #7878 from jayunit100/prometheus
Prometheus dashboard add-on kube application ( #3118 )
2015-05-14 11:41:41 -07:00
jayunit100 2a8f42560f Promdash integration, minor changes to marcin's prometheus pods and v1beta3 implementation, and cold-start specification for prometheus+promdash deployment, and move to contrib. 2015-05-14 13:36:04 -04:00
Derek Carr 9454d58547 Merge pull request #8127 from liggitt/service_account_admission
Add ServiceAccount admission plugin
2015-05-13 14:03:11 -04:00
Brendan Burns 46be5482d0 Switch to a newer version of the nettest container. 2015-05-12 17:19:52 -07:00
Jordan Liggitt e5d47081a2 Add ServiceAccount admission plugin 2015-05-12 15:19:05 -04:00
Nikhil Jindal d75bd8bf2a Merge pull request #7101 from liggitt/service_account
ServiceAccounts
2015-05-12 10:23:41 -07:00
Victor Marmol 43029345f9 Merge pull request #7973 from dchen1107/podstatus
Add kubectl log --previous support to view last terminated container log
2015-05-11 17:08:45 -07:00
Jeff Lowdermilk ac87ed6516 Merge pull request #8064 from deads2k/death-to-auth-path
eliminate auth-path
2015-05-11 15:41:41 -07:00
Jordan Liggitt 7e14a80f63 ServiceAccount admission plugin 2015-05-11 17:18:06 -04:00
Jordan Liggitt 53d55f4192 Add ServiceAccount API type, client 2015-05-11 17:18:05 -04:00
Jordan Liggitt 6e1e7dbb24 Add ServiceAccountToken SecretType 2015-05-11 17:18:05 -04:00
Dawn Chen ecaf0874b2 Introduce --previous option to kubectl log 2015-05-11 10:14:22 -07:00
Nikhil Jindal 9c0fdc7afd Merge pull request #8039 from nak3/delete-status
Delete status from displayable resources
2015-05-11 10:11:42 -07:00
deads2k 19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
Kenjiro Nakayama c13f457885 Use template to get first column in __kubectl_parse_get() 2015-05-10 23:32:24 +09:00
Kenjiro Nakayama 5a0acecc54 Delete status from displayable resources 2015-05-10 19:28:02 +09:00
Eric Paris d28660ae49 Remove useless bash conditional
bash just returns the last return code, why are we testing and then
doing the same?
2015-05-08 12:22:07 -04:00
Victor Marmol 92bd8577e0 Merge pull request #7931 from pmorie/typo
Fix typos in different config comments
2015-05-08 08:05:51 -07:00
Paul Morie b5dd5be123 Fix typos in different config comments 2015-05-07 18:44:24 -04:00
Brendan Burns 1375a18175 Update boilerplate. 2015-05-07 09:52:08 -07:00
Brendan Burns 40dde19853 Adds a simple release-note builder that scrapes the Github API for recent PRs. 2015-05-07 09:37:38 -07:00
Vish Kannan e25210d367 Merge pull request #7822 from thockin/dns
DNS: expose 53/TCP
2015-05-07 09:34:52 -07:00
Wojciech Tyczynski ca0f678b9a Merge pull request #7792 from pweil-/security-context-types
SecurityContext admission clean up
2015-05-07 10:43:43 +02:00
Tim Hockin 07df69d339 Add a docker image for dnsutils 2015-05-07 00:40:44 -07:00
Brian Grant 32b4b1cdd7 Merge pull request #7575 from brendandburns/kubectl
Rolling Updates: Add support for --rollback.
2015-05-06 11:35:57 -07:00
Brendan Burns c9e33e197d Add support for --rollback. 2015-05-06 10:21:35 -07:00
Eric Paris 930f8645b5 Update bash completions
Because we updated cobra, we get a better set of bash completions
2015-05-05 19:19:47 -04:00
Paul Weil 5acdf5e70b remove trailing comma. Add sc admission controller to ansible and systemd 2015-05-05 16:34:38 -04:00
Robert Bailey 93a781ff66 Merge pull request #7722 from eparis/minor-bash-fixes
Minor bash update found by shellcheck.net
2015-05-04 13:03:26 -07:00
Victor Marmol 90de73ac7a Merge pull request #7536 from rjnagal/node
Add --hostport to run-container.
2015-05-04 12:55:12 -07:00
Eric Paris 87613eee87 Minor bash update found by shellcheck.net 2015-05-04 14:52:50 -04:00
Wojciech Tyczynski 72f9e940a8 Merge pull request #7694 from nak3/bash-comp-add-label
Add kubectl_label to custom functions in bash completion
2015-05-04 15:11:41 +02:00
Kenjiro Nakayama c3485ca85c Add kubectl_label to custom functions of bash completion 2015-05-04 20:57:56 +09:00
Filip Grzadkowski be2b2466f3 Merge pull request #7076 from eparis/bash-5-kubectl-required-flags
annotate required flags for bash_completions
2015-05-04 13:26:11 +02:00
Rohit Jnagal 9cbfb0c3f9 Add --hostport to run-container.
This helps as a starting point to show a single-machine container.
Its easier to use this as an example to show where host port mapping breaks and move on to
services.
2015-05-01 23:45:03 +00:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Piotr Szczesniak 11a2dc496f Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
Those are changes which touch users required by Termination Notice

Addresses #6804
2015-04-30 18:00:33 +02:00
Victor Marmol e77fb3a290 Merge pull request #7457 from aveshagarwal/kubelet-systemd-servicefile-issue
cadvisor is obsoleted so kubelet service does not require it.
2015-04-29 08:23:12 -07:00
Brendan Burns e1256c0802 Make delete actually stop resources by default.
Refactor for shared code.
2015-04-28 14:36:43 -07:00
Avesh Agarwal 24a90cc57b cadvisor is obsoleted so kubelet service does not require it. 2015-04-28 16:33:18 -04:00
Alex Robinson ada9242155 Remove unused env variable from the fluentd dockerfiles and make their apt-get
arguments consistent.
2015-04-27 20:47:38 +00:00
Brian Grant 7330ced1fe Merge pull request #7268 from brendandburns/qps
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 16:11:07 -07:00
Brendan Burns 217e6ff0d0 First part of improved rolling update, allow dynamic next replication controller generation. 2015-04-24 15:19:00 -07:00
David Oppenheimer 2d69f03183 Merge pull request #7259 from a-robinson/fluentd
Make a Fluentd sidecar image and example for sending logs from within a
2015-04-23 17:10:24 -07:00
Alex Robinson c0956ae0ba Make a Fluentd sidecar image and example for sending logs from within a
pod's filesystem to Elasticsearch, copying liberally from the GCP version.
2015-04-23 15:22:39 -07:00
Jeff Lowdermilk fa6ce7b7bf Add a --raw flag to kubectl config view
Defaults to false, unless --flatten is specified. Default behavior
(--raw=false) is that byte data (Client{Certificate,Key}data,
CertificateAuthorityData) is redacted for a more human-readable view.
Useful for manually inspecting files that have embeded data.
2015-04-23 09:19:45 -07:00
Satnam Singh ade79a2b74 Merge pull request #7149 from a-robinson/fluentd
Create a Docker image for use as a sidecar log collector that sends logs to Google Cloud Logging
2015-04-22 15:14:19 -07:00
Alex Robinson a503fecec1 Add an example usage of the cloud logging sidecar image to the same directory
as the image components. It doesn't really belong under examples/ since
it's so specific to GCE/GKE.
2015-04-22 21:13:26 +00:00
Alex Robinson 5bf64e9fa3 Create a Docker image for use as a sidecar log collector that sends logs
to Google Cloud Logging.
2015-04-22 21:10:45 +00:00
Clayton Coleman 09d86b5fdb Add completions 2015-04-22 12:54:28 -04:00
Eric Paris 0620940d26 annotate required flags for bash_completions
some commands require that certain flags be set in order to function.
Annotate those flags so the bash completions will suggest to the user
that they be set.
2015-04-20 18:33:00 -04:00
Brendan Burns d7b0b4a95b Merge pull request #6834 from eparis/bash-4-kubectl-describe
Annotate kubectl describe with describable object for bash completions
2015-04-20 14:13:53 -07:00
Brendan Burns e079e23e47 Merge pull request #6597 from fabioy/kubectl-validate
Add "kubectl validate" command to do a cluster health check.
2015-04-20 11:21:06 -07:00
Alex Robinson 059a8c92bd Move the logging-related directories to where I think they belong.
1. Move fluentd-gcp to be a core cluster addon, rather than a contrib.
2. Get rid of the synthetic logger under contrib, since the exact same
synthetic logger was also included in the logging-demo.
3. Move the logging-demo to examples, since it's effectively an example.

We should also consider adding on a GCP section to the logging-demo
example :)
2015-04-17 23:59:50 +00:00
Paulo Pires e6e221263a Removed duplicated markdown file with a different name. 2015-04-17 20:11:12 +01:00
Fabio Yeon 951a125751 Add "componentstatus" to API for easier cluster health check. 2015-04-17 11:58:23 -07:00
Jeff Lowdermilk 97e4549170 Merge pull request #6680 from deads2k/deads-change-kubeconfig-chain
change kubeconfig loading chain
2015-04-16 13:57:31 -07:00
deads2k de4be5422c change kubeconfig loading order 2015-04-16 13:05:09 -04:00
Eric Paris f272e836e0 Annotate kubectl describe with describable object for bash completions 2015-04-14 18:51:18 -04:00
Eric Paris de3864a1c2 bash_completions: Generic function for --filename arguments
This generic function adds --filename= arguments to commands, and does
the magic so they get bash completions to find json, yaml, or yml files.
2015-04-14 18:25:52 -04:00
Jeff Lowdermilk 037407f49e Merge pull request #6791 from eparis/bash-2-kubectl-get-resources
bash_completions: annotate kubectl get with resources
2015-04-14 15:02:34 -07:00
Jeff Lowdermilk 4f552053f1 Merge pull request #6789 from eparis/bash-custom-functions
Add bash completion custom functions
2015-04-14 11:54:22 -07:00
deads2k bac5cbbe82 add flattening and minifying options to config view 2015-04-14 10:23:10 -04:00
Eric Paris c75ecbd8e3 bash_completions: annotate kubectl get with resources which can be 'gotten'
A user types:
  kubectl get $resource

This will cause the bash completions to suggest the possible objects the
user can ask for.  The complete list right now is:

endpoints
event
limitrange
namespace
node
persistentvolume
persistentvolumeclaim
pod
replicationcontroller
resourcequota
secret
service
status

But this list should stay up2date as api objects are added or deleted
2015-04-13 19:11:26 -04:00
Eric Paris f6878aed3c Add bash completion custom functions
These functions call out to kubectl to get information about running
resources.  They give us completions which are kubernetes aware and thus
obviously better than just cobra subcommands and flags.
2015-04-13 18:49:28 -04:00
Eric Paris 26149bd83d Doc generation should remove old doc files
Right now, our doc generation scripts notice if you make changes and
don't regen docs, don't include new docs, etc.  But they miss it if your
changes should have REMOVED a doc.  Both kubectl-apiversion and
kubectl-clusterinfo should have been removed, but weren't.

This patch starts tracking all generated doc files and will cause
problems if files should be removed and aren't.
2015-04-13 17:48:24 -04:00
Eric Paris ebb0affc21 Automatically generate bash completions for kubectl 2015-04-13 15:27:55 -04:00
Timothy St. Clair 2b60111fca Performance change to option enable client.QPS, client.Burst
and change default on max_requests_inflight.
2015-04-10 07:53:54 -05:00
Paul Morie e39a8e33ce Add mount test image 2015-04-08 22:54:23 +08:00
Eric Paris d5f7d5eadf Fix bash completions and update to latest 2015-04-07 20:30:57 -04:00
Brendan Burns 19e4e16ec2 Fix typo. 2015-04-07 11:56:48 -07:00
Brendan Burns 3a6c0370df Merge pull request #6237 from eparis/ansible
example ansible setup repo
2015-04-07 11:55:40 -07:00
Eric Paris 931044be01 update the actual bash completions using this code! 2015-04-06 18:44:03 -04:00
Brendan Burns 88dbdc4a69 Merge pull request #6203 from brendandburns/qps
Add a QPS limiter to the kubernetes client.
2015-04-03 14:24:29 -07:00
Brendan Burns 3f98ac07c2 Add a QPS limiter to the kubernetes client. 2015-04-03 11:58:51 -07:00
Eric Paris 051ab346bd Use IANA ports for etcd
http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=etcd

Use 2379 and 2380, not 4001 and 7001
2015-04-03 13:02:56 -04:00
Eric Paris a94d8e361e Only run node creation on the first master
True, we can only have one master today, but this gets us ready for when
it comes later
2015-04-03 13:01:14 -04:00
Eric Paris 4e8a29c2ca Add a README file 2015-04-03 13:01:13 -04:00
Eric Paris d3862b5ea2 Just put all vars in all.yml
The distinction between all/etcd/masters wouldn't make sense for a
non-developer
2015-04-03 13:01:13 -04:00
Eric Paris b25996dbcd Add comments to configuration variables 2015-04-03 13:01:12 -04:00
Eric Paris 0166392cfe Collect packge info in the repo, not in python
There is no need for a python fact collector, just do it in ansible
commands instead
2015-04-03 13:01:03 -04:00
Eric Paris c4241fb2ae Use v1beta3 node definitions 2015-04-03 12:01:46 -04:00
Eric Paris 35c7b16592 example ansible setup repo
This is a basic ansible repo that will do a couple of things

1) set up an etcd node
2) set up a master running apiserver, scheduler, controller-manager
3) setup any number of nodes

Hopefully this can be expanded to do things like set up skydns, set up a
private docker repo, set up an overlay network (flannel) etc etc.  But
right now all it does is set up etcd and configure a master and nodes.
2015-04-03 12:01:36 -04:00
Yu-Ju Hong f19ca7b681 Merge pull request #6263 from satnam6502/nettest
Switch network tester image to gcr.io
2015-04-03 08:41:12 -07:00
Sam Ghods ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07:00
Satnam Singh 34f29a1787 Switch network tester image to gcr.io 2015-04-01 17:38:53 -07:00
Jeff Lowdermilk 2d8e93f8b4 e2e images pulled from gcr.io 2015-04-01 09:18:03 -07:00
Jeff Lowdermilk 506887515d Rename google-containers to google_containers in image names 2015-04-01 09:16:48 -07:00
Satnam Singh 73a9ab2928 Rename logging image to use google_containers 2015-03-31 16:00:52 -07:00
Brian Grant 3354cffbf0 Merge pull request #6182 from thockin/plural_services_20
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Paul Morie 7628b37d78 Add control over container entrypoint 2015-03-31 12:32:03 -04:00
Tim Hockin 186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Satnam Singh e114075032 Create gcr.io image for Fluentd to Cloud Logging 2015-03-27 16:34:04 -07:00
Brian Grant a765236653 Merge pull request #5939 from thockin/plural_endpoints_31_endpt_subsets
Implement multi-port endpoints
2015-03-27 14:15:15 -07:00
Tim Hockin 8ae203825b Implement multi-port endpoints
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}.  To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets.  This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).

This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.

This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.

This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Satnam Singh 37689038d2 Merge pull request #6071 from lavalamp/fix2
Update network tester files to v1beta3
2015-03-27 12:22:49 -07:00
Daniel Smith a060c541e9 Update network tester files to v1beta3 2015-03-27 11:09:33 -07:00
Matt Moore 9400b5b4f2 Move the 'private' (authenticated) image into a bucket owned by google-containers. 2015-03-27 09:54:37 -07:00
Satnam Singh 93cb5e0c9c Create image gcr.io/google-containers/serve_hostnames:1.1 2015-03-26 20:59:34 -07:00
Eric Paris be3c219181 update example systemd files to be more obvious
only set the etcd servers in the apiserver config
set the --master= in the global config
  still need --api_servers= different in kubelet because, ummmm, we do
comment out the apiserver config in controller and scheduler, not needed
point the proxy to api, not to etcd
2015-03-20 15:56:42 -04:00
Eric Paris db4d8d96f0 Set default admission control policies in example init files 2015-03-20 15:56:42 -04:00
Satnam Singh 701c0e23dc Fix bug in webserver test container and add extra diagnostics 2015-03-18 14:53:03 -07:00
Satnam Singh 0212e68e91 Adjust POS file for Fluentd to Cloud Logging 2015-03-17 11:44:04 -07:00
Timothy St. Clair 140330fca8 Fix to address issue #5461 kube-proxy too many files open
https://github.com/GoogleCloudPlatform/kubernetes/issues/5461
2015-03-17 10:13:25 -05:00
Satnam Singh d395efa463 Make Fluentd to Cloud Logging collector read from head 2015-03-16 16:19:07 -07:00
Daniel Smith 69f92b1b21 Merge pull request #5310 from eparis/tmpfiles
Mv tmpfiles to own dir, update to match what kubernetes uses
2015-03-11 13:56:44 -07:00
Eric Paris 3e2a9e194f kubelet should use --api_servers not --api_server
(because the later is not a valid option)
2015-03-11 16:14:25 -04:00
Victor Marmol c868b0bbf0 Merge pull request #5309 from eparis/kubelet-apiserver-example
update --api_servers to include the protocol
2015-03-11 11:47:36 -07:00
Eric Paris 25de2163fe Mv tmpfiles to own dir, update to match what kubernetes uses
It's just easier to package if we keep all the tmpfiles in one place
(even though there is only one)

All of the kube code uses /var/run/  not /run.  Even though /var/run is
a link to /run on all systemd systems, it makes sense to me to keep our
codebase consistent.
2015-03-11 14:11:46 -04:00
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