curl -X POST -H "NotBad:true" http://51.20.186.17curl -X POST -H "NotBad:true" http://NotBadALB-1427893208.eu-north-1.elb.amazonaws.com:8089
- Python Flask
- Dockerize
- Docker-Compose
- Network
- EC2
- ALB ( Optional )
- Security Groups
- ECR
- Dynamically Create Inventory File for Ansible
- Setup micro8s
- Enable Ingress
- Enable ArgoCD
- Build and push image
- Create user with ECR push permission
- Develop the actual pipeline declarations and test
- Create K8s Resource Definitions
- Deployment
- Service
- Ingress
- Create image pull secret
kubectl create secret docker-registry regcred \
--docker-server=820469828681.dkr.ecr.eu-north-1.amazonaws.com \
--docker-username=AWS \
--docker-password=$(aws ecr get-login-password) \
--namespace=notbad
- Perform deployment locally via kubectl
- Perform deployment with ArgoCD
- kubectl port-forward service/argo-cd-argocd-server -n argocd 8080:443
- After reaching the UI the first time you can login with username: admin and the random password generated during the installation. You can find the password by running:
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d


