You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "simon824 (via GitHub)" <gi...@apache.org> on 2023/08/15 07:45:41 UTC
[GitHub] [incubator-hugegraph-computer] simon824 opened a new issue, #261: [Bug] Failed to deploy on Kubernetes
simon824 opened a new issue, #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261
### Bug Type (问题类型)
exception / error (运行异常)
### Before submit
- [X] 我已经确认现有的 [Server-Issues](https://github.com/apache/hugegraph-computer/issues) 与 [Computer-Issues](https://github.com/apache/hugegraph-computer/issues) 中没有相同 / 重复问题
### Environment (环境信息)
- Server Version: v1.0.x
- Computer Version: v1.0.0
- Scheduler: Kubernetes version v1.23.10
- Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
### Expected & Actual behavior (期望与实际表现)
```bash
bash-5.1# kubectl apply -f https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml
bash-5.1# kubectl apply -f https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
```
```bash
namespace/hugegraph-computer-operator-system unchanged
customresourcedefinition.apiextensions.k8s.io/hugegraphcomputerjobs.operator.hugegraph.apache.org configured
serviceaccount/hugegraph-computer-operator-controller-manager unchanged
role.rbac.authorization.k8s.io/hugegraph-computer-operator-leader-election-role unchanged
clusterrole.rbac.authorization.k8s.io/hugegraph-computer-operator-manager-role configured
clusterrole.rbac.authorization.k8s.io/hugegraph-computer-operator-metrics-reader unchanged
clusterrole.rbac.authorization.k8s.io/hugegraph-computer-operator-proxy-role unchanged
rolebinding.rbac.authorization.k8s.io/hugegraph-computer-operator-leader-election-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/hugegraph-computer-operator-manager-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/hugegraph-computer-operator-proxy-rolebinding unchanged
configmap/hugegraph-computer-operator-manager-config unchanged
service/hugegraph-computer-operator-controller-manager-metrics-service unchanged
service/hugegraph-computer-operator-etcd unchanged
service/hugegraph-computer-operator-webhook-service unchanged
deployment.apps/hugegraph-computer-operator-controller-manager configured
deployment.apps/hugegraph-computer-operator-etcd unchanged
mutatingwebhookconfiguration.admissionregistration.k8s.io/hugegraph-computer-operator-mutating-webhook-configuration configured
validatingwebhookconfiguration.admissionregistration.k8s.io/hugegraph-computer-operator-validating-webhook-configuration configured
unable to recognize "https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml": no matches for kind "Certificate" in version "cert-manager.io/v1"
unable to recognize "https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml": no matches for kind "Issuer" in version "cert-manager.io/v1"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] coderzc commented on issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "coderzc (via GitHub)" <gi...@apache.org>.
coderzc commented on issue #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261#issuecomment-1678592681
@Radeity PTAL~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] coderzc commented on issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "coderzc (via GitHub)" <gi...@apache.org>.
coderzc commented on issue #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261#issuecomment-1686140461
> Image `hugegraph/hugegraph-computer-operator-manager:latest` seems not to exist, @coderzc ,can you help to push it to `dockerhub` when free, thx.
I'll push image to docker hub.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] simon824 commented on issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "simon824 (via GitHub)" <gi...@apache.org>.
simon824 commented on issue #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261#issuecomment-1678623166
@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
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] Radeity commented on issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "Radeity (via GitHub)" <gi...@apache.org>.
Radeity commented on issue #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261#issuecomment-1678594827
I'll follow up, you can assign me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] simon824 commented on issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "simon824 (via GitHub)" <gi...@apache.org>.
simon824 commented on issue #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261#issuecomment-1683587115
Image `hugegraph/hugegraph-computer-operator-manager:latest` seems not to exist, @coderzc ,can you help to push it to `dockerhub` when free, thx.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] imbajin closed issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin closed issue #261: [Bug] Failed to deploy on Kubernetes
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] Radeity commented on issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "Radeity (via GitHub)" <gi...@apache.org>.
Radeity commented on issue #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261#issuecomment-1678684503
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?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] simon824 commented on issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "simon824 (via GitHub)" <gi...@apache.org>.
simon824 commented on issue #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261#issuecomment-1678633143
@Radeity
refer to https://devpress.csdn.net/k8s/62fd5d027e6682346619203e.html
seems this description yaml is not compatible with Kubernetes >= 1.22 ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org
[GitHub] [incubator-hugegraph-computer] Radeity commented on issue #261: [Bug] Failed to deploy on Kubernetes
Posted by "Radeity (via GitHub)" <gi...@apache.org>.
Radeity commented on issue #261:
URL: https://github.com/apache/incubator-hugegraph-computer/issues/261#issuecomment-1678599990
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?
- Use description yaml under `computer-k8s-operator/manifests`, or you can generate by yourself.
```shell
cd computer-k8s-operator/crd-generate
make gen-all
```
- Build and Push manager image:
```shell
docker build -t hugegraph/hugegraph-computer-operator-manager:latest ./computer-k8s-operator/crd-generate
docker push hugegraph/hugegraph-computer-operator-manager:latest
```
- Build and Push controller image:
```shell
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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org