Description
Cluster deployment, application CI/CD, helm chart deployment management
ocean client command
Usage:
ocean [flags]
ocean [command]
Available Commands:
app Manage the helm application
cluster Manage the k8s cluster
completion Generate the autocompletion script for the specified shell
help Help about any command
service Manage services
Flags:
--cluster-grpc-addr string deployed cluster grpc address
-h, --help help for ocean
Use "ocean [command] --help" for more information about a command.
Getting Started
Must have a docker already running
Running on the cluster
- clone code & build:
git clone https://github.com/f-rambo/ocean.git && cd ocean && make build
- Deploy to docker and install client:
mv bin/client bin/ocean && go install bin/ocean && docker compose up
- Installing a cluster:
# Get the cluster sample yaml file and modify it to your own server content
ocean cluster example
ocean cluster apply
# You can view the deployment progress at http://127.0.0.1:3000
- Deploy ocean in the cluster:
kubectl apply -f install.yaml
ocean cluster sync cluster-grpc-addr="Your cluster address"
- Deploy app:
ocean app example
ocean app apply
- Deploy service:
ocean service example
ocean service apply