Commit Graph

243 Commits (fa42901798b194ddc08cc7280fb1eaa99374bb1d)

Author SHA1 Message Date
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
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