在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):replicatedhq/ship开源软件地址(OpenSource Url):https://github.com/replicatedhq/ship开源编程语言(OpenSource Language):Go 75.5%开源软件介绍(OpenSource Introduction):Kots.Replicated Ship has been superseded byKots provides the core functionality of Ship, but with a different architecture. While Ship will continue to be supported, it is no longer under active development. Replicated ShipReplicated Ship is a Kubernetes app deployment and automation tool that can:
Read on for more details on Ship features and objectives, or skip ahead to getting started. Track and automate the maintenance of 3rd-party applicationsShip enables cluster operators to automatically stay in sync with upstream changes while preserving their custom configurations and extensions (adds, deletes and edits) without git merge conflicts. This is possible because of how the three operating modes of Ship invoke, store and apply Kustomizations, a type of Kubernetes specific patch, produced by a cluster operator. Customizing Helm Charts, Kube YAML and Knative with KustomizeShip exposes the power of Kustomize as an advanced custom configuration management tool for Helm charts, Kubernetes manifests and Knative applications. The easy-to-use UI of Ship (launched via Additionally, the The output of the Enable app developers to allow for last-mile configurationConfiguration workflow Getting StartedInstallationShip is packaged as a single binary, and Linux and MacOS versions are distributed:
curl -sSL https://github.com/replicatedhq/ship/releases/download/v0.51.2/ship_0.51.2_linux_amd64.tar.gz | tar zxv && sudo mv ship /usr/local/bin
curl -sSL https://github.com/replicatedhq/ship/releases/download/v0.51.2/ship_0.51.2_darwin_amd64.tar.gz | tar zxv && sudo mv ship /usr/local/bin
brew install ship
Alternately, you can run Ship in Docker, in which case you can pull the latest ship image with: docker pull replicated/ship InitializingAfter Ship is installed, create a directory for the application you'll be managing with Ship, and launch Ship from there, specifying an upstream Helm chart or Kubernetes yaml: mkdir -p ~/my-ship/example
cd ~/my-ship/example
ship init <path-to-chart> # github.com/helm/charts/tree/master/stable/grafana Alternately, the same command run through Docker: mkdir -p ~/my-ship/example
cd ~/my-ship/example
docker run -p 8800:8800 -v "$PWD":/wd -w /wd \
replicated/ship init <path-to-chart> # github.com/helm/charts/tree/master/stable/grafana Note: you may need to point your browser to http://127.0.0.1:8800 if ship's suggested localhost URL doesn't resolve. You'll be prompted to open a browser and walk through the steps to configure site-specific values for your installation, updating Helm values (if it's a chart), and making direct edits to the Kubernetes yaml (or Helm-generated yaml), which will be converted to patches to apply via Kustomize. After completing the guided 'ship init' workflow, you'll see that Ship has generated several directories and files within the current working directory.
The The kubectl apply -f rendered.yaml If you need to revise any of the configuration details, you can re-invoke Three operating modesship initPrepares a new application for deployment. Use for:
ship watchPolls an upstream source, blocking until any change has been published. Use for:
ship updateUpdates an existing application by merging the latest release with the local state and overlays. Use for:
UnforkingAnother initialization option is to start with a Helm chart or Kubernetes manifest that has been forked from an upstream source, and to "unfork" it. ship unfork <path-to-forked> --upstream <path-to-upstream> or docker run -v "$PWD":/wd -w /wd \
replicated/ship unfork <path-to-forked> \
--upstream <path-to-upstream> With this workflow, Ship will attempt to move the changes that prompted the fork into 'overlays' that can be applied as patches onto the unmodified upstream base. You can inspect the CI/CD IntegrationOnce you've prepared an application using ship watch && ship update or docker run -v "$PWD":/wd -w /wd replicated/ship watch && \
docker run -v "$PWD":/wd -w /wd replicated/ship update The With chart repo you have commit privileges on, you, you can see this flow in action by running Customizing the Configuration ExperienceMaintainers of OTS (Off the Shelf) software can customize the Ship CloudFor those not interested in operating and maintaining a fleet of Ship instances, Ship Cloud is available as a hosted solution for free. With Ship Cloud, teams can collaborate and manage multiple OTS Kubernetes application settings in one place, with Ship watching and updating on any upstream or local configuration changes, and creating Pull Requests and other integrations into CI/CD systems. Contributions and Local DevelopmentFor instructions for building the project and making contributions, see Contributing. CommunityFor questions about using Ship, there's a Replicated Community forum, and a #kots channel in Kubernetes Slack. For bug reports, please open an issue in this repo. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论