Skip to content

Deploy a cluster

Updated 1 min read

This how-to covers the deploy-and-verify steps shared across all NIC-managed providers: validating your config, provisioning with nic deploy, retrieving a kubeconfig, and confirming the cluster is healthy. For how nic provisions a cluster, see NKP architecture.

Download a starter config from your provider's page. For the full schema, see the NIC configuration reference.

From the directory containing your config file and .env:

Terminal window
# Quick syntax and shape check; no provider API calls.
nic validate -f <config-file>
# Validates config and credentials; no resources are created.
nic deploy -f <config-file> --dry-run
# Actually provision.
nic deploy -f <config-file>

If you need to extend the default timeout (large clusters, slow network), pass --timeout 1h.

nic deploy does not set your kubectl context. Generate a kubeconfig for the new cluster and point kubectl at it:

Terminal window
# Write the kubeconfig to a file (omit -o to print to stdout).
nic kubeconfig -f <config-file> -o kubeconfig.yaml
export KUBECONFIG=$(pwd)/kubeconfig.yaml

Check that the cluster is responsive:

Terminal window
kubectl get nodes
kubectl get pods -A

Then check the foundational ArgoCD applications are syncing:

Terminal window
kubectl get applications -n argocd

All ArgoCD applications should reach Healthy within a few minutes (some may briefly show Progressing or OutOfSync — this is normal).