deployment.yaml
with the following code:kubectl
if not found. Including runner images not provided by Spacelift.aws eks update-kubeconfig --region $region-name --name $cluster-name
Update the previous variables according to your deployment.
$region-name:
AWS region where your Kubernetes cluster resides$cluster-name:
Name of your Kubernetes clustersspacelift-stack=<stack-slug>
kubectl apply to
compare your code to the current state of the cluster and output the list of changes to be made.
A slightly different dry run mode depending on the scenario:--dry-run=server:
Utilized when resources are available--dry-run-client:
Utilized when no resources are availablespacelift-stack=<stack-slug>
label will be removed from the Kubernetes cluster.
--prune
flag will be utilized.