Changing the Default NodeLocal DNSCache Port
NodeLocal DNSCache defaults to using port 8080 on the host node, but this can cause conflicts with other services sharing the same port. This section describes how to change the default NodeLocal DNSCache port.
- Log in to the CCE console and click the cluster name to access the cluster console.
- Choose Add-ons in the navigation pane, find the NodeLocal DNSCache add-on on the right, and click Install. If this add-on has been installed in the cluster, click Edit.
- On the displayed page, configure parameters and click Installation Using YAML in the upper part of the page. If this add-on has been installed in the cluster, click Edit YAML.
To simplify configuration, configure other parameters on the console, and then change the port number in the YAML file. For more information about other parameters, see NodeLocal DNSCache.
- Configure both parameters to the specified port number, ensuring they have the same value.
- Search for the healthPort parameter and change its value to a specified port number, for example, 8081.
- Search for the cluster.local parameter and change the value of port in the array to the specified port number, for example, 8081.
- Search for the healthPort parameter and change its value to a specified port number, for example, 8081.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot