Commit Graph

220 Commits (12984c85eaa34e13c47f64a3667fe407111d3d63)

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