检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Figure 2 Kubernetes cluster architecture Master node A master node is the machine where the control plane components run, including the API server, scheduler, controller manager, and etcd. API server: a transit station for components to communicate with each other.
(request) print(response) except exceptions.ClientRequestException as e: print(e.status_code) print(e.request_id) print(e.error_code) print(e.error_msg) Bind the public API server address to a cluster. 1 2 3 4 5 6 7 8 9 10 11 12
Check whether the cluster network kernel component is abnormal (container tunnel network model: openswitch kernel component; VPC network model: ipvlan kernel component).
API & kubectl Why Is "Error from server (Forbidden)" Displayed When I Use kubectl? Image Repository How Do I Create a Docker Image and Solve the Problem of Slow Image Pull?
and a maximum of 50 worker nodes) - cce.dec.s1.medium: a medium-scale DeC CCE cluster with one control plane node and a maximum of 200 worker nodes) - cce.dec.s1.large: a large-scale DeC CCE cluster with one control plane node and a maximum of 1,000 worker nodes) - cce.dec.s1.xlarge
Table 1 Cluster configuration parameters Category Description API server (kube-apiserver) Control resource scheduling, manage requests, ensure security, and toggle feature statuses to maintain efficient cluster operation and proper resource allocation.
CBR cloud server backup Master node disks, including component images, configurations, logs, and etcd data One-click backup on a web page (manually triggered) 20 minutes to 2 hours (based on the cloud backup tasks in the current region) 20 minutes This function is gradually replaced
The remaining period is calculated as follows: Remaining period = 12 (Remaining days in April)/30 (Maximum number of days in April) + 8 (Remaining days in May)/31 (Maximum number of days in May) = 0.6581 Specifications modification price = (551.46 - 285.66) x 0.6581 = $174.92 USD
Options: N/A Default value: N/A customSan Array of strings Details: Custom Subject Alternative Name (SAN) in the server certificate of a cluster API server, which must comply with the SSL and X509 standard formats Constraints: Duplicate names are not allowed.
When a node fails to upgrade or restarts after the master node has been successfully upgraded, it is likely to enter the NotReady state.
CBR cloud server backup Master node disks, including component images, configurations, logs, and etcd data One-click backup on a web page (manually triggered) 20 minutes to 2 hours (based on the cloud backup tasks in the current region) 20 minutes This function is gradually replaced
You are advised to harden the inbound rule of port 5443 for the master node security group. For details, see How Can I Configure a Security Group Rule in a Cluster? This operation will restart kube-apiserver and update the cluster access certificate (kubeconfig).
Click New Node on the left, enter the node name fixed-agent (which can be customized), and select Permanent Agent for Type. Specify the following node information: Number of executors: The default value is 1. Set this parameter as required.
Options: N/A Default value: N/A customSan Array of strings Details: Custom Subject Alternative Name (SAN) in the server certificate of a cluster API server, which must comply with the SSL and X509 standard formats Constraints: Duplicate names are not allowed.
For example: # client-go Code example for obtaining pods in a specified namespace k8sClient.CoreV1().Pods("<your-namespace>").List(metav1.ListOptions{}) # kubectl Command example for obtaining pods in a specified namespace kubectl get pods -n <your-namespace> Use the more efficient
It has the following advantages: Model-aware routing: Traffic can be distributed based on HTTP path matching as well as service attributes such as model names, model versions, and Low-Rank Adaptation (LoRA).
all service containers in the pod × 100% (Total CPU cores of the node will be used if no limits are configured.)
The details of installed add-ons include the add-on name (addonTemplateName), version (version), status (status), and whether node pool scaling is supported (supportNodePoolScaleGroup).
Only ECS-VM or ECS-physical server (c6.22xlarge.4.physical or c7.32xlarge.4.physical) supports IPv4/IPv6 dual-stack. Worker nodes and master nodes in Kubernetes clusters use IPv4 addresses to communicate with each other.
Parameter Example Description Node Type Elastic Cloud Server (VM) Select a node type based on service requirements. The available node flavors will then be displayed in the Specifications area for you to choose from.