Commit Graph

32 Commits (fd4a0c59665c2e1c0828ddc59d2dd61c5dc85ac9)

Author SHA1 Message Date
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
Avesh Agarwal f9d8212ff9 Updating systemd service and enviorn files for controller-manager as
--machines is deprecated.
2015-05-25 11:25:16 -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
Jordan Liggitt e5d47081a2 Add ServiceAccount admission plugin 2015-05-12 15:19:05 -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
Paul Weil 5acdf5e70b remove trailing comma. Add sc admission controller to ansible and systemd 2015-05-05 16:34:38 -04:00
Avesh Agarwal 24a90cc57b cadvisor is obsoleted so kubelet service does not require it. 2015-04-28 16:33:18 -04: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
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
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
Timothy St. Clair 2093610e5f Update file limits from testing 2015-03-03 08:25:31 -06: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
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
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
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
Colin Walters 608e00bffd contrib/systemd: Add tmpfiles.d file
Now that that the apiserver can auto-generate self-signed
certificates, and drop them in /var/run/kubernetes (which is really
/run/kubernetes), we need to ensure it's created on boot.

(I'm not sure why the default isnt' *persistent* self-signed
 certificates, but that's a different patch)
2015-01-18 21:01:17 -05:00
Eric Paris a99c3c7963 rename kube server binaries to kube-
apiserver becomes kube-apiserver
controller-manager -> kube-controller-manager
scheduler and proxy similarly.

Only thing I promise is that right now hack/build-go.sh and
build/release.sh exit with 0.  That's it.  Who knows if any of this
actually works....
2014-11-13 20:08:26 -05:00
Eric Paris 9f666969df In example unit file, run the scheduler as kube, not root
Only the kubelet and proxy do things which need root privs
2014-11-05 11:51:15 -05:00
Brendan Burns 8d34231381 Fix a bunch of places where the -machines flag was still attached to the apiserver. 2014-11-01 20:38:45 -07:00
Eric Paris 7522f194cb Convert minion_ to kubelet_ in numerous docs
The example systemd services files, environment files, and the fedora
manual config doc all used numerous references to minion_.  Many of
these are better named kubelet_.  Convert them.
2014-10-29 14:38:52 -04:00
Colin Walters 13e1a5d28d Update systemd unit and docs for s/minion_port/kubelet_port
This appears to have changed in
3160500940
2014-10-29 11:05:54 -04:00
Eric Paris ecba9eed99 systemd example unit and environment files 2014-10-16 22:23:52 -04:00