Skip to content

zarkoPP/Final-Project-Assessment-for-Scalefocus-Academy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Final-Project-Assessment-for-Scalefocus-Academy

Deploy a WordPress on Kubernetes with Helm and automation with Jenkins

Prerequisites:

Before getting started, make sure you have the following tools installed:

Kubernetes

Helm

Jenkins

Getting Started

Follow these steps to deploy WordPress on Kubernetes using Helm and Jenkins:

Open the Jenkins dashboard and create a new pipeline project.

Configure the pipeline to use the Jenkinsfile included in this repository.

Set up the necessary credentials in Jenkins to access your GitHub repository.

Check if the wp namespace exists. If it doesn't, the pipeline will create it automatically.

Check if the WordPress deployment already exists in the wp namespace. If it doesn't, the pipeline will install the Helm chart.

Verify that the Helm deployment was successful and the WordPress pods are running.

Access the WordPress site by loading the home page and verify that it's working correctly.

Repository Structure:

Screenshot_5

Additional Information

In order to install the Kubernetes, Helm and the Jenkins please follow the official guidelines.

Changing the Jenkins configuration to read from the repository:

Screenshot_1

We have build success:

Screenshot_2

Check the pods state:

Screenshot_6

After the build succeded we gonna have to forward the port from the host to the pod:

Screenshot_4

And we get working website hosted on kubernetes:

Screenshot_3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published