19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6 ■ Using Volumes

Change directory (cd) to the git-repo directory. List the directories, and the kubernetes-volume

directory is listed, as shown in Figure 6-27.

Figure 6-27. Listing the kubernetes-volume directory

Change directory (cd) to the kubernetes-volume directory. List the directories and the pod.yaml file on

the Git repo should be listed, as shown in Figure 6-28.

Figure 6-28. Listing files in the kubernetes-volume directory

Summary

In this chapter we introduced the different types of Kubernetes volumes and then used two of these volumes,

an awsElasticBlockStore volume and a gitRepo volume. For the awsElasticBlockStore an AWS volume

had to be created, and for the gitRepo volume a Git repo had to be created. In the next chapter we will

discuss using the different types of services.

152

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!