Skip to content

cloud-native-java-book/k8s-in-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Components & Concepts:

This repo is a result of Kubernetes in Action reading. which is one of the best books that have been written to explore the Kubernetes World.

Persistent Volumes

Volumes Type:

  • emptyDir: a simple empty directory used for storing transient data.

  • hostPath: used for mounting directories from the worker node's filesystem into the pod.

  • gitRepo: a volume initialized by checking out the contents of a Git Repository.

  • nfs: an NFS share mounted into the pod.

  • gcePersistentDisk: (Google Compute Engine Persistent Disk), awsElasticBlockStore (Amazon Web Services Elastic Block Store Volume), azureDisk (Azure Disk Volume) used for mounting cloud provide-specific storage.

  • cinder, cephfs, iscsi, flocker, glusterfs, quobyte, rbd, flexVolume, vsphereVolume, photonPersistentDisk, scalaIO: used for mounting other types of network storage.

  • configMap, secrets, downwardAPI: special types of volumes used to expose certain kubernetes resources and cluster information to the pod.

  • persistentVolumeClaim: a way to use pre- or dynamically provisioned persistent storage.

gitRepo: Using Git Repo as the starting point for a volume:

gitRepo: repository: https://... revision: masater # which branch directory: . # whether to clone the project in a new folder or in the root folder.

PersistentVolume:

PersistentVolumes don;t belong to any namespace, they are cluster-level resources like nodes.

StatefulSets:

  • provide a stable network identity: each pod created by a StatefulSet is assigned an ordinal index (zero-based), which is then used to derive the pod's and hostname, and to attach stable storage to the pod.

About

This project contains a set of sub-project that introduces the Kubernetes components and concepts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published