Skip to content

Initial Pipeline Run

having already cloned the infctl-cli see K3d single instance change directory to where this code repository was checked out on your system.

If necessary, re-run the script to create a new local cluster or just use one created earlier if you chose to delete it:

Terminal window
./infra/k3d/scripts/create_k3d_cluster.sh

Take a look at infra/pipelines/dev/k3d/pipeline.json to familiarize yourself with what we’re about to do next.

This pipeline file will be used by infctl to create a couple of resources to smoke test the cluster.

Terminal window
infctl -f infra/pipelines/dev/k3d/pipeline.json

which will look something like this

Terminal window
infctl -f infra/pipelines/dev/k3d/pipeline.json
DeploymentType: development
Using jsonFile: infra/pipelines/dev/k3d/pipeline.json
run json deployment => πŸ”„ ensure inf namespace exists
in k8sCreateNamespace with project: infctl
βœ… Step completed: ensure inf namespace exists
run json deployment => πŸ”„ create php configmap
🐞 Running command: ./infra/k3d/scripts/create_php_configmap_ctl.sh
configmap/php-config created
NGINX configmap created successfully.
βœ… Step completed: create php configmap
βœ… πŸš€ Pipeline completed successfully

delete our test cluster with

Terminal window
k3d cluster delete mycluster