IBM Cloud Docs
VPC clusters: Security group protocol error creating or updating a LoadBalancer

VPC clusters: Security group protocol error creating or updating a LoadBalancer

Virtual Private Cloud

Creating or updating a LoadBalancer service in your VPC cluster fails with cluster event similar to the following.

error unmarshalling property 'security_groups' as []vpcv1.SecurityGroup: error unmarshalling property 'rules' as []vpcv1.SecurityGroupRuleIntf: unrecognized value for discriminator property 'protocol':

You can review cluster events by running the following commands.

kubectl get events -A | grep protocol
kubectl describe svc -A

These errors, as well as related problems with Ingress and Load Balancers, are caused by both of the following conditions being true

  • The cluster master being at an old patch version prior to the January 2026 patch.
  • A security group rule in your account that uses one of the newly introduced protocol options, including the new Any protocol option.

To solve this you need to do one of the following

  • Patch update your cluster master to at least the January 2026 patch
  • Remove any security group rules in your account that use one of the newly introduced protocol options
  • Change any rules that use the new protocols back to one of the older tcp, udp, icmp, or the combined tcp-udp-icmp protocol options

For more information, see Updating to the 2025-12-09 version security group and network ACL rules