1"use strict";(self.webpackChunkhelm_www=self.webpackChunkhelm_www||[]).push([["33159"],{28866(e,n,o){o.r(n),o.d(n,{metadata:()=>r,default:()=>h,frontMatter:()=>s,contentTitle:()=>i,toc:()=>c,assets:()=>a});var r=JSON.parse('{"id":"helm/helm_rollback","title":"helm rollback","description":"Rollback a release to a previous revision","source":"@site/versioned_docs/version-2/helm/helm_rollback.md","sourceDirName":"helm","slug":"/helm/helm_rollback","permalink":"/docs/v2/helm/helm_rollback","draft":false,"unlisted":false,"editUrl":"https://github.com/helm/helm-www/blob/main/versioned_docs/version-2/helm/helm_rollback.md","tags":[],"version":"2","sidebarPosition":37,"frontMatter":{"title":"helm rollback","sidebar_position":37,"sidebar_label":"Helm Rollback"},"sidebar":"tutorialSidebar","previous":{"title":"Helm Reset","permalink":"/docs/v2/helm/helm_reset"},"next":{"title":"Helm Search","permalink":"/docs/v2/helm/helm_search"}}'),t=o(74848),l=o(28453);let s={title:"helm rollback",sidebar_position:37,sidebar_label:"Helm Rollback"},i,a={},c=[{value:"Synopsis",id:"synopsis",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:"Auto generated by spf13/cobra on 16-May-2019",id:"auto-generated-by-spf13cobra-on-16-may-2019",level:6}];function d(e){let n={a:"a",code:"code",h3:"h3",h6:"h6",li:"li",p:"p",pre:"pre",ul:"ul",...(0,l.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.p,{children:"Rollback a release to a previous revision"}),"\n",(0,t.jsx)(n.h3,{id:"synopsis",children:"Synopsis"}),"\n",(0,t.jsx)(n.p,{children:"This command rolls back a release to a previous revision."}),"\n",(0,t.jsx)(n.p,{children:"The first argument of the rollback command is the name of a release, and the\nsecond is a revision (version) number. To see revision numbers, run\n'helm history RELEASE'. If you'd like to rollback to the previous release use\n'helm rollback [RELEASE] 0'."}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{children:"helm rollback [flags] [RELEASE] [REVISION]\n"})}),"\n",(0,t.jsx)(n.h3,{id:"options",children:"Options"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{children:' --cleanup-on-fail Allow deletion of new resources created in this rollback when rollback failed\n --description string Specify a description for the release\n --dry-run Simulate a rollback\n --force Force resource update through delete/recreate if needed\n -h, --help help for rollback\n --no-hooks Prevent hooks from running during rollback\n --recreate-pods Performs pods restart for the resource if applicable\n --timeout int Time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)\n --tls Enable TLS for request\n --tls-ca-cert string Path to TLS CA certificate file (default "$HELM_HOME/ca.pem")\n --tls-cert string Path to TLS certificate file (default "$HELM_HOME/cert.pem")\n --tls-hostname string The server name used to verify the hostname on the returned certificates from the server\n --tls-key string Path to TLS key file (default "$HELM_HOME/key.pem")\n --tls-verify Enable TLS for request and verify remote\n --wait If set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful. It will wait for as long as --timeout\n'})}),"\n",(0,t.jsx)(n.h3,{id:"options-inherited-from-parent-commands",children:"Options inherited from parent commands"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{children:' --debug Enable verbose output\n --home string Location of your Helm config. Overrides $HELM_HOME (default "~/.helm")\n --host string Address of Tiller. Overrides $HELM_HOST\n --kube-context string Name of the kubeconfig context to use\n --kubeconfig string Absolute path of the kubeconfig file to be used\n --tiller-connection-timeout int The duration (in seconds) Helm will wait to establish a connection to Tiller (default 300)\n --tiller-namespace string Namespace of Tiller (default "kube-system")\n'})}),"\n",(0,t.jsx)(n.h3,{id:"see-also",children:"SEE ALSO"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/docs/v2/helm/",children:"helm"})," - The Helm package manager for Kubernetes."]}),"\n"]}),"\n",(0,t.jsx)(n.h6,{id:"auto-generated-by-spf13cobra-on-16-may-2019",children:"Auto generated by spf13/cobra on 16-May-2019"})]})}function h(e={}){let{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},28453(e,n,o){o.d(n,{R:()=>s,x:()=>i});var r=o(96540);let t={},l=r.createContext(t);function s(e){let n=r.useContext(l);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:s(e.components),r.createElement(l.Provider,{value:n},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.