tencent cloud

Feedback

Supernodes Annotation Description

Last updated: 2022-05-24 10:51:56

You can specify annotations in a YAML file to implement capabilities of supernodes, such as custom DNS, as shown below:

Annotation Key Annotation Value and Description Required
eks.tke.cloud.tencent.com/resolv-conf Queries the list of IP addresses for the DNS server while resolving the domain name, for example nameserver 8.8.8.8.
You can use kubectl edit node eklet-subnet-xxxx to add this annotation.
After the modification, the Pods scheduled to this supernodes will adopt this DNS configuration by default.
No

Example

The example of a custom DNS configuration for a supernodes is as follows:

apiVersion: v1
kind: Node
metadata:
annotations:
  eks.tke.cloud.tencent.com/resolv-conf:|
    nameserver 4.4.4.4
    nameserver 8.8.8.8
 
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support