PageSourceSearch

https://kubevela.io/assets/js/6e34de7e.4a8fa756.js

js kubevela.io collected 2026-10-02 03:37:30 UTC 4,088 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkkubevela_io=self.webpackChunkkubevela_io||[]).push([[5104],{17299:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"cli/vela_config_distribute","title":"vela config distribute","description":"Distribute a config","source":"@site/versioned_docs/version-v1.10/cli/vela_config_distribute.md","sourceDirName":"cli","slug":"/cli/vela_config_distribute","permalink":"/docs/v1.10/cli/vela_config_distribute","draft":false,"unlisted":false,"editUrl":"https://github.com/kubevela/kubevela.io/edit/main/docs/cli/vela_config_distribute.md","tags":[],"version":"v1.10","lastUpdatedBy":"Shivin Gopalani","lastUpdatedAt":1739436291000,"frontMatter":{"title":"vela config distribute"}}');var s=n(74848),r=n(28453);const a={title:"vela config distribute"},o=void 0,l={},c=[{value:"Examples",id:"examples",level:3},{value:"Options",id:"options",level:3},{value:"Options inherited from parent commands",id:"options-inherited-from-parent-commands",level:3},{value:"SEE ALSO",id:"see-also",level:3},{value:"Go Back to CLI Commands Homepage.",id:"go-back-to-cli-commands-homepage",level:4},{value:"Auto generated by spf13/cobra script in KubeVela.",id:"auto-generated-by-spf13cobra-script-in-kubevela",level:6}];function d(e){const t={a:"a",code:"code",h3:"h3",h4:"h4",h6:"h6",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Distribute a config"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"vela config distribute [flags]\n"})}),"\n",(0,s.jsx)(t.h3,{id:"examples",children:"Examples"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"  # distribute the config(test-registry) from the vela-system namespace to the default namespace in the local cluster.\n  vela config d test-registry -t default\n  \n  # distribute the config(test-registry) from the vela-system namespace to the other clusters.\n  vela config d test-registry -t cluster1/default -t cluster2/default\n  \n  # recall the config\n  vela config d test-registry --recall\n"})}),"\n",(0,s.jsx)(t.h3,{id:"options",children:"Options"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:'  -h, --help                 help for distribute\n  -n, --namespace string     specify the namespace of the distribution (default "vela-system")\n  -r, --recall               this field means recalling the configs from all targets.\n  -t, --target stringArray   specify the targets that want to distribute,the format is: <clusterName>/<namespace>\n'})}),"\n",(0,s.jsx)(t.h3,{id:"options-inherited-from-parent-commands",children:"Options inherited from parent commands"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"  -V, --verbosity Level   number for the log level verbosity\n  -y, --yes               Assume yes for all user prompts\n"})}),"\n",(0,s.jsx)(t.h3,{id:"see-also",children:"SEE ALSO"}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.a,{href:"/docs/v1.10/cli/vela_config",children:"vela config"}),"\t - Manage the configs."]}),"\n"]}),"\n",(0,s.jsxs)(t.h4,{id:"go-back-to-cli-commands-homepage",children:["Go Back to ",(0,s.jsx)(t.a,{href:"/docs/v1.10/cli/vela",children:"CLI Commands"})," Homepage."]}),"\n",(0,s.jsxs)(t.h6,{id:"auto-generated-by-spf13cobra-script-in-kubevela",children:["Auto generated by ",(0,s.jsx)(t.a,{href:"https://github.com/kubevela/kubevela/tree/master/hack/docgen",children:"spf13/cobra script in KubeVela"}),"."]})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},28453:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>o});var i=n(96540);const s={},r=i.createContext(s);function a(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.