CLI to do some magic stuff on Rancher and K8s. Originally intended to be used from gitlab CI.
Note: all these dependencies are already embedded when using official exalif/cli docker image.
docker run --rm -v $(pwd):/data exalif/cli COMMAND [ARGUMENTS]
You can use docker run --rm exalif/cli help to get full set of commands.
Some options are required for any command:
--orchestrator-url: url of your Rancher installation--orchestrator-access-key: access key configured in your Rancher installation--orchestrator-secret-key: secret key configured in your Rancher installationEvery cli options can be provided by environment variables in uppercase and prefixed with EXALIF_.
Environment variables can be store on proper files (e.g: ~/.bashrc or ~/.bash_profile) or provided at docker run level.
Example:
docker run --rm -e EXALIF_ORCHESTRATOR_ACCESS_KEY=rancherAccessKey ...
You can override config.js configuration by mounting apprioriate file in docker /app/config directory.
Content type
Image
Digest
Size
55.5 MB
Last updated
almost 6 years ago
docker pull exalif/cli