Commit Graph

184 Commits (95b528ffec6de06a2baf709fcbc984ea638bf510)

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