Hi Guangrong, The k8s plugin is used in DCAE blueprints. The plugin was introduced primarily to translate the tosca based blueprint spec into k8s yaml for deployment.
All the application configuration are contained in the blueprint (similar to R1). For R2, Holmes blueprints were updated to incorporate this plugin to support deployment under OOM. You can find them here Holmes rules blueprint<-%09https:/gerrit.onap.org/r/gitweb?p=dcaegen2/platform/blueprints.git;a=blob;f=blueprints/k8s-holmes-rules.yaml-template;h=0f7bff209bea115af2cb76d75829dc796f4ecc52;hb=HEAD>, Holmes Engine blueprint.<-%09https:/gerrit.onap.org/r/gitweb?p=dcaegen2/platform/blueprints.git;a=blob;f=blueprints/k8s-holmes-engine.yaml-template;h=129145d37f28696a0e6b45e0fdcb3b238070e743;hb=HEAD> Reg plugin documentation, Jack provided below; hope this helps. There’s a description of the plugin in the README.md file in the source repo. - (https://gerrit.onap.org/r/gitweb?p=dcaegen2/platform/plugins.git;a=blob;f=k8s/README.md;h=5b2d0da6bdf05e044650ef6fa5b64a31ea05ed0f;hb=HEAD). The type file has some descriptions of the elements that are needed in a blueprint: - https://gerrit.onap.org/r/gitweb?p=dcaegen2/platform/plugins.git;a=blob;f=k8s/k8s-node-type.yaml;h=13caffc0d7d06ef989c0152a12a3987f0b67bd9d;hb=HEAD The inputs to the blueprint come from a Helm chart. The input file templates are here: - https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/dcaegen2/charts/dcae-bootstrap/resources/inputs/k8s-holmes_engine-inputs.yaml;h=b83160213036cfef44cdd6609c5637db779986c1;hb=HEAD - https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/dcaegen2/charts/dcae-bootstrap/resources/inputs/k8s-holmes_rules-inputs.yaml;h=d1413fcdbd47c0be601b9fd5a7792be232dff42b;hb=HEAD During ONAP installation, Helm fills in the input file templates with actual values for the deployment and spins up our DCAE bootstrap container. The bootstrap container image includes the blueprints (for Holmes and everything else.) Helm mounts the input files into the bootstrap container’s file system. The bootstrap container does a number of operations to set up DCAE, including using Cloudify to deploy the Holmes containers using the blueprints and the input files that Helm mounted on the container. Thanks, Vijay From: Guangrong Fu <[email protected]> Sent: Thursday, August 02, 2018 9:37 PM To: VENKATESH KUMAR, VIJAY <[email protected]> Cc: onap-discuss <[email protected]> Subject: [dcae][holmes] Request for k8s-plugin Docs or Guidance Greetings Vijay, I'm writing to ask for some guidance or documents on dcae-k8s-plugin. We intended to deploy Holmes using this tool, but obviously, it's not finished in R2. Would you please direct us to the existing wiki pages on this or would you please share something with us via email? The information we need most at the moment is an introduction on how to develop the configuration file for the plugin and how to deploy/debug our configuration files. Thanks a ton in advance. Regards, Guangrong -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11669): https://lists.onap.org/g/onap-discuss/message/11669 Mute This Topic: https://lists.onap.org/mt/24150576/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
