Skip to content
项目

关于

用于在托管 Kubernetes 服务上轻松部署无服务器 Docker 的 CLI 工具。一个可自行部署的 PaaS。⚡️

系统与基础设施

这些数字如何统计

可以做什么

  • ⚡️ Deploy docker images via snow (or snow deploy)
  • 🔒 Auto-configured SSL
  • 🔃 Auto-scaling

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

:snowflake: Self-hosted now deployments

Enjoy effortless deployments with a clone of now on a cloud of your choosing.

Features

  • ⚡️ Deploy docker images via snow (or snow deploy)
  • 🔒 Auto-configured SSL
  • 🔃 Auto-scaling

This is Magic 🔮

No, it isn't. This CLI abstracts away the complexities of using Kubernetes, cert-manager, Kaniko, and a private Docker Registry together, replicating the functionality provided by now.

Getting started

> npm i -g @snowjs/cli

# Install CLI tools
> snow install

# Create your kubernetes cluster (GCP)
> snow create

# Get your deployment's IP address
# And create a DNS 'A' record (e.g., myapp.com A 1.2.3.4)
> snow ip

# Deploy
> snow

Supported commands

Detailed descriptions of supported commands at docs/commands.md.

Support Command Description
:white_check_mark: <none> Deploy
:white_check_mark: alias [ls] List aliases
:white_check_mark: alias set <deployment> <alias> Create alias
:white_check_mark: alias rm <alias> Remove alias
:white_check_mark: certs [ls] List SSL Certificates
:white_check_mark: certs issue <cn> [<cn>] Issue certificate
:white_check_mark: certs rm <cn> Remove a certificate
:new: create Create Kubernetes cluster
:white_check_mark: deploy Deploy
:white_check_mark: domains [ls] List domains
:white_check_mark: domains add <domain> Add domain
:no_entry: domains buy <domain> Buy domain
:white_check_mark: domains rm <domain> Remove domain
:white_check_mark: login Login
:white_check_mark: logout Logout
:white_check_mark: ls List deployments
:new: install Install CLI tools (via brew)
:new: ip Get IP Address of deployments
:white_check_mark: rm <name> Remove deployment
:white_check_mark: scale <deployment> <min> [<max>] Scale deployment
:white_check_mark: secrets [ls] List secrets
:white_check_mark: secrets add <key> <value> Create secret
:white_check_mark: secrets rename <old-key> <new-key> Rename secret
:white_check_mark: secrets rm <key> Remove secret

Tell me more

The essential CLI commands to understand are snow create and snow deploy.

Dependencies

The following CLI tools (installable via snow install) are necessary to orchestrate the entire end-to-end process, from Kubernetes cluster creation to managing your deployments:

  • kubectl (for managing deployments, secrets)
  • helm (for installing [tiller], cert-manager, and ingress-nginx on your cluster)
  • CLI tool for your cloud provider (e.g., gcloud).

If running Kubernetes locally on Minikube, you will additionally need these cli tools:

  • docker (for running local registry)
  • minikube (for running Kubernetes locally)
  • virtualbox (for creating docker images)

探索相关项目

加载中…