DevOps teams are looking at Kubernetes Operator pattern to build their custom PaaSes. Kubernetes Operators add Custom Resources and offer foundation for creating application stacks as Code. Our Platform-as-Code practice offers tools and techniques to simplify building and managing these custom PaaSes.
Here is a sample workload on a cluster of two wordpress stacks. Wordpress pods depend on MySqlCluster Custom Resources.
Here is a visual representation of the complete resource relationship graph for one of the platform stacks.
This resource inventory and their inter-relationships can be discovered using following KubePlus kubectl commands:
# kubectl connections Service wordpress
# kubectl connections cr MysqlCluster cluster1
#kubectl metrics cr MysqlCluster cluster1
#kubectl metrics service wordpress
#kubectl metrics account <Service account>