App deploy CLI
One yakcloud.yaml file takes you from local development on your own machine to validation and production. The image you build once is promoted without rebuilding, and production goes through owner approval.
#overview
Same file, same image, from local to production
Declare it in one file
Describe your apps (workloads), the services they need (services) and the cluster for each environment (environments) in one file.
Local development (dev)
yakcloud project deploy deploys to a kind cluster on your machine, creating it if needed. Once set up, it works offline. Open your app at a *.localhost address.
Promote without rebuilding
Validation (val) and production (prod) get exactly the image you checked in dev. Nothing is rebuilt per environment.
Production approval gate
Each production promotion is requested for a specific version and only goes through after the owner approves it in the console.
Same names everywhere
Service credentials arrive under the same environment variable names (DB_URL and so on) in every environment, so your code doesn't need to know where it runs.
Deploy from the console too
Pick an image or Git repository and deploy from a form. Set replicas, resources, health checks, environment variables and secrets, and preview the manifest first.
#how
How it works
Install and init
Install the CLI with one line, then run
yakcloud project initin an empty folder to get a starter (app, CI, manifest and deploy skill).Develop locally
Edit your code and run
yakcloud project deployagain.Validate (optional)
Run
yakcloud project promote --to valto deploy to a managed validation cluster.Production
Request promotion with
yakcloud project request. Once the owner approves,promote --to prodships it, with domain and TLS attached.
$ curl -fsSL https://get.yakcloud.io | sh $ yakcloud project init my-app # Deploy to a local kind cluster $ yakcloud project deploy # Validation, then production (after owner approval) $ yakcloud project promote --to val v0.2.0 $ yakcloud project request v0.2.0 $ yakcloud project promote --to prod v0.2.0
#notes
Good to know
- Local development needs Docker and kind. Services start locally under the same names, so you don't run them yourself.
- A promotion request is tied to a version. Only approved versions reach production.
- Validation is optional. You can promote straight from dev to production.