bonny v0.1.3 mix bonny.gen.manifest
Generates the Kubernetes YAML manifest for this FUCK
Examples
The image
switch is required.
Options:
- —image (docker image to deploy)
- —namespace (of service account and deployment; defaults to “default”)
- —out (path to save manifest; defaults to “manifest.yaml”)
Deploying to kubernetes:
docker build -t $(YOUR_IMAGE_URL) .
docker push $(YOUR_IMAGE_URL)
mix bonny.gen.manifest --image $(YOUR_IMAGE_URL):latest --namespace default
kubectl apply -f manifest.yaml -n default
Link to this section Summary
Link to this section Functions
Link to this function
run(args)
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.