Big Bang Deployment
Table of Contents
GitOps
Big Bang follows a GitOps approach to deployment. All configuration changes will be pulled and reconciled with what is stored in the Git repository. The only exception to this is the initial manifests (e.g. dev.yaml
) which points to the Git repository and path.
Installation
-
Before pushing changes to Git, validate all configuration is syntactically correct.
# If everything is successful, YAML should be output kustomize build ./dev
-
If you have not already done so, push configuration changes to Git
git push
-
Validate the Kubernetes context is correct
# This should match the environment you intend to deploy kubectl config current-context
-
Deploy the Big Bang manifest to the cluster
kubectl apply -f dev.yaml
Upgrade
All changes to the Big Bang cluster should be made through Git. After changes are pushed, Big Bang will automatically reconcile the difference with the cluster.
It may take Big Bang up to 10 minutes to recognize your changes and start to deploy them. This is based on the
interval
value set for polling. You can force Big Bang to immediately check for changes by running the sync.sh script.