Commit Graph

3644 Commits

Author SHA1 Message Date
Eric Tune
618a367dbb Kubelet talks securely to apiserver.
Configure apiserver to serve Securely on port 6443.
Generate token for kubelets during master VM startup.
Put token into file apiserver can get and another file the kubelets can get.
Added e2e test.

(cherry picked from commit 46dcacfa93)
2014-11-18 12:27:50 -08:00
Matt Moore
675d82cd93 Implements a credentialprovider library for use by DockerPuller.
This change refactors the way Kubelet's DockerPuller handles the docker config credentials to utilize a new credentialprovider library.

The credentialprovider library is based on several of the files from the Kubelet's dockertools directory, but supports a new pluggable model for retrieving a .dockercfg-compatible JSON blob with credentials.

With this change, the Kubelet will lazily ask for the docker config from a set of DockerConfigProvider extensions each time it needs a credential.

This change provides common implementations of DockerConfigProvider for:
 - "Default": load .dockercfg from disk
 - "Caching": wraps another provider in a cache that expires after a pre-specified lifetime.

GCP-only:
 - "google-dockercfg": reads a .dockercfg from a GCE instance's metadata
 - "google-dockercfg-url": reads a .dockercfg from a URL specified in a GCE instance's metadata.
 - "google-container-registry": reads an access token from GCE metadata into a password field.

(cherry picked from commit 0c5d9ed0d2)
2014-11-18 12:24:29 -08:00
Brendan Burns
e2e1c87ae0 Add the 0.5 release. 2014-11-17 15:01:09 -08:00
Brendan Burns
f385f4415d Merge pull request #2397 from ddysher/node-label
Support node label update
2014-11-17 14:57:55 -08:00
Brendan Burns
6fa798c4db Merge pull request #2423 from bgrant0607/docfix
Documentation improvements. Fixes #2004, #2115, #2171.
2014-11-17 14:03:29 -08:00
Brian Grant
d5700eac35 Documentation improvements. Fixes #2004, #2115, #2171. 2014-11-17 21:32:44 +00:00
Joe Beda
f0fce55e4b Merge pull request #2421 from abhgupta/abhgupta-dev
Fixing systemd service files to point to correct config/executors
2014-11-17 13:02:46 -08:00
Abhishek Gupta
65a4041d26 Fixing systemd service files to point to correct config/executors 2014-11-17 12:24:10 -08:00
Daniel Smith
eeb4547bec Merge pull request #2392 from dchen1107/upstream1
Generate container related events from kublet
2014-11-17 11:28:52 -08:00
Joe Beda
06bf2ae2e4 Merge pull request #2419 from jbeda/fix-teardown
Fix breakage when bringing down cluster.
2014-11-17 11:27:24 -08:00
Joe Beda
7b5a77c56c Fix breakage when bringing down cluster. 2014-11-17 11:26:25 -08:00
Eric Tune
65c7970465 Update development.md
It looks like magic incantation `hack/e2e-test.sh 1 1 1` is not longer supported.
2014-11-17 11:20:31 -08:00
Dawn Chen
736c4ffb0b more events from kublet 2014-11-17 11:00:46 -08:00
Deyuan Deng
c20ceea170 Add more validation for updating node. 2014-11-17 13:42:31 -05:00
Deyuan Deng
cc310e0e71 Support node label update. 2014-11-17 13:42:31 -05:00
Brendan Burns
37d2bab7ed Merge pull request #2414 from hodduc/fix-aws-doc
Fix download link in aws/kubecfg documentation
2014-11-17 10:41:26 -08:00
Joe Beda
5b9bb1ff6f Merge branch 'eparis-rename-to-kube'
* eparis-rename-to-kube:
  rename kube server binaries to kube-
2014-11-17 09:55:11 -08:00
Brendan Burns
88fa703b8e Merge pull request #2417 from thockin/ipalloc
Cleanups of ipv6 changes.
2014-11-17 09:54:16 -08:00
Brendan Burns
acfdefe3b4 Merge pull request #2242 from eparis/bash-comp
bash completion update
2014-11-17 09:52:15 -08:00
Joe Beda
66d287f7e4 Merge branch 'rename-to-kube' of https://github.com/eparis/kubernetes into eparis-rename-to-kube
* 'rename-to-kube' of https://github.com/eparis/kubernetes:
  rename kube server binaries to kube-

Conflicts:
	docs/salt.md
