1、The Challenges of Kubernetes Data Protection-Real Examples and Solutions with VeleroWenkai Yin()Bo Zou()AgendaVelero IntroductionChallenges and solutionsSummaryWhat Is VeleroOpen source backup and restore toolWebsite:https:/velero.io/Github:https:/ Is VeleroDisaster RecoveryDisaster RecoveryReduces
2、time to recovery in case ofinfrastructure loss,data corruption,and/or service outages.Data Data MigrationMigrationEnables cluster portability by easilymigrating Kubernetes resourcesfrom one cluster to another.Data Data ProtectionProtectionOffers key data protection featuressuch as scheduled backups,
3、retentionschedules,pre or post-backuphooks for custom actions.How Velero WorksVelero ServerNode AgentAPI ServerObject StoreKubernetes Clusterkubectl/Velero CLICRCRBackup Kubernetes ResourcesBackup works like:kubectl get o yaml resources.yamlRestore works like:kubectl apply f resources.yamlBackup/Res
4、tore Kubernetes Resources:Backup Volume DataBackup/Restore Volume Data:File System BackupCSI SnapshotCSI Snapshot+Data MoveNative SnapshotCustomization/ExtensionFilterPluginHooksResource ModifierChallenges and SolutionsDefining Complex Applications by Application Templates and Domain KnowledgeHow to
5、 define an application?Application dependency could be very complex-nobody wants to untangle the mess Third-party application-only vendor knows I want to backup a platform-who knows what to backup?Kubernetes complex applications Multiple application under one namespace One application may contain mu
6、ltiple namespaces,and some cluster scoped resources From business view,a complete application may contain multiple small applicationsk8s complex application example 1namespace1App1App2k8s complex application example 2namespace1namespace2cluster roleCRDsk8s complex application example 3namespacesclus