diff --git a/README.md b/README.md index a2bfee4d0c..48af915f15 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ This section of the guide will walk you through the deployment steps for EventMe - [Run Demo with shell scripts](#4run-demo-with-shell-scripts-) - [Run EventMesh-Operator](#run-eventmesh-operator) - [Local source code run](#local-source-code-run) + - [Deploy Operator on k8s](#deploy-operator-on-k8s) ### Deployment EventMesh Store @@ -574,6 +575,33 @@ eventmesh-runtime-0-a-0 1/1 Running 0 12m make delete ``` +#### Deploy Operator on k8s + +1.Deploy operator +Run the following commands(To delete a deployment, simply replace `deploy` with `undeploy`): +``` +make deploy +``` + +Run `kubectl get pods` to see the status of the deployed eventmesh-operator. +``` +NAME READY STATUS RESTARTS AGE +eventmesh-operator-59c59f4f7b-nmmlm 1/1 Running 0 20s +``` + +2.Execute the following command to deploy runtime, connector(To delete, simply replace `create` with `delete`.). +``` +make create +``` + +Run `kubectl get pods` to see if the deployment was successful. +``` +NAME READY STATUS RESTARTS AGE +connector-rocketmq-0 1/1 Running 0 9s +eventmesh-operator-59c59f4f7b-nmmlm 1/1 Running 0 3m12s +eventmesh-runtime-0-a-0 1/1 Running 0 15s +``` + ## Contributing Each contributor has played an important role in promoting the robust development of Apache EventMesh. We sincerely appreciate all contributors who have contributed code and documents. diff --git a/README.zh-CN.md b/README.zh-CN.md index bef6f8956d..68ae57d62b 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -77,6 +77,7 @@ Apache EventMesh提供了许多功能来帮助用户实现他们的目标,以 - [测试](#4测试-) - [运行EventMesh-Operator](#运行eventmesh-operator) - [本地源码运行](#本地源码运行) + - [部署operator到k8s](#部署operator到k8s) ### 部署EventMesh Store @@ -597,6 +598,33 @@ eventmesh-runtime-0-a-0 1/1 Running 0 12m make delete ``` +#### 部署operator到k8s + +1.部署operator +运行以下命令部署(删除部署, 只需将 `deploy` 替换为 `undeploy`即可): +``` +make deploy +``` + +运行 `kubectl get pods` 查看部署的eventmesh-operator状态. +``` +NAME READY STATUS RESTARTS AGE +eventmesh-operator-59c59f4f7b-nmmlm 1/1 Running 0 20s +``` + +2.运行以下命令部署runtime、connector(删除部署, 只需将`create` 替换为 `delete`即可). +``` +make create +``` + +运行 `kubectl get pods` 查看部署是否成功. +``` +NAME READY STATUS RESTARTS AGE +connector-rocketmq-0 1/1 Running 0 9s +eventmesh-operator-59c59f4f7b-nmmlm 1/1 Running 0 3m12s +eventmesh-runtime-0-a-0 1/1 Running 0 15s +``` + ## 贡献 每个贡献者在推动 Apache EventMesh 的健康发展中都发挥了重要作用。我们真诚感谢所有为代码和文档作出贡献的贡献者。