add computer-k8s and computer-k8s-operator (#56)
authorcoderzc <zc1217zc@126.com>
Tue, 3 Aug 2021 03:28:57 +0000 (11:28 +0800)
committerGitHub <noreply@github.com>
Tue, 3 Aug 2021 03:28:57 +0000 (11:28 +0800)
commit7f82d964cc107b724a527c0455b186f80698c563
treecf1f1ece561ccf3393ca342958e1341138c3ef35
parent9a53ac062dfee9cd485c5b003924763fe83122e0
add computer-k8s and computer-k8s-operator (#56)
91 files changed:
.github/workflows/ci.yml
README.md
computer-algorithm/Dockerfile [new file with mode: 0644]
computer-dist/src/assembly/travis/install-hugegraph-from-source.sh
computer-dist/src/assembly/travis/start-etcd.sh
computer-driver/pom.xml
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/ComputerDriver.java [moved from computer-core/src/main/java/com/baidu/hugegraph/computer/core/driver/ComputerDriver.java with 91% similarity]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/ComputerDriverException.java [new file with mode: 0644]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/DefaultJobState.java [new file with mode: 0644]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/JobObserver.java [moved from computer-core/src/main/java/com/baidu/hugegraph/computer/core/driver/JobObserver.java with 95% similarity]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/JobState.java [moved from computer-core/src/main/java/com/baidu/hugegraph/computer/core/driver/JobState.java with 91% similarity]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/JobStatus.java [moved from computer-core/src/main/java/com/baidu/hugegraph/computer/core/driver/JobStatus.java with 78% similarity]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/SuperstepStat.java [new file with mode: 0644]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/config/ComputerOptions.java [new file with mode: 0644]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/config/DriverConfigOption.java [new file with mode: 0644]
computer-driver/src/main/java/com/baidu/hugegraph/computer/driver/util/JsonUtil.java [new file with mode: 0644]
computer-k8s-operator/Dockerfile [new file with mode: 0644]
computer-k8s-operator/crd-generate/.gitignore [new file with mode: 0644]
computer-k8s-operator/crd-generate/Makefile [new file with mode: 0644]
computer-k8s-operator/crd-generate/api/v1/groupversion_info.go [new file with mode: 0644]
computer-k8s-operator/crd-generate/api/v1/hugegraphcomputerjob_types.go [new file with mode: 0644]
computer-k8s-operator/crd-generate/cmd/generate.go [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/crd/kustomization.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/crd/kustomizeconfig.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/default/kustomization.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/default/manager_auth_proxy_patch.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/etcd/etcd_cluster.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/etcd/etcd_operator.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/etcd/kustomization.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/manager/kustomization.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/manager/manager.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/prometheus/kustomization.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/prometheus/monitor.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/auth_proxy_client_clusterrole.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/auth_proxy_role.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/auth_proxy_role_binding.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/auth_proxy_service.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/etcd_operator_role.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/etcd_operator_role_binding.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/kustomization.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/leader_election_role.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/leader_election_role_binding.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/role.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/role_binding.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/config/rbac/service_account.yaml [new file with mode: 0644]
computer-k8s-operator/crd-generate/go.mod [new file with mode: 0644]
computer-k8s-operator/crd-generate/go.sum [new file with mode: 0644]
computer-k8s-operator/manifest/etcd-operator-crd.v1beta1.yaml [new file with mode: 0644]
computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml [new file with mode: 0644]
computer-k8s-operator/manifest/hugegraph-computer-crd.v1beta1.yaml [new file with mode: 0644]
computer-k8s-operator/manifest/hugegraph-computer-operator.yaml [new file with mode: 0644]
computer-k8s-operator/pom.xml [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/OperatorEntrypoint.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/AbstractController.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/MatchWithMsg.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/OperatorRequest.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/OperatorResult.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/common/WorkQueue.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/config/OperatorOptions.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/controller/ComputerJobComponent.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/controller/ComputerJobController.java [new file with mode: 0644]
computer-k8s-operator/src/main/java/com/baidu/hugegraph/computer/k8s/operator/controller/ComputerJobDeployer.java [new file with mode: 0644]
computer-k8s-operator/src/main/resources/log4j2.xml [new file with mode: 0644]
computer-k8s/pom.xml
computer-k8s/schema/crd-schema.json [new file with mode: 0644]
computer-k8s/schema/enum-schema.json [new file with mode: 0644]
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/Constants.java [new file with mode: 0644]
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/config/KubeDriverOptions.java [new file with mode: 0644]
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/config/KubeSpecOptions.java [new file with mode: 0644]
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/crd/model/HugeGraphComputerJob.java [new file with mode: 0644]
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/crd/model/HugeGraphComputerJobList.java [new file with mode: 0644]
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/driver/KubernetesDriver.java [new file with mode: 0644]
computer-k8s/src/main/java/com/baidu/hugegraph/computer/k8s/util/KubeUtil.java [new file with mode: 0644]
computer-k8s/src/main/resources/docker_push.sh [new file with mode: 0755]
computer-test/conf/images/docker_push_test.sh [new file with mode: 0644]
computer-test/conf/images/test.jar [new file with mode: 0644]
computer-test/conf/log4j2-test.xml [new file with mode: 0644]
computer-test/pom.xml
computer-test/src/main/java/com/baidu/hugegraph/computer/core/bsp/EtcdClientTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/network/TransportUtilTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/driver/ComputerOptionsTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/driver/DriverTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/driver/DriverTestSuite.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/k8s/AbstractK8sTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/k8s/K8sTestSuite.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/k8s/KubernetesDriverTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/k8s/MiniKubeTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/k8s/OperatorTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/suite/integrate/IntegrateTestSuite.java
computer-test/src/main/java/com/baidu/hugegraph/computer/suite/unit/UnitTestSuite.java
pom.xml