You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get your API key from your authentication provider
Encode it for Kubernetes:
echo -n "your-api-key"| base64
Update k8s/secret.yaml with the encoded value
Infrastructure Deployment
cd iac
# Initialize and apply Terraform
terraform init
terraform plan
terraform apply
# Get kubectl config command from output
terraform output kubectl_config_command
# Configure kubectl (use command from output)
aws eks --region <region> update-kubeconfig --name <cluster-name># Verify connection
kubectl cluster-info
Application Deployment
cd k8s
# Make scripts executable
chmod +x *.sh
# 1. Build and push images to ECR
./1_build-and-push.sh
# 2. Update image references in deployment files
./2_update-image-refs.sh
# 3. Deploy to EKS
./3_deploy.sh
Monitoring and Logs
# Check deployment status
kubectl get pods -n boring-media-co
# Get load balancer URL
kubectl get service ingress-nginx-controller -n ingress-nginx
# View logs for a service
kubectl logs -f deployment/sdk -n boring-media-co