Commit Graph

15772 Commits

Author SHA1 Message Date
David Walter
76bb6bbf12 change underscores to dashes to match the command line argument 2015-08-06 22:48:21 -05:00
David Walter
792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
Dawn Chen
d04fce045e Merge pull request #12279 from eparis/use-pflags-string-slice
Use pflags string slice instead of internal util.StringList
2015-08-06 18:01:53 -07:00
Dawn Chen
8cd7431b3d Merge pull request #12366 from GoogleCloudPlatform/container-vm-v20150806
Update GCE to container-vm-v20150806
2015-08-06 16:31:52 -07:00
Dawn Chen
2be69e7718 Merge pull request #12325 from brendandburns/supervisord
Add support for supervisord as a monit alternative.
2015-08-06 16:16:35 -07:00
Eric Paris
7cbb52ce04 Use the pflag StringSlice instead of implementing it ourselves
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Eric Paris
76896bf244 Regen docs with new pflags
This basically just shows in the docs that the =false portion of
booleans are optional.
2015-08-06 19:16:13 -04:00
Eric Paris
3fe85d46ff Update godeps for cobra and pflags 2015-08-06 19:15:14 -04:00
Dawn Chen
02eb68aa0b Merge pull request #12356 from ixdy/retry-gsutil-upload
Handle errors properly in kube::gcs::release functions
2015-08-06 16:12:27 -07:00
Dawn Chen
9af5d8bd23 Merge pull request #12305 from GoogleCloudPlatform/puller
Exit if hub isn't installed, add verbiage to message.
2015-08-06 16:08:30 -07:00
Dawn Chen
256eeeda2b Merge pull request #12291 from derekwaynecarr/resource_quota_requests
Update resource quota design to align with requests and limits
2015-08-06 16:07:42 -07:00
Dawn Chen
122d76a2ef Merge pull request #11820 from liggitt/reuse_round_tripper
Reuse round tripper for identical TLS configurations
2015-08-06 16:04:02 -07:00
Dawn Chen
7a95f71aeb Merge pull request #11801 from AnanyaKumar/daemon-api
Add Daemon API
2015-08-06 15:57:17 -07:00
Brendan Burns
15b9d98733 Add support for supervisord as a monit alternative. 2015-08-06 15:48:45 -07:00
Zach Loafman
5ea2bfaa1b Update GCE to container-vm-v20150806
Also changes the node image to default to master image
2015-08-06 15:36:39 -07:00
Dawn Chen
5fff8e935e Merge pull request #12319 from mbforbes/nodesNetworkRedux
Implement 'Nodes Network' test for GKE; add optional verbose SSH.
2015-08-06 15:30:13 -07:00
Dawn Chen
2fa3004500 Merge pull request #12349 from roberthbailey/kubelet-on-master
Register the kubelet on the master node with an apiserver.
2015-08-06 15:20:35 -07:00
Jordan Liggitt
5ec4909610 Reuse round tripper for identical TLS configurations 2015-08-06 17:51:31 -04:00
Max Forbes
acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07:00
Robert Bailey
8df33bc1a7 Register the kubelet on the master node with an apiserver. This option is
separated from the apiserver running locally on the master node so that it
can be optionally enabled or disabled as needed.

Also, fix the healthchecking configuration for the master components, which
was previously only working by coincidence:

