This series of articles:
Chapter One:Nine analysis with you all the fun rancher - Installation Guide
Chapter II: nine analyze with you all the fun rancher - Import Cluster articles
Chapter 3: nine analyze with you all the fun rancher - Integrated gitlab
Chapter 4: nine analyze with you all the fun rancher - Integrated harbor
Chapter V: nine analyze with you all the fun rancher - line publishing
Chapter 6: nine analyze with you all the fun rancher - require 'docker login'
table of Contents
Description of the problem
2 Problem Solving
Description of the problem
When using the rancher release pipeline is due gitlab custom domain name (such as jiuxi.gitlab.com), resulting in the publishing process pipeline will always report DNS errors:
Could not resolve host: jiuxi.gitlab.com
2 Problem Solving
Positioning rancher coredns configmap where the project is generally System:
Select coredns configmap, select "Upgrade" menu:
Add Custom DNS records:
hosts {
10.110.101.100 jiuxi.harbor.org jiuxi.gitlab.com jiuxi.nexus.com
fallthrough
}
And then select the "workload":
Select "coredns":
Select coredns the pod, you can delete (coredns controller automatically rebuilds):
Since then, the pipeline custom domain relaxed after blasting.