2014-11-17 09:52:10 -08:00
Brendan Burns
f05c4a69e8 Merge pull request #2326 from marianitadn/read-json-directories-as-object-streams
Add directory as option for createall command
2014-11-17 09:50:57 -08:00
Brendan Burns
5fc485f0bc Merge pull request #2374 from serialx/master
Add missing Kubernetes proxy daemon to AWS CloudFormation template.
2014-11-17 09:48:59 -08:00
Brendan Burns
271ed1c21e Merge pull request #2394 from ddysher/random-fix
Exclude service itself when checking conflict.
2014-11-17 09:47:58 -08:00
Brendan Burns
6422b87a35 Merge pull request #2415 from hodduc/add-udp-ingress
Add SecurityGroupIngress on AWS CF template to allow UDP packets.
2014-11-17 09:47:38 -08:00
Brendan Burns
5d8e62c287 Merge pull request #2416 from darkgaro/phpclient
added php client library reference
2014-11-17 09:44:16 -08:00
Brendan Burns
403e57be09 Merge pull request #2404 from jbeda/fix-nogo-build
Make dockerized build work when golang isn't installed.
2014-11-17 09:43:08 -08:00
Brendan Burns
51a7e4b113 Merge pull request #2405 from jbeda/heapster-fixes
Fix up formatting and sed usage for heapster deploy.
2014-11-17 09:42:16 -08:00
Tim Hockin
9c218f0a19 Cleanups of ipv6 changes.
I was late re-reviewing and some comments did not get resolved.
2014-11-17 09:33:14 -08:00
Victor Marmol
6908c9ca4a Merge pull request #2407 from eparis/cadvisor-0.5.0
Cadvisor 0.5.0
2014-11-17 08:53:36 -08:00
darkgaro
989588f015 added php client library reference 2014-11-17 16:44:36 +00:00
Joonsung Lee
e3ddd59344 Add SecurityGroupIngress on AWS CF template to allow UDP packets. 2014-11-17 22:11:49 +09:00
Junseong Lee
ac40cb6d74 Fix download link in aws/kubecfg documentation
Kubecfg's download link on Darwin and Linux are points to http://storage.googleapis.com/k8s/darwin/kubecfg .
Later one should be changed to http://storage.googleapis.com/k8s/linux/kubecfg .
2014-11-17 22:01:18 +09:00
Eric Paris
38cb10e89d update to cAdvisor 0.5.0 2014-11-16 21:52:08 -05:00
Eric Paris
630acf221c alias cadvisor/client to cadvisor
cadvisor 0.5.0 changes the package from cadvisor to client.  Which of
course conflicts with our own client.  Alias it back to cadvisor.
2014-11-16 21:44:34 -05:00
Joe Beda
931cd3a2df Merge pull request #2403 from shaicoleman/kubernetes-local-doc-fix
Added KUBERNETES_PROVIDER instructions Getting started locally
2014-11-16 17:34:07 -08:00
Joe Beda
c82bd2127f Fix up formatting and sed usage for heapster deploy.
Also, 'sed -i' isn't supported well across BSD and GNU versions of sed.  See http://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux.  And we were editing files that were checked in to git with a password.  Instead, do this with class sed redirection in a temp dir.

Fixes #2400.
2014-11-16 17:13:02 -08:00
Joe Beda
894cfac765 Merge pull request #2399 from brendandburns/guestbook
Update guestbook to fix given recent changes.
2014-11-16 16:32:26 -08:00
Joe Beda
f18cd53687 Make dockerized build work when golang isn't installed. 2014-11-16 16:29:58 -08:00
Shai Coleman
ef72c4ca1d Added KUBERNETES_PROVIDER instructions Getting started locally 2014-11-16 22:41:27 +00:00
Brendan Burns
c38880047d Update guestbook to fix given recent changes. 2014-11-15 19:36:02 -08:00
Johan Euphrosine
ccc8bc8289 Merge pull request #1960 from jhadvig/podex_readme
update Podex README
2014-11-15 14:27:03 -08:00
Deyuan Deng
241f3d702b Exclude service itself when checking conflict. 2014-11-15 10:40:40 -05:00
Tim Hockin
eafdc684e9 Merge pull request #1922 from brendandburns/guestbook
Update the services now that Services v2 has IP per service.
2014-11-14 21:13:19 -08:00
Tim Hockin
e987f11838 Merge pull request #2319 from brendandburns/external
Externalized services v2
2014-11-14 21:01:19 -08:00
Daniel Smith
29b73cc4b5 Merge pull request #2389 from satnam6502/kubectl
Make the output of kubectl.sh narrower
2014-11-14 17:33:20 -08:00
Dawn Chen
eb14ba9396 Merge pull request #2390 from ddysher/random-fix
Use Service.Name for validation error.
2014-11-14 17:27:47 -08:00
Dawn Chen
8a508bcce3 Merge pull request #2391 from lavalamp/fix3
Remove confusing function; add TODO and explanation for (nonfatal) error...
2014-11-14 17:24:18 -08:00
Brendan Burns
4a8a2b5a9f Address comments. 2014-11-14 17:23:13 -08:00
Daniel Smith
e4eb6149f8 Merge pull request #2383 from brendandburns/fix
Fix service e2e test, by eliminating the assumption that ips are re-used
2014-11-14 17:22:50 -08:00
Brendan Burns
97001e317b Fix service e2e test, by eliminating the assumption that ips are re-used. 2014-11-14 17:22:01 -08:00