不支持修改已部署集群的ip,需要重新部署
好,感谢!!
jingdan专家您好:
1、我是在Docker中部署的。
2、如何添加proxy:原生代码看不太懂,也不知道怎么加的。
3、部署指定ip:文档说是“手动部署”,是不是指在Linux系统上部署?
可否加下微信601026166更进一步的指导。感谢!
不胜感激!!
技术专家您好:不太忙的时候,抽时间帮忙指导一下吧,还没解决呢,感谢!!
部署指定ip:文档说是“手动部署”,是不是指在Linux系统上部署?
可否加下微信601026166更进一步的指导。感谢!不胜感激!!
你好:部署在Docker之前,在打StarRocks镜像时,把fe的IP地址配置一下,可以解决“be的ip127.0.0.1”的问题吗?谢谢!!
StarRocks技术专家您好:proxy如何添加?请尽量详细指导一下步骤。感谢!!
使用yaml部署:
kubectl apply -f D:\Linux\StarRocks3.3\deploy_a_starrocks_cluster_with_fe_proxy.yaml
提示:error: resource mapping not found for name: “a-starrocks-with-fe-proxy” namespace: “” from “D:\Linux\StarRocks3.3\deploy_a_starrocks_cluster_with_fe_proxy.yaml”: no matches for kind “StarRocksCluster” in version “starrocks.com/v1”
ensure CRDs are installed first
Docker Desktop K8S版本v1.30.2,StarRocks版本v3.2.8。
docker-compose -f D:\Linux\StarRocks3.3\deploy_a_starrocks_cluster_with_fe_proxy.yaml up
validating D:\Linux\StarRocks3.3\deploy_a_starrocks_cluster_with_fe_proxy.yaml: (root) Additional property apiVersion is not allowed
运行:kubectl apply -f D:\Linux\StarRocks3.3\deploy_a_starrocks_cluster_with_fe_proxy.yaml:
This manifest deploys a StarRocks cluster with FE, BE, FE Proxy
To load data from outside the Kubernetes cluster into StarRocks deployed within the Kubernetes
cluster, you can deploy the FE Proxy component. So that External data import tools, like flink,
can use the STREAM LOAD syntax to import data into StarRocks clusters.
see https://docs.starrocks.io/docs/loading/Flink-connector-starrocks/ for more information
about how to use flink to import data into StarRocks.
apiVersion: starrocks.com/v3.2.8
kind: StarRocksCluster
metadata:
name: starrockswithfebeproxy # change the name if needed.
spec:
starRocksFeSpec:
image: starrocks/allin1-ubuntu:latest
replicas: 3
limits:
cpu: 8
memory: 16Gi
requests:
cpu: 8
memory: 16Gi
service:
type: NodePort # export fe service
ports:
- name: query # fill the name from the fe service ports
nodePort: 32755
port: 9030
containerPort: 9030
starRocksBeSpec:
image: starrocks/allin1-ubuntu:latest
replicas: 3
limits:
cpu: 16
memory: 64Gi
requests:
cpu: 16
memory: 64Gi
starRocksFeProxySpec:
replicas: 1
limits:
cpu: 1
memory: 2Gi
requests:
cpu: 1
memory: 2Gi
service:
type: NodePort # export fe proxy service
ports:
- name: http-port # fill the name from the fe proxy service ports
containerPort: 8080
nodePort: 30180 # The range of valid ports is 30000-32767
port: 8080
resolver: “kube-dns.kube-system.svc.cluster.local” # this is the default dns server.
提示:error: resource mapping not found for name: “starrockswithfebeproxy” namespace: “” from “D:\Linux\StarRocks3.3\deploy_a_starrocks_cluster_with_fe_proxy.yaml”: no matches for kind “StarRocksCluster” in version “starrocks.com/v3.2.8”
ensure CRDs are installed first
docker pull starrocks/fe-ubuntu:3.2.8
docker pull starrocks/be-ubuntu:3.2.8
一直失败:What’s next:
View a summary of image vulnerabilities and recommendations → docker scout quickview starrocks/fe-ubuntu:3.2.8
Error response from daemon: Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
技术专家您好:最近一周了,拉取镜像一直超时,拉取不了,请指导一下,或镜像共享一下。感谢!!
docker pull starrocks/operator
docker pull starrocks/fe-ubuntu
docker pull starrocks/be-ubuntu