https://github.com/thomasvitale/rsocket-app-example
https://github.com/thomasvitale/rsocket-app-example
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasvitale/rsocket-app-example
- Owner: ThomasVitale
- License: apache-2.0
- Archived: true
- Created: 2022-05-16T17:39:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-17T12:06:17.000Z (over 3 years ago)
- Last Synced: 2025-02-07T08:49:15.895Z (8 months ago)
- Language: TypeScript
- Size: 273 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RSocket Application - Example
This section will describe how to deploy the application on a local Kubernetes cluster with `kind`.
## Prerequisites
* [kind](https://kind.sigs.k8s.io)
* [kapp](https://carvel.dev/kapp/)## Set up the local environment
Create a new Kubernetes cluster using `kind`.
```shell
kind create cluster --config deployment/kind-config.yml
```Deploy `kapp-controller` from the Carvel suite.
```shell
kapp deploy -a kapp-controller -f https://github.com/vmware-tanzu/carvel-kapp-controller/releases/download/v0.36.1/release.yml --yes
```Install the packages necessary to build the platform.
```shell
kapp deploy -a platform-setup -f deployment/platform-setup --yes
```## Deploy the application
Deploy the application as follows.
```shell
kapp deploy -a rsocket-app-example -f application/service.yml --yes
```Once the application is up and running, you can visit it at http://127.0.0.1.nip.io.
## Delete the local cluster
Run this command to delete the local `kind` cluster.
```shell
kind delete cluster --name rsocket-cluster
```