private RuleData createRuleData(final Map<String, String> metadataAnnotations, final List<ConditionData> ruleConditionList, final Map<String, String> annotations) {
        GrpcRuleHandle grpcRuleHandle = new GrpcRuleHandle();
        if (Objects.nonNull(annotations)) {
            grpcRuleHandle.setLoadBalance(annotations.getOrDefault(IngressConstants.LOADBALANCER_ANNOTATION_KEY, "random"));
        }
        return RuleData.builder()
                .name(metadataAnnotations.get(IngressConstants.PLUGIN_GRPC_PATH))
                .pluginName(PluginEnum.GRPC.getName())
                .matchMode(MatchModeEnum.AND.getCode())
                .handle(GsonUtils.getInstance().toJson(grpcRuleHandle))
                .conditionDataList(ruleConditionList)
                .loged(true)
                .enabled(true)
                .build();
    }
Parse ingress to ShenyuMemoryConfig.

@param ingress   ingress resource
@param coreV1Api coreV1Api
@return ShenyuMemoryConfig
shenyu-kubernetes-controller/src/main/java/org/apache/shenyu/k8s/parser/GrpcParser.java