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:
./infra/k3d/scripts/create_k3d_cluster.shTake 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.
infctl -f infra/pipelines/dev/k3d/pipeline.jsonwhich will look something like this
infctl -f infra/pipelines/dev/k3d/pipeline.jsonDeploymentType: developmentUsing jsonFile: infra/pipelines/dev/k3d/pipeline.jsonrun json deployment => π ensure inf namespace existsin k8sCreateNamespace with project: infctlβ
Step completed: ensure inf namespace existsrun json deployment => π create php configmapπ Running command: ./infra/k3d/scripts/create_php_configmap_ctl.shconfigmap/php-config createdNGINX configmap created successfully.β
Step completed: create php configmapβ
π Pipeline completed successfullydelete our test cluster with
k3d cluster delete mycluster