Closed dabooz closed 3 years ago
KC doc on how to create a kube operator: https://ibm.ent.box.com/notes/658454881571
testing operator: https://github.ibm.com/booz/kube-operator
Content for this page: https://www-03preprod.ibm.com/support/knowledgecenter/SSFKVV_4.1/devices/developing/creating_hello_world.html
In order to deploy a containerized edge service to an edge cluster, a software developer first has to build a Kubernetes Operator that deploys the containerized edge service in a Kubernetes cluster. In the following example you will learn more about writing operators and how use one to deploy an edge service to a cluster (in this case ibm.helloworld
), and learn how you can pass horizon environment variables (in addition to any other environment variables needed) to your deployed service pods.
See Creating your own Hello World cluster service (LINK: https://github.com/open-horizon/examples/tree/master/edge/services/operator)
To run the ibm.operator
service see Using the Operator Example Edge Service with Deployment Policy (LINK: https://github.com/open-horizon/examples/tree/master/edge/services/operator/CreateService.md
I incorporated the K content and sent to Troy (links prob don't work yet). https://www-03preprod.ibm.com/support/knowledgecenter/SSFKVV_4.1/devices/developing/creating_hello_world.html
Initial material here: https://ibm.ent.box.com/notes/622995576630 for creating an operator We will need more material describing the hzn side. We need both a sample and the doc on how to create the sample.