Error in k8s: Could not resolve host: group.cmc; name or service not known
1. Request the container group in the K8s to request the container group error: Could not resolve host: group.cmc; name or service not known. Unable to resolve host: group.cmc; name or service is unknown. as shown in Figure 1
2. Request a static text file in the GROUP container in the container API, and the request is successful. Description The group.cmc container itself can be connected. as shown in Figure 2
[root@api-5c84888d48-77sxj web]# curl http://group.cmc/robots.txt
User-agent: *
3. Finally, it is found that the problem of the container API itself is re-selected in the Label Expression of Jenkins, and then the image is built. After the upgrade, no errors are reported. as shown in Figure 3


