首页 > 其他分享 >Velero系列文章(三):Velero资源过滤

Velero系列文章(三):Velero资源过滤

时间:2022-12-11 10:01:41浏览次数:65  
标签:Velero management 文章 system 过滤 io cattle fleet k8s

根据资源过滤

格式为: resource.group, 如 ​​storageclasses.storage.k8s.io​

比如要排除以下资源:

命令如下:

velero backup create default-all \
--exclude-resources replicasets,endpointslices.discovery.k8s.io,endpoints,events.events.k8s.io,pods,authconfigs.management.cattle.io,clusterrepos.catalog.cattle.io,clusters.management.cattle.io,csinodes.storage.k8s.io,features.management.cattle.io,settings.management.cattle.io

根据 NameSpace 进行过滤

命令示例如下:

velero schedule create default-exclude-rancher-daily \ 
--schedule="@every 24h" \
--exclude-namespaces c-m-2hpl28vh,c-m-xgr56lxz,cattle-dashboards,cattle-fleet-clusters-system,cattle-fleet-local-system,cattle-fleet-system,cattle-global-data,cattle-global-nt,cattle-impersonation-system,cattle-resources-system,cattle-system,cluster-fleet-default-home-k3s-e7c0722dc658,cluster-fleet-default-multicloud-k3s-6c520ab37e6d,cluster-fleet-local-local-1a3d67d0a899,fleet-default,fleet-local,local,p-67tgc,p-6bnxt,p-dj2vc,p-k77t2,p-lzt79,p-qrjhz,p-zlf9l,p-zpwst,user-5rvgp

执行定期备份

如上, 命令如下:

velero schedule create default-exclude-rancher-daily \
--schedule="@every 24h"

系列文章

标签:Velero,management,文章,system,过滤,io,cattle,fleet,k8s
From: https://blog.51cto.com/u_15875298/5928105

相关文章

  • Asp.Net 排出过滤特殊字符串
      safe_360.csusingSystem;usingSystem.Collections.Generic;usingSystem.Text.RegularExpressions;usingSystem.Web;///<summary>///safe_360的摘要说明///</sum......
  • easylogging++的那些事文章大全
    easylogging++的那些事(一)功能介绍easylogging++的那些事(二)宏定义easylogging++的那些事(三)总体设计easylogging++的那些事(四)源码分析(一)主流程easylogging++的......
  • 过滤组件的使用
    过滤Filtering对于列表数据可能需要根据字段进行过滤,我们可以通过添加django-filter扩展来增强支持pipinstalldjango-filter在配置文件中添加过滤后端的设置INSTALL......
  • Velero 系列文章(二):使用 Helm 安装 Velero
    概述本文是通过Helm3来安装Velero,只做最基本的安装。并计划将YAML(只备份YAML,不备份Volume)备份到腾讯云的COS(兼容S3,所以可以通过AWSS3插件来实现)需要......
  • Velero 系列文章(二):使用 Helm 安装 Velero
    概述本文是通过Helm3来安装Velero,只做最基本的安装。并计划将YAML(只备份YAML,不备份Volume)备份到腾讯云的COS(兼容S3,所以可以通过AWSS3插件来实现)需......
  • LINUX下EPOLL等不错的文章收藏
    1通俗讲解异步,非阻塞和IO复用​​​https://www.zybuluo.com/phper/note/595507​​​2知乎问答https://www.zhihu.com/question/20122137/......
  • 来自腾讯设计师的一篇不错的文章
    《服务设计思维》​​​https://mp.weixin.qq.com/s/D1azaUEbpWNblbjjT-Lftw​​​其中关于重要概念的图:http://www.woshipm.com/pd/375766.html《顾客旅程地图》服务......
  • 使用过滤器预加载数据
    核心用法引入其它页面<jsp:includepage="head.jsp"></jsp:include>过滤器处理数据packagefilter;importjavax.servlet.*;importjavax.servlet.annotation.WebFilter;imp......
  • 黑客级别的文章:把动态库的内存操作玩出了新花样
    作者:道哥,10+年嵌入式开发老兵,专注于:C/C++、嵌入式、Linux。关注,回复【书籍】,获取Linux、嵌入式领域经典书籍;回复【PDF】,获取所有原创文章(PDF格式)。目录文章目录​......
  • 01jQuery之获取和引用jQ、页面加载事件绑定、基本选择器、过滤选择器
    下载:进入​​jQuery官网​​,进行下载,其中jQuery库分开发版和发布版引用jQ:<scriptsrc="js/jquery-1.12.4.js"type="text/javascript"></script>页面加载事件绑定:其中jq......