2015-07-14 00:13:09 +00:00
|
|
|
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
|
|
|
|
|
|
|
|
<!-- BEGIN STRIP_FOR_RELEASE -->
|
|
|
|
|
2015-07-16 17:02:26 +00:00
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
2015-07-13 22:15:35 +00:00
|
|
|
|
2015-07-16 17:02:26 +00:00
|
|
|
<h2>PLEASE NOTE: This document applies to the HEAD of the source tree</h2>
|
2015-07-14 00:13:09 +00:00
|
|
|
|
2015-07-16 17:02:26 +00:00
|
|
|
If you are using a released version of Kubernetes, you should
|
|
|
|
refer to the docs that go with that version.
|
2015-07-14 00:13:09 +00:00
|
|
|
|
2015-12-14 18:37:38 +00:00
|
|
|
<!-- TAG RELEASE_LINK, added by the munger automatically -->
|
2015-07-16 17:02:26 +00:00
|
|
|
<strong>
|
2015-11-03 18:17:57 +00:00
|
|
|
The latest release of this document can be found
|
2016-03-09 02:06:40 +00:00
|
|
|
[here](http://releases.k8s.io/release-1.2/examples/kubectl-container/README.md).
|
2015-07-16 17:02:26 +00:00
|
|
|
|
|
|
|
Documentation for other releases can be found at
|
|
|
|
[releases.k8s.io](http://releases.k8s.io).
|
|
|
|
</strong>
|
|
|
|
--
|
2015-07-13 22:15:35 +00:00
|
|
|
|
2015-07-14 00:13:09 +00:00
|
|
|
<!-- END STRIP_FOR_RELEASE -->
|
|
|
|
|
|
|
|
<!-- END MUNGE: UNVERSIONED_WARNING -->
|
2015-06-01 23:59:16 +00:00
|
|
|
This directory contains a Dockerfile and Makefile for packaging up kubectl into
|
|
|
|
a container.
|
|
|
|
|
|
|
|
It's not currently automated as part of a release process, so for the moment
|
|
|
|
this is an example of what to do if you want to package kubectl into a
|
|
|
|
container/your pod.
|
|
|
|
|
|
|
|
In the future, we may release consistently versioned groups of containers when
|
|
|
|
we cut a release, in which case the source of gcr.io/google_containers/kubectl
|
|
|
|
would become that automated process.
|
|
|
|
|
|
|
|
```pod.json``` is provided as an example of packaging kubectl as a sidecar
|
|
|
|
container, and to help you verify that kubectl works correctly in
|
|
|
|
this configuration.
|
|
|
|
|
|
|
|
A possible reason why you would want to do this is to use ```kubectl proxy``` as
|
|
|
|
a drop-in replacement for the old no-auth KUBERNETES_RO service. The other
|
|
|
|
containers in your pod will find the proxy apparently serving on localhost.
|
|
|
|
|
|
|
|
|
2015-07-14 00:13:09 +00:00
|
|
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
2015-06-01 23:59:16 +00:00
|
|
|
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/kubectl-container/README.md?pixel)]()
|
2015-07-14 00:13:09 +00:00
|
|
|
<!-- END MUNGE: GENERATED_ANALYTICS -->
|