Provide basic deployment instructions

This commit introduces a Dockerfile with some basic deployment
instructions, as well as a makefile for convinience.
This commit is contained in:
Solly Ross 2017-06-24 01:35:14 -04:00
parent 4dd94c3c85
commit 66cf5eaafb
4 changed files with 79 additions and 0 deletions

17
deploy/README.md Normal file
View file

@ -0,0 +1,17 @@
Example Deployment
==================
1. Make sure you've built the included Dockerfile with `make
docker-build`. The image should be tagged as `cm-adapter:latest`.
2. Create a secret called `cm-adapter-serving-certs` with two values:
`serving.crt` and `serving.key`. For more information on how to
generate these certificates, see the [auth concepts
documentation](https://github.com/kubernetes-incubator/apiserver-builder/blob/master/docs/concepts/auth.md)
in the apiserver-builder repository.
3. `kubectl create -f example-deployment.yaml`, modifying as necessary to
point to your prometheus server.