class_docstr: Configuration builder for Kubernetes computation resources
class_docstr_tok: ["Configuration","builder","for","Kubernetes","computation","resources"]
code: def build(self):
      return {
          "cpu": str(self._cpu),
          "memory": str(int(self._memory)),
      }
  
imports: from urllib.parse import urlparse
  from ...utils import parse_readable_size, calc_size_by_str
  from ..kubernetes.config import ContainerEnvConfig
label_desc: Use image node_id 2 for calling the ResourceConfig obj's underlying member method code with example usage: obj.build() and returns: dict