ocean

module
v0.0.0-...-c12296b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: MIT

README

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

  1. clone code & build:
git clone https://github.com/f-rambo/ocean.git && cd ocean && make build
  1. Deploy to docker and install client:
mv bin/client bin/ocean && go install bin/ocean && docker compose up
  1. 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
  1. Deploy ocean in the cluster:
kubectl apply -f install.yaml
ocean cluster sync cluster-grpc-addr="Your cluster address"
  1. Deploy app:
ocean app example
ocean app apply
  1. Deploy service:
ocean service example
ocean service apply

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL