Home Explore Blog CI



kubernetes

5th chunk of `content/en/blog/_posts/2016-10-00-Kubernetes-And-Openstack-At-Yahoo-Japan.md`
cd685836891de7c1f41715ee897eb009ea365c1f6353572c00000001000003d1
![](https://2.bp.blogspot.com/-5su8_2KmuYw/WApqvvw0k8I/AAAAAAAAAxU/36NZG0lTQ1whl-JcCuKCb-kjuISR-PSGwCLcB/s640/Untitled%2Bdrawing%2B%25282%2529.png)](https://2.bp.blogspot.com/-5su8_2KmuYw/WApqvvw0k8I/AAAAAAAAAxU/36NZG0lTQ1whl-JcCuKCb-kjuISR-PSGwCLcB/s1600/Untitled%2Bdrawing%2B%25282%2529.png)

1. 1.push code to GitHub
2. 2.hook to Jenkins master
3. 3.Launch job at Jenkins slave 
4. 4.checkout Dockerfile repository
5. 5.Run Service Job
6. 6.Download base docker image from Artifactory
7. 7.If no docker image found at Artifactory, download from Docker Hub
8. 8.Execute docker build and create image 
9. 9.Upload the image to Artifactory

**Platform Architecture.**



Let’s focus on the container workflow to walk through how we use Kubernetes as a deployment platform. This platform architecture is as below.  


[![](https://2.bp.blogspot.com/-qiqHdUwASOU/WApsUZF7fRI/AAAAAAAAAxc/26b1XqOnybwWiqDoFUXW9QOxoG3ub7nDACLcB/s400/Untitled%2Bdrawing%2B%25284%2529.png)

Title: Container Image Creation Workflow and Introduction to Platform Architecture
Summary
The container image creation process starts with pushing code to GitHub, triggering a Jenkins job that checks out the Dockerfile repository, and running a service job. The process downloads a base Docker image from Artifactory; if not found, it downloads from Docker Hub. The image is then built and uploaded to Artifactory. The following section focuses on the container workflow using Kubernetes as a deployment platform.