Frontend in Python demonstrates Komodor Integration with Github Changes
- Ensure you are access to the appropriate docker runtime
- You also need to access to a Repository Updates
- Make changes to the Source Code
- Commit and Push the Changes to the Source code
- Retrieve the Github Hash from the Commit
- Update the Deployment Manifest with the Github Hash from the Commit
- Build and Push the Deployment to a PUBLIC/Private Repository
docker buildx build --platform linux/amd64,linux/arm64 --push -t hughbrien/frontend:2.0.1 .
k apply -f frontend.yaml
- Commit change to Frontend manifest yaml.
- Update/Confirm your Deployment manifest has the correct Ropository Image reference
export VERSION=2.0.1
docker buildx build --platform linux/amd64,linux/arm64 --push -t hughbrien/frontend:2.0.1 .
kubectl apply -f ./frontend.yaml
So you run your service local. This is very python developer/specific
git clone https://github.com/hughbrien/frontend
Make changes to the app.py, Dockerfile, README.md
docker buildx build --platform linux/amd64,linux/arm64 --push -t hughbrien/frontend:2.0.1 .
kubectl apply -f frontend.yaml
export VERSION=2.0.1
kubectl set image deployment/frontend frontend=frontend:2.0.1 -n frontend
kubectl rollout restart deployment/frontend
kuberctl get service -n frontend
will return the PUBLIC IPADDRESS