If a kubelet doesn't register with a master, it never bothers to figure out
what its local address is. In which case it ends up constructing a URL like
http://:8080/healthz for the http probe. This happens to work on the master
because all of the pods are using host networking and explicitly binding to
127.0.0.1. Once the kubelet is registered with the master and it determines
the local node address, it tries to healthcheck on an address where the pod
isn't listening and the kubelet periodically restarts each master component
when the liveness probe fails.
2015-08-06 13:39:32 -07:00
AnanyaKumar
d9b85652ae Add Daemon API 2015-08-06 13:15:19 -07:00
Dawn Chen
9f495e7f69 Merge pull request #12277 from gmarek/node_delete
Correctly handle Node deletion in NodeController
2015-08-06 13:02:44 -07:00
Dawn Chen
c1c03bb4ca Merge pull request #12139 from kargakis/avoid-reallocs-in-index
cache: Avoid reallocs in Index
2015-08-06 13:00:02 -07:00
Dawn Chen
e45493ecc2 Merge pull request #11995 from pat2man/non_root_cassandra
Adjust permissions so that Cassandra can run without root access
2015-08-06 12:57:48 -07:00
Dawn Chen
da97a3e3c4 Merge pull request #10636 from smarterclayton/cleaner_kubelet_init
Split kubelet server initialization for easier reuse
2015-08-06 12:56:10 -07:00
Jeff Grafton
67b10ac222 Handle errors properly in kube::gcs::release functions 2015-08-06 12:36:08 -07:00
Dawn Chen
0d1f2cd227 Merge pull request #12075 from Huawei-PaaS/issue_ubuntu_cluster
Remove legacy files when stop the cluster
2015-08-06 10:54:21 -07:00
Dawn Chen
536313c82c Merge pull request #9472 from deads2k/expose-name-validation
expose common name validation methods
2015-08-06 10:51:51 -07:00
Dawn Chen
2abf5dfb1f Merge pull request #10498 from thockin/hostport-to-service
Fix leaking process in hostport proxy
2015-08-06 10:50:44 -07:00
Dawn Chen
5175bb0b91 Merge pull request #10608 from stefwalter/proxy-unix-socket
kubectl: Add proxy --unix-socket=/file/path option
2015-08-06 10:47:19 -07:00
Dawn Chen
d855049adc Merge pull request #9938 from stevekuznetsov/skuznets/openshift-origin-example
Implementing standalone etcd for OpenShift Origin Example
2015-08-06 10:44:39 -07:00
Dawn Chen
ed4863f1cf Merge pull request #12264 from Huawei-PaaS/iss_ubuntu_docker_opts
bug fix: DOCKER_OPTS not works when deploying using Ubuntu scripts
2015-08-06 10:18:16 -07:00
Kevin
bc2306d4e9 bug fix: DOCKER_OPTS not works
When deploying the kubernetes using Ubuntu's script, the value of configuration item `DOCKER_OPTS` is not set to `/etc/default/docker`.
This commit is to fix this bug.
2015-08-06 16:50:44 +00:00
Brendan Burns
1407aee8b0 fix invalid flag --insecure-bind-address to --address 2015-08-06 09:25:17 -07:00
Clayton Coleman
bb79365e2a Split kubelet server initialization into two parts
First is initializing a KubeletConfig that starts no background
processes. Second is running the config. Provide a legacy path
that won't impact older callers while making it easier to customize
the interfaces passed to the Kubelet.

Used by OpenShift to inject some custom interfaces to the Kubelet
for config management.
2015-08-06 09:59:58 -04:00
Steve Kuznetsov
ea3998e981 Implementing standalone etcd for openshift 2015-08-06 09:42:11 -04:00
Wojciech Tyczynski
5b216d8a51 Merge pull request #12328 from pmorie/sc-typo
Fix typo in security context proposal
2015-08-06 15:27:45 +02:00
Wojciech Tyczynski
4244a7cb2f Merge pull request #12296 from erictune/troubleshooting
Troubleshooting for misplaced/misspelled fields
2015-08-06 15:20:46 +02:00
gmarek
819777e9e8 Correctly handle Node deletion in NodeController 2015-08-06 15:17:44 +02:00
Jian Huang
7b5a6e906e Remove kubelet files for a clean teardown
Remove /var/lib/kubelet folder in order to gain a more clean environment
2015-08-06 21:16:13 +08:00
Wojciech Tyczynski
027f9cb9dd Merge pull request #12343 from wojtek-t/fix_head
Fix build in head
2015-08-06 14:18:18 +02:00
Wojciech Tyczynski
fcc78cd0f3 Fix head 2015-08-06 13:57:23 +02:00
Wojciech Tyczynski
29aaf1a4d2 Merge pull request #12168 from brendandburns/stdin2
Support Stdin and TTY in the kubelet
2015-08-06 13:45:59 +02:00
Wojciech Tyczynski
e366f2c597 Merge pull request #12206 from derekwaynecarr/move_doc
LimitRange documentation should be under admin
2015-08-06 13:43:58 +02:00
Wojciech Tyczynski
79684af47b Merge pull request #12241 from uluyol/clientexp
Add experimental client
2015-08-06 13:43:06 +02:00
Wojciech Tyczynski
4c42e1302d Merge pull request #12190 from piosz/heapster-version
Bumped Heapster version
2015-08-06 12:00:39 +02:00
Stef Walter
cd4f0b43ef test: End to end test for kubectl proxy --unix-socket 2015-08-06 11:56:48 +02:00
Stef Walter
f6da3fdbe1 kubectl: Add proxy --unix-socket=/file/path option
Proxies on a TCP port are accessible outside the current security
context (eg: uid). Add support for having the proxy listen on a
unix socket, which has permissions applied to it.

We make sure the socket starts its life only accessible by the
current user using Umask.

This is useful for applications like Cockpit and other tools which
want the help of kubectl to handle authentication, configuration and
transport security, but also want to not make that accessible to
all users on a multi-user system.
2015-08-06 11:56:47 +02:00
Stef Walter
cd30bd6167 util: Add util.Umask wrapper
This function compiles to a stub on Windows.
2015-08-06 11:39:29 +02:00
Marek Grabowski
77675b052d Merge pull request #12301 from derekwaynecarr/fix_systemd_salt
Fix salt configuration on systemd setups
2015-08-06 11:36:27 +02:00