code: func (c *Client) getSelectRelationPod(info *resource.Info, objPods map[string][]v1.Pod) (map[string][]v1.Pod, error) {
  	if info == nil {
  		return objPods, nil
  	}
  
  	c.Log("get relation pod of object: %s/%s/%s", info.Namespace, info.Mapping.GroupVersionKind.Kind, info.Name)
  
  	versioned := asVersioned(info)
  	selector, ok := getSelectorFromObject(versioned)
  	if !ok {
  		return objPods, nil
  	}
  
  	client, _ := c.KubernetesClientSet()
  
  	pods, err := client.CoreV1().Pods(info.Namespace).List(metav1.ListOptions{
  		LabelSelector: labels.Set(selector).AsSelector().String(),
  	})
  	if err != nil {
  		return objPods, err
  	}
  
  	for _, pod := range pods.Items {
  		vk := "v1/Pod"
  		if !isFoundPod(objPods[vk], pod) {
  			objPods[vk] = append(objPods[vk], pod)
  		}
  	}
  	return objPods, nil
  }
docs: //get a kubernetes resources' relation pods
  // kubernetes resource used select labels to relate pods