- Set up Bitnami Repo
helm repo add bitnami https://charts.bitnami.com/bitnami
- Creating a PersistentVolume (PV) and a PersistentVolumeClaim (PVC)
kubectl postgres-storage.yaml
- Install Helm Postgres Chart into cluster.
helm install co-working -f value.yaml bitnami/postgresql --set volumePermissions.enabled=true
Step 2: Create a Dockerfile for the Python application and build codeBuild to create and push image into AWS ECR.
Create a CodeBuild project to connect with the repository and build the Image into AWS ECR and configure it to trigger a build each time there is a merge in the repo
Step 3: Create a service and deployment using Kubernetes configuration files to deploy the application.
- Create a service and deployment yaml file
- Apply configMap, secret, application deployment, application service into cluster
kubectl apply -f deployments/
kubectl get pods