Kubernetes provider for Konveyor analyzer.
The Kubernetes provider requires some details to be provided in the providerSpecificConfig portion of its entry in the
analyzer's provider configuration file. The rulesets are written assuming the provider is registered with the analyzer as k8s.
kubeconfig: base64-encoded kubeconfig for the cluster that is to be analyzednamespaces: an array of namespaces that should be analyzedgroupVersionKinds: an array of objects representing GroupVersionKinds to be collected from the cluster and processed.- Each object in the array must have the fields
group,versionandkind.
- Each object in the array must have the fields
- Build the provider gRPC server with
make serveand start it with./bin/serve --port <port>. - Add an entry for the
k8sprovider to the analyzer's provider config file. (see the above section on provider specific config) - Run
konveyor-analyzerwith the provider config you wrote and with--rulespointing at therules/bestpracticesruleset in this repository.
Refer to Konveyor's Code of Conduct here.