38 lines
1.5 KiB
Markdown
38 lines
1.5 KiB
Markdown
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
|
|
|
|
<!-- BEGIN STRIP_FOR_RELEASE -->
|
|
|
|
<h1>*** PLEASE NOTE: This document applies to the HEAD of the source
|
|
tree only. If you are using a released version of Kubernetes, you almost
|
|
certainly want the docs that go with that version.</h1>
|
|
|
|
<strong>Documentation for specific releases can be found at
|
|
[releases.k8s.io](http://releases.k8s.io).</strong>
|
|
|
|
<!-- END STRIP_FOR_RELEASE -->
|
|
|
|
<!-- END MUNGE: UNVERSIONED_WARNING -->
|
|
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.
|
|
|
|
|
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
|
[]()
|
|
<!-- END MUNGE: GENERATED_ANALYTICS -->
|