code: func serviceName(name string) string {
  	aname := make([]byte, len(name))
  
  	for i, r := range []byte(name) {
  		if !labelRe.Match([]byte{r}) {
  			aname[i] = '_'
  			continue
  		}
  		aname[i] = r
  	}
  
  	return string(aname)
  }
docs: // serviceName generates a valid service name for k8s labels