Home Explore Blog CI



kubernetes

3rd chunk of `content/en/blog/_posts/2016-10-00-Kubernetes-And-Openstack-At-Yahoo-Japan.md`
3d9275a7fa90d6b7e60606a18747c858b27f4939b3713dfd0000000100000360
![](https://4.bp.blogspot.com/-saBA4FKmJEM/WAppk0keRfI/AAAAAAAAAxM/7Y3uw-H3I0Ae_p6IqUu429pJqtwqTGxIgCLcB/s640/Untitled%2Bdrawing.png)](https://4.bp.blogspot.com/-saBA4FKmJEM/WAppk0keRfI/AAAAAAAAAxM/7Y3uw-H3I0Ae_p6IqUu429pJqtwqTGxIgCLcB/s1600/Untitled%2Bdrawing.png)



1. 1.push code to GitHub
2. 2.hook to Jenkins master
3. 3.Launch job at Jenkins slave 
4. 4.checkout Packer repository
5. 5.Run Service Job
6. 6.Execute Packer by build script
7. 7.Packer start VM for OpenStack Glance 
8. 8.Configure VM and install required applications
9. 9.create snapshot and register to glance
10.10.Download the new created image from Glance
11.11.Upload the image to Artifactory

**Bare Metal Image Creation:**



[![](https://1.bp.blogspot.com/-0aPKFfhF33k/WApqIabmf1I/AAAAAAAAAxQ/jR33xg1OoMolm9T2Jt3FFixZt6294zUsACLcB/s640/Untitled%2Bdrawing%2B%25281%2529.png)

Title: VM Image Creation Workflow and Introduction to Bare Metal Image Creation
Summary
The VM image creation process involves pushing code to GitHub, triggering a Jenkins job to checkout the Packer repository and run a service job. Packer then starts a VM for OpenStack Glance, configures it, installs applications, creates a snapshot, registers it to Glance, downloads the image, and uploads it to Artifactory. The next section will describe bare metal image creation.