Merge pull request #3 from kibbles-n-bytes/patches3 update README with testing and correct hosts/ports
Merge pull request #3 from kibbles-n-bytes/patches3
update README with testing and correct hosts/ports
This is an implementation of a service broker which runs in a Kubernetes cluster and deploys Kubernetes native resources only using Helm as the reifier.
This is not an official Google product.
A helm tiller running in the cluster.
Glide installed and in your path.
To install the dependencies, build the binaries, run the tests, and build the Docker images, run the following:
make init build test docker
To then push your images to a Google Cloud Project registry, run the following, where ${PROJECT_NAME} is the name of your GCP project:
${PROJECT_NAME}
PROJECT="${PROJECT_NAME}" make push
curl -X POST -d @- "${REGISTRY_HOST}:8001/services" <<__EOF__ { "name": "nginx", "id": "4179E70A-4641-49D5-B395-A8ACB1419BCA", "description": "Helm chart for running nginx", "plans": [ { "name": "nginx", "id": "696AD474-123F-474F-8FDB-C724C058CF03", "metadata": { "instanceType": "gs://helm-sb-test/nginx-0.0.1.tgz" } } ], "requires": [], "tags": [], "bindable":false } __EOF__
curl -X PUT -d @- "${BROKER_HOST}:8000/v2/service_instances/912ae324-2fb6-41ba-bddd-6f0a7e5239fa" <<__EOF__ { "service_id": "4179E70A-4641-49D5-B395-A8ACB1419BCA", "plan_id":"696AD474-123F-474F-8FDB-C724C058CF03" } __EOF__
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Service Broker
This is an implementation of a service broker which runs in a Kubernetes cluster and deploys Kubernetes native resources only using Helm as the reifier.
This is not an official Google product.
Prerequisites
A helm tiller running in the cluster.
Glide installed and in your path.
Building and deploying
To install the dependencies, build the binaries, run the tests, and build the Docker images, run the following:
To then push your images to a Google Cloud Project registry, run the following, where
${PROJECT_NAME}is the name of your GCP project:Add a service class’s Helm chart to the registry
Create an instance of it