We are seeking a skilled developer to containerize our Laravel application and configure it for deployment on Kubernetes in new server environments.

1. Containerize Laravel Application
• Create Docker Images: Prepare Dockerfiles for your Laravel websites to include:
◦ Base Image: Use PHP-FPM with required extensions.
◦ Web Server: Set up Nginx.
◦ Caching: Install and configure Redis.
◦ Environment Variables: Add .env file configuration for Laravel.
◦ Permissions: Ensure storage and bootstrap/cache directories are writable.
• Test each website locally with docker-compose to ensure it works as expected.

2. YAML Configuration for Kubernetes
• Deployment Files: Write Deployment and Service YAMLs for each website:
◦ Nginx: Configure as a reverse proxy for Laravel.
◦ Redis: Configure as a caching service.
◦ Use PersistentVolumeClaims (PVCs) for file storage if needed.
• Ingress Controller:
◦ Set up an ingress resource for routing multiple websites to their respective containers.
◦ Define hostnames and SSL using cert-manager or external certificates.
• 3. Integrate GitHub Pipelines
• Create a GitHub Actions pipeline to automate builds and deployments:
1 Build Stage:
▪ Build Docker images for each website using GitHub Actions.
2 Push Stage:
▪ Push Docker images to a container registry (Docker Hub, GitHub Container Registry, etc.).
3 Deploy Stage:
▪ Use kubectl or Helm to deploy to your k3s cluster.
4. Database Configuration
5. Finalizing Deployment
Validate and Monitor
• Test all 3 websites to ensure they’re functioning as expected.
• Use monitoring tools like Prometheus and Grafana for metrics, or implement basic health checks with Kubernetes.

The ideal candidate will have experience with Docker and Kubernetes, along with a solid understanding of Laravel architecture. You will be responsible for ensuring smooth integration and scalability of the application in a containerized environment. If you have a passion for cloud-native applications and a track record of successful deployments, we want to hear from you!

Budget

$70.00

Project type: Fixed
Cloud Categories
AWS
Select Skills
Automation, AWS, DevOps
Project Categories
Devops Engineer, Docker, Kubernetes
Project Type
Fixed