ACS restricts certain Kubernetes Service configurations based on the product positioning and architecture of ACS. These restrictions apply only when you create or modify Services using Kubernetes-native APIs. Creating Services through the ACS console is not affected.
If you configure restricted fields through Kubernetes-native APIs, the Service may not function as expected.
Restricted fields
NodePort Services
The following NodePort-related fields are not supported:
| Restricted field | Behavior |
|---|---|
.spec.type == NodePort | Cannot configure. |
.spec.HealthCheckNodePort | Cannot configure. |
.spec.allocateLoadBalancerNodePorts == true | Cannot configure. |
.spec.ports[].nodePort | Cannot configure. |
.spec.loadBalancerSourceRanges | Cannot configure. |
.spec.externalTrafficPolicy != Cluster | Cannot configure. |
.spec.internalTrafficPolicy != Cluster | Cannot configure. |
ExternalIP
| Restricted field | Behavior |
|---|---|
.spec.externalIPs | Cannot specify. |
Troubleshoot
If your Service does not function as expected, check the Service field configurations against the tables above and correct any restricted fields.
If the issue persists after correcting the field configurations, submit a ticket.
该文章对您有帮助吗?