You cannot specify a security group for a Kubernetes cluster currently. However, when a Kubernetes cluster is created, Container Service for Kubernetes automatically creates the default security group. You can modify the rules of the default security group.