Commit Graph

5166 Commits

Author SHA1 Message Date
Zach Loafman
a305269e18 Deferred creation of SkyDNS, monitoring and logging objects
This implements phase 1 of the proposal in #3579, moving the creation
of the pods, RCs, and services to the master after the apiserver is
available.

This is such a wide commit because our existing initial config story
is special:

* Add kube-addons service and associated salt configuration:
** We configure /etc/kubernetes/addons to be a directory of objects
that are appropriately configured for the current cluster.
** "/etc/init.d/kube-addons start" slurps up everything in that dir.
(Most of the difficult is the business logic in salt around getting
that directory built at all.)
** We cheat and overlay cluster/addons into saltbase/salt/kube-addons
as config files for the kube-addons meta-service.
* Change .yaml.in files to salt templates
* Rename {setup,teardown}-{monitoring,logging} to
{setup,teardown}-{monitoring,logging}-firewall to properly reflect
their real purpose now (the purpose of these functions is now ONLY to
bring up the firewall rules, and possibly to relay the IP to the user).
* Rework GCE {setup,teardown}-{monitoring,logging}-firewall: Both
functions were improperly configuring global rules, yet used
lifecycles tied to the cluster. Use $NODE_INSTANCE_PREFIX with the
rule. The logging rule needed a $NETWORK specifier. The monitoring
rule tried gcloud describe first, but given the instancing, this feels
like a waste of time now.
* Plumb ENABLE_CLUSTER_MONITORING, ENABLE_CLUSTER_LOGGING,
ELASTICSEARCH_LOGGING_REPLICAS and DNS_REPLICAS down to the master,
since these are needed there now.

(Desperately want just a yaml or json file we can share between
providers that has all this crap. Maybe #3525 is an answer?)

Huge caveats: I've gone pretty firm testing on GCE, including
twiddling the env variables and making sure the objects I expect to
come up, come up. I've tested that it doesn't break GKE bringup
somehow. But I haven't had a chance to test the other providers.
2015-01-21 12:25:50 -08:00
Clayton Coleman
3c15427b2d Merge pull request #3647 from deads2k/deads-make-factory-flag-binding-optional
make kubectl factory flag binding optional
2015-01-21 15:23:37 -05:00
Zach Loafman
903de0c2fe Merge pull request #3688 from jbeda/fix-e2e
Fix min minions for e2e
2015-01-21 11:44:40 -08:00
Joe Beda
f3b0f285fa Fix min minions for e2e 2015-01-21 11:37:57 -08:00
Brian Grant
54ad81759a Merge pull request #3677 from filbranden/flag_shorthand_refactor1
Flag shorthand refactor1
2015-01-21 10:41:26 -08:00
Brian Grant
fc1e3854af Merge pull request #3684 from smreed/services-e2e-fix
Fixes endpoint propagation failure in services e2e
2015-01-21 10:37:26 -08:00
Brian Grant
6b24c518fb Merge pull request #3675 from hTrap/patch-3
typo in capitalisation
2015-01-21 10:36:49 -08:00
Brian Grant
f100b65108 Merge pull request #3678 from hTrap/patch-4
typo fixed
2015-01-21 10:35:33 -08:00
Steve Reed
0d79cfc581 Adds trailing semi-colon as per PR comment 2015-01-21 10:30:58 -08:00
Steve Reed
e3f7899be2 Extra echo in services.sh e2e test to get it to pass 2015-01-21 10:30:19 -08:00
Tim Hockin
1c31aa489f Merge pull request #3674 from liggitt/override_default_cluster
Allow overriding global default cluster host
2015-01-21 10:08:46 -08: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
7aac65d1ad Merge pull request #3682 from brendandburns/shell
Update changelog.
2015-01-21 10:07:34 -08:00
Tim Hockin
f0aff20c9a Merge pull request #3680 from filbranden/kubectl_version1
Fix kubectl version to match client and server version output
2015-01-21 10:07:14 -08:00
Brendan Burns
039249ad4e Update changelog. 2015-01-21 10:00:12 -08:00
Tim Hockin
4061de1ef2 Merge pull request #3510 from thockin/dns
Update DNS doc
2015-01-21 08:46:58 -08:00
Filipe Brandenburger
b2aabc540e Fix kubectl version to match client and server version output
Before this fix, the server version was printed from a pointer, making
the Go formatter prefix it with a &.

Before this patch:

    $ kubectl version
    Client Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}
    Server Version: &version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}

After this patch:

    $ kubectl version
    Client Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836-dirty", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"dirty"}
    Server Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}
2015-01-21 08:44:53 -08:00
Parth Oberoi
a5d413b774 typo fixed
'r' removed from 'identifies'
2015-01-21 21:36:43 +05:30
Filipe Brandenburger
0bfeeb84ca Make short flags optional, refactor code to use StringVarP directly.
There is no need to check for an empty string and call StringVar or
StringVarP depending on the case, since StringVar is essentially the
same as a call to StringVarP with an empty string.

