Commit Graph

8 Commits

Author SHA1 Message Date
derekwaynecarr
e62c47db8c Update kube-apiserver unit files for systemd 2015-07-28 14:36:56 -04:00
Eric Paris
28ac1b3395 API server explicitly notify systemd of successful startup
Use the systemd $NOTIFY_SOCKET convention for kube-apiserver
startup. This allows it to be part of dependency trees and for
consumers to wait until it is listening on its ports.

The $NOTIFY_SOCKET protocol is described here:

http://www.freedesktop.org/software/systemd/man/sd_notify.html

Currently this is limited to the kube-apiserver process. Other
kube processes are internal kubernetes moving points. The API
server is the entry point relied on by callers.

100% stolen from Stef Walter from:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8316
2015-05-28 15:59:26 -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
2093610e5f Update file limits from testing 2015-03-03 08:25:31 -06: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
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
Eric Paris
ecba9eed99 systemd example unit and environment files 2014-10-16 22:23:52 -04:00