-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add openim kubernetes deployment
Signed-off-by: Xinwei Xiong(cubxxw) <[email protected]>
- Loading branch information
Showing
17 changed files
with
364 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,13 @@ $ sudo sealos run labring/kubernetes:v1.25.0 labring/helm:v3.8.2 labring/calico: | |
> $ sealos reset | ||
> ``` | ||
If you are local, you can also use Kind and Minikube to test, for example, using Kind: | ||
```bash | ||
$ sGO111MODULE="on" go get sigs.k8s.io/[email protected] | ||
$ skind create cluster | ||
``` | ||
### Installing helm | ||
|
||
Helm simplifies the deployment and management of Kubernetes applications to a large extent by offering version control and release management through packaging. | ||
|
@@ -112,3 +119,10 @@ $ make image | |
## Installation | ||
|
||
Explore our Helm-Charts repository and read through: [Helm-Charts Repository](https://github.com/openimsdk/helm-charts) | ||
|
||
|
||
```bash | ||
../scripts/genconfig.sh ../scripts/install/environment.sh ./templates/openim.yaml > ./charts/generated-configs/config.yaml | ||
cp ../config/notification.yaml ./charts/generated-configs/notification.yaml | ||
../scripts/genconfig.sh ../scripts/install/environment.sh ./templates/helm-image.yaml > ./charts/generated-configs/helm-image.yaml | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
repositories: | ||
- name: stable | ||
url: https://charts.helm.sh/stable | ||
|
||
releases: | ||
- name: openim-api | ||
namespace: default | ||
chart: ./openim-api | ||
values: | ||
- openim-api/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-msggateway | ||
namespace: default | ||
chart: ./openim-msggateway | ||
values: | ||
- openim-msggateway/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-msgtransfer | ||
namespace: default | ||
chart: ./openim-msgtransfer | ||
values: | ||
- openim-msgtransfer/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-push | ||
namespace: default | ||
chart: ./openim-push | ||
values: | ||
- openim-push/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
|
||
- name: openim-rpc-auth | ||
namespace: default | ||
chart: ./openim-rpc-auth | ||
values: | ||
- openim-rpc-auth/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-rpc-conversation | ||
namespace: default | ||
chart: ./openim-rpc-conversation | ||
values: | ||
- openim-rpc-conversation/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-rpc-friend | ||
namespace: default | ||
chart: ./openim-rpc-friend | ||
values: | ||
- openim-rpc-friend/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-rpc-group | ||
namespace: default | ||
chart: ./openim-rpc-group | ||
values: | ||
- openim-rpc-group/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-rpc-msg | ||
namespace: default | ||
chart: ./openim-rpc-msg | ||
values: | ||
- openim-rpc-msg/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-rpc-third | ||
namespace: default | ||
chart: ./openim-rpc-third | ||
values: | ||
- openim-rpc-third/values.yaml | ||
- generated-configs/helm-image.yaml | ||
- generated-configs/config.yaml | ||
- generated-configs/notification.yaml | ||
- name: openim-rpc-user | ||
namespace: default | ||
chart: ./openim-rpc-user | ||
values: | ||
- openim-rpc-user/values.yaml | ||
- generated-configs/helm-image.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.