Zum Hauptinhalt springen
Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Velero for Kubernetes Backup and Recovery -  William Smith

Velero for Kubernetes Backup and Recovery (eBook)

The Complete Guide for Developers and Engineers
eBook Download: EPUB
2025 | 1. Auflage
250 Seiten
HiTeX Press (Verlag)
978-0-00-097320-7 (ISBN)
Systemvoraussetzungen
8,48 inkl. MwSt
(CHF 8,25)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

'Velero for Kubernetes Backup and Recovery'
In the rapidly evolving world of cloud-native computing, 'Velero for Kubernetes Backup and Recovery' is an essential guide for mastering modern data protection in Kubernetes environments. This comprehensive resource begins with foundational principles of Kubernetes storage, exploring persistent volumes, claims, and storage classes, while addressing the distinctive challenges of managing stateful applications and ensuring robust data protection. Readers learn how to mitigate risks, design for resilience, and navigate the intricacies of security and compliance mandates crucial for safeguarding sensitive data.
The book offers a deep dive into Velero's architecture, guiding practitioners through the deployment, configuration, and integration of this powerful open-source tool across cloud and on-premises clusters. Detailed explorations of Custom Resource Definitions, plugin ecosystems, storage provider integrations, and observability frameworks empower readers to tailor backup and restore workflows to their specific operational needs. Real-world operational patterns are presented for backup scheduling, resource filtering, retention policies, and automated disaster recovery, ensuring reliable data management at both startup and enterprise scales.
Through rigorous troubleshooting guidance, advanced use cases, and best practice blueprints, the book equips engineers and architects with the skills needed for high availability, multi-cluster scalability, and proactive compliance. Whether you are deploying Velero for the first time or seeking to optimize complex, mission-critical environments, this authoritative reference illuminates every stage of the backup and recovery journey-enabling seamless, auditable, and resilient data operations in Kubernetes.

Chapter 1
Kubernetes Storage and Data Protection Fundamentals


Before you can reliably safeguard modern cloud-native workloads, you must first uncover the intricacies of how data lives, moves, and can be lost within Kubernetes. This chapter challenges you to look beneath the surface of PVCs and pods, revealing what makes stateful data uniquely vulnerable—and how to build a foundation for resilient backup from the ground up. Whether architecting critical business applications or designing robust disaster recovery, mastering these fundamentals is your passport to building systems that stand the test of failure.

1.1 Persistent Storage in Kubernetes


The architecture of persistent storage in Kubernetes is built around abstractions that enable a clear separation between storage provisioning and the container lifecycle, thereby addressing the inherent ephemeral nature of containers. Central to this architecture are Persistent Volumes (PVs), Persistent Volume Claims (PVCs), and Storage Classes, which together facilitate decoupling of storage from compute resources and promote flexibility in storage management across heterogeneous environments.

A Persistent Volume (PV) is a piece of storage in the cluster provisioned by an administrator or dynamically created using Storage Classes. PVs exist beyond the lifecycle of individual pods, supporting data persistence even when containers are terminated or rescheduled. They represent a cluster-wide resource, abstracting physical storage devices or networked storage services in a unified API. The specification of a PV includes details such as storage capacity, access modes, reclaim policy, and the underlying storage backend type, which can range from cloud provider block storage, Network File System (NFS), to distributed storage systems such as Ceph or GlusterFS.

Persistent Volume Claims (PVCs) act as requests for storage by users or applications. A PVC specifies desired storage requirements including size, access mode, and may optionally reference a Storage Class to influence provisioning. PVCs are bound to matching PVs based on these criteria, establishing a dynamic linkage between the requesting workload and the physical or virtual storage resource. The Kubernetes control plane continuously monitors PVCs and PVs to ensure binding state consistency, reintegrating released storage or provisioning new volumes if necessary.

apiVersion: v1 
kind: PersistentVolumeClaim 
metadata: 
  name: example-pvc 
spec: 
  accessModes: 
    - ReadWriteOnce 
  resources: 
    requests: 
      storage: 10Gi 
  storageClassName: fast-ssd

The Storage Class object serves as a template describing how PVs should be dynamically provisioned. It encapsulates provisioner plugins, parameters such as type of underlying media, replication factors, and reclaim policies. Dynamic provisioning eliminates the need for administrators to create PVs manually; upon PVC requests specifying a Storage Class, Kubernetes invokes the appropriate provisioner to create PVs on-demand. This enhances agility and scalability in multi-tenant and cloud-native environments.

Understanding access modes is critical for designing persistent storage that aligns with application requirements. Kubernetes defines three access modes:

  • ReadWriteOnce (RWO): allows a volume to be mounted as read-write by a single node,
  • ReadOnlyMany (ROX): permits read-only access by many nodes,
  • ReadWriteMany (RWX): supports concurrent read-write access across multiple nodes.

Not all backends support all access modes; for instance, block storage volumes typically support only RWO, whereas networked file systems can offer RWX. Selection of access modes affects data consistency models, performance characteristics, and application design considerations.

The integration of persistent storage within containerized environments presents unique challenges to traditional storage operations. Containers are ephemeral and stateless by design, which conflicts with the need for durable data storage. Kubernetes overcomes this by utilizing the PV/PVC abstraction, which maps ephemeral pod volumes to persistent data stores. However, the container runtime and orchestration cadence introduce complexities such as volume mount propagation, node affinity, and storage lifecycle events that must be coordinated with underlying storage systems. Additionally, container storage interfaces (CSI) standardize volume plugin development, enabling a broad ecosystem of storage solutions to expose their capabilities seamlessly to the Kubernetes control plane.

# When a PVC is created: 
kubectl apply -f example-pvc.yaml 
 
# Kubernetes controller triggers the provisioner defined by the StorageClass fast-ssd 
# Provisioner creates a PV on the storage backend with specified parameters 
# PV is bound to the PVC when ready

Storage backends available...

Erscheint lt. Verlag 24.7.2025
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
ISBN-10 0-00-097320-3 / 0000973203
ISBN-13 978-0-00-097320-7 / 9780000973207
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
EPUBEPUB (Adobe DRM)
Größe: 671 KB

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belle­tristik und Sach­büchern. Der Fließ­text wird dynamisch an die Display- und Schrift­größe ange­passt. Auch für mobile Lese­geräte ist EPUB daher gut geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Apps programmieren für macOS, iOS, watchOS und tvOS

von Thomas Sillmann

eBook Download (2025)
Carl Hanser Verlag GmbH & Co. KG
CHF 40,95
Apps programmieren für macOS, iOS, watchOS und tvOS

von Thomas Sillmann

eBook Download (2025)
Carl Hanser Verlag GmbH & Co. KG
CHF 40,95