How - GSS on K8S? - bsfdeploy tool
Suresh Chintalapudi
Technology Entrepreneur | Solution Architect | Smart Grid | AI & IoT
As we discussed Preparing the Kubernetes cluster in the article earlier, let us review what we need to start the deployment. First, we need scripts to make our environment ready, like creating namespaces, secretes, certificates etc. and the deployment procedure to bring multiple k8s resources in sync for the solution to work.
?One essential tool that made the deployment process relatively easier is the BSFDEPLOY tool that GE delivers as part of the product releases after the 5.2.3 version. This tool makes our life easy by automating the process of creating/editing multiple files, creating various resources and kicking off the pods automatically.
?On a lighter note, if you feel the deployment process using bsfdeploy tool is clumsy, you have to try implementing the 5.2.2 version :)
?If you notice, after loading the tar files delivered as part of the GSS product, some images are directly related to products and some are named 'PDI'. These PDIs (Product Deploy Images) are needed to automate the deployment process combinedly with bsftool and have the steps to create multiple artefacts for the system. These images have helm charts configured inside to make all the Kubernetes resources needed for the GSS solution.
领英推荐
?The manifest (yaml) files we provide to bsftool (eg: bsfdeploy -a apply -i pdi_input_manifest.yaml) has all the parameters like PDI image to use, values to set to variables etc and those values determine the k8s resources to be created/deployed.?So, the PDI containers made by the bsfdeploy tool use input parameters given in the pdi manifest file, which in turn will be propagated into the manifest files of all resources and these manifest files will be saved to create/manage the resources like pods, pvcs etc.
?More details of bsftool are available in the GSS documentation, and if you wish to know what a PDI image does, you can get into a PDI container using --interactive option of bsftool when you run any deployment.