Closed simon824 closed 1 year ago
@Radeity PTAL~
I'll follow up, you can assign me.
Hi @simon824 , I just realize that we have not uploaded the latest image, would you like to follow these steps and test locally to make sure if there's other problems with codes or environment?
computer-k8s-operator/manifests
, or you can generate by yourself.
cd computer-k8s-operator/crd-generate
make gen-all
docker build -t hugegraph/hugegraph-computer-operator-manager:latest ./computer-k8s-operator/crd-generate
docker push hugegraph/hugegraph-computer-operator-manager:latest
mvn clean package -DskipTests
docker build -t hugegraph/hugegraph-computer-operator:latest -f ./computer-k8s-operator/Dockerfile ./computer-k8s-operator
docker push hugegraph/hugegraph-computer-operator:latest
@Radeity description yaml is from https://github.com/apache/incubator-hugegraph-computer/blob/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml
bash-5.1# kubectl apply -f hugegraph-computer-crd.v1.yaml
error: error validating "hugegraph-computer-crd.v1.yaml": error validating data: [apiVersion not set, kind not set]; if you choose to ignore these errors, turn validation off with --validate=false
@Radeity refer to https://kubernetes.io/zh-cn/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122 seems this description yaml is not compatible with Kubernetes >= 1.22 ?
Sorry, I don't the have environment of Kubernetes 1.23+... but it seems that you don't use v1beta
version's description yaml, and in your error log, it points out that apiVersion and kind not set, but we have already declared these two attributes in first two line. Would you like to double check your operation?
Image hugegraph/hugegraph-computer-operator-manager:latest
seems not to exist, @coderzc ,can you help to push it to dockerhub
when free, thx.
Image
hugegraph/hugegraph-computer-operator-manager:latest
seems not to exist, @coderzc ,can you help to push it todockerhub
when free, thx.
I'll push image to docker hub.
Bug Type (问题类型)
exception / error (运行异常)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)