Deployment to Kubernetes
Last updated
Was this helpful?
Last updated
Was this helpful?
Install kubectl
Install kustomize
You may trigger staging release at any point of time from the master
branch by:
This will update the deployment using ghcr.io/podkrepi-bg/frontend:master
image
The following command will:
Bump the version in package.json
Tag the latest
master branch
[postversion
] Push local tags to the remote origin
Update the image newTag
version in frontend/manifests/overlays/production/kustomization.yaml
Commit and push the manifest update
Once the image has been built by the GitHub Actions and is present in the Docker image repository you may trigger the actual deployment to the cluster.
You may trigger staging release at any point of time from the master
branch by:
This will update the deployment using ghcr.io/podkrepi-bg/api:master
image
The following command will:
Bump the version in package.json
Tag the latest
master branch
[postversion
] Push local tags to the remote origin
Update the image newTag
version in backend/manifests/overlays/production/kustomization.yaml
Commit and push the manifest update
Once the image has been built by the GitHub Actions and is present in the Docker image repository you may trigger the actual deployment to the cluster.
If you want to set a specific version for the deployment image you can do that by editing backend/manifests/overlays/production/kustomization.yaml