This turns 6 lines of code back into 1.

Remove the TODO comments since removing the short flags will no longer
simplify this code significantly.
2015-01-21 07:58:02 -08:00
Filipe Brandenburger
af76d14e2e Revert "fixup repeated usage strings"
This reverts commit 469bd2b641.
2015-01-21 07:56:24 -08:00
Parth Oberoi
39f4c29009 typo in capitalisation
"HTTPs" changed to HTTPS
2015-01-21 21:14:16 +05:30
Jordan Liggitt
f71521d758 Allow overriding global default cluster host 2015-01-21 10:38:58 -05:00
Brian Grant
8537a73264 Merge pull request #3658 from codemonkey77/codemonkey77-patch-1
Broken link in docs/README.md
2015-01-21 07:28:10 -08:00
Brian Grant
91533095e5 Merge pull request #3656 from jbeda/vagrant-e2e
Fix up a bunch of vagrant stuff to enable e2e
2015-01-21 07:26:13 -08:00
Brian Grant
20019ead4c Merge pull request #3616 from hTrap/patch-1
typo fixed
2015-01-21 07:14:56 -08:00
Brian Grant
dfe8431b11 Merge pull request #3668 from hTrap/patch-2
typo fixed ';'
2015-01-21 07:14:33 -08:00
Brian Grant
08b54f63ba Merge pull request #3672 from deads2k/deads-fixup-repeated-strings
fixup repeated usage strings
2015-01-21 07:05:02 -08:00
deads2k
469bd2b641 fixup repeated usage strings 2015-01-21 08:12:24 -05:00
Parth Oberoi
3b3ff037b0 typo fixed ';'
unexpected ';' after environment on line 7
2015-01-21 14:29:56 +05:30
Filipe Brandenburger
4060a11c1a Merge pull request #3653 from satnam6502/e2e
Make basic and private Go end to end tests hermetic to allow parallel testing
2015-01-20 21:23:19 -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
Brendan Burns
8096da1e2c Merge pull request #3663 from brendandburns/rel9
Kubernetes Release 0.9.0
2015-01-20 19:54:23 -08:00
Brendan Burns
29ae3e2d15 Kubernetes version v0.9.0-dev 2015-01-20 19:50:24 -08:00
Brendan Burns
96af0c3e5b Kubernetes version v0.9.0 2015-01-20 19:50:24 -08:00
Satnam Singh
fc83ba704b Make basic end to end test robustly wait for hostIP 2015-01-20 19:30:13 -08:00
Tim Hockin
a9cbc58b8e Merge pull request #3657 from satnam6502/serve-hostname
Put a version tag on kubernetes/serve_hostname
2015-01-20 17:27:20 -08:00
codemonkey77
aabc1c35f6 Broken link in docs/README.md
Link was broken following rename of ux.md to ui.md
2015-01-21 01:23:59 +00:00
Satnam Singh
efcbdd7860 Put a version tag on kubernetes/serve_hostname 2015-01-20 17:21:05 -08:00
Brian Grant
dd45246150 Merge pull request #3587 from dchen1107/image
Clean up Kubernetes PullPolicy
2015-01-20 17:18:26 -08:00
Tim Hockin
2d2374c5d3 Merge pull request #3654 from satnam6502/serve-hostname
Remove trailing newline from served hostname in serve_hostname
2015-01-20 16:48:34 -08:00
Joe Beda
a76b6dddad Turn of services.sh as it is broken.
See https://github.com/GoogleCloudPlatform/kubernetes/issues/3655.
2015-01-20 16:48:10 -08:00
Joe Beda
4357e9b154 Fix SSH for vagrant.
This is used as part of the services.sh test.
2015-01-20 16:47:51 -08:00
Joe Beda
ae06ebc8ee Fix iptables rule from when vagrant was reorganized. 2015-01-20 16:47:09 -08:00
Satnam Singh
88e4139774 Remove trailing newline from served hostname in serve_hostname 2015-01-20 16:31:07 -08:00
Brian Grant
0b69a3f57a Merge pull request #3517 from thockin/v1b3
Rename HostDir to HostPath in v1beta3
2015-01-20 16:25:16 -08:00
Tim Hockin
60ec08db93 Rename HostDir to HostPath in v1beta3 2015-01-20 15:56:44 -08:00
Tim Hockin
21ab82d269 Merge pull request #3637 from smarterclayton/clarify_name
Clarify name must be lowercase in docs, to match code
2015-01-20 15:23:01 -08:00
Dawn Chen
b8c7e64b0f Merge pull request #3612 from enisoc/apiserver-proxy-headers
Add reverse proxy headers in apiserver proxy.
2015-01-20 15:14:57 -08:00
deads2k
500bb3a7fa make kubectl factory flag binding optional 2015-01-20 18:12:24 -05:00
Tim Hockin
b3b092b41a Merge pull request #3603 from smarterclayton/expose_type_accessor
Add TypeAccessor to api/meta for objects without Object/ListMeta
2015-01-20 14:55:43 -08:00