1"use strict";(self.webpackChunkhelm_www=self.webpackChunkhelm_www||[]).push([["13056"],{70(e,t,n){n.r(t),n.d(t,{metadata:()=>r,default:()=>u,frontMatter:()=>s,contentTitle:()=>l,toc:()=>c,assets:()=>a});var r=JSON.parse('{"id":"helm/helm_rollback","title":"helm rollback","description":"roll back a release to a previous revision","source":"@site/versioned_docs/version-3/helm/helm_rollback.md","sourceDirName":"helm","slug":"/helm/helm_rollback","permalink":"/docs/v3/helm/helm_rollback","draft":false,"unlisted":false,"editUrl":"https://github.com/helm/helm-www/blob/main/versioned_docs/version-3/helm/helm_rollback.md","tags":[],"version":"3","frontMatter":{"title":"helm rollback"},"sidebar":"tutorialSidebar","previous":{"title":"helm repo update","permalink":"/docs/v3/helm/helm_repo_update"},"next":{"title":"helm search","permalink":"/docs/v3/helm/helm_search"}}'),o=n(74848),i=n(28453);let s={title:"helm rollback"},l,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 9-Sep-2026",id:"auto-generated-by-spf13cobra-on-9-sep-2026",level:6}];function h(e){let t={a:"a",code:"code",h3:"h3",h6:"h6",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:"roll back a release to a previous revision"}),"\n",(0,o.jsx)(t.h3,{id:"synopsis",children:"Synopsis"}),"\n",(0,o.jsx)(t.p,{children:"This command rolls back a release to a previous revision."}),"\n",(0,o.jsx)(t.p,{children:"The first argument of the rollback command is the name of a release, and the\nsecond is a revision (version) number. If this argument is omitted or set to\n0, it will roll back to the previous release."}),"\n",(0,o.jsx)(t.p,{children:"To see revision numbers, run 'helm history RELEASE'."}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:"helm rollback <RELEASE> [REVISION] [flags]\n"})}),"\n",(0,o.jsx)(t.h3,{id:"options",children:"Options"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:" --cleanup-on-fail allow deletion of new resources created in this rollback when rollback fails\n --dry-run simulate a rollback\n --force force resource update through delete/recreate if needed\n -h, --help help for rollback\n --history-max int limit the maximum number of revisions saved per release. Use 0 for no limit (default 10)\n --no-hooks prevent hooks from running during rollback\n --recreate-pods performs pods restart for the resource if applicable\n --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s)\n --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout\n --wait-for-jobs if set and --wait enabled, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as --timeout\n"})}),"\n",(0,o.jsx)(t.h3,{id:"options-inherited-from-parent-commands",children:"Options inherited from parent commands"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{children:' --burst-limit int client-side default throttling limit (default 100)\n --debug enable verbose output\n --kube-apiserver string the address and the port for the Kubernetes API server\n --kube-as-group stringArray group to impersonate for the operation, this flag can be repeated to specify multiple groups.\n --kube-as-user string username to impersonate for the operation\n --kube-ca-file string the certificate authority file for the Kubernetes API server connection\n --kube-context string name of the kubeconfig context to use\n --kube-insecure-skip-tls-verify if true, the Kubernetes API server\'s certificate will not be checked for validity. This will make your HTTPS connections insecure\n --kube-tls-server-name string server name to use for Kubernetes API server certificate validation. If it is not provided, the hostname used to contact the server is used\n --kube-token string bearer token used for authentication\n --kubeconfig string path to the kubeconfig file\n -n, --namespace string namespace scope for this request\n --qps float32 queries per second used when communicating with the Kubernetes API, not including bursting\n --registry-config string path to the registry config file (default "~/.config/helm/registry/config.json")\n --repository-cache string path to the directory containing cached repository indexes (default "~/.cache/helm/repository")\n --repository-config string path to the file containing repository names and URLs (default "~/.config/helm/repositories.yaml")\n'})}),"\n",(0,o.jsx)(t.h3,{id:"see-also",children:"SEE ALSO"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.a,{href:"/docs/v3/helm/helm",children:"helm"})," - The Helm package manager for Kubernetes."]}),"\n"]}),"\n",(0,o.jsx)(t.h6,{id:"auto-generated-by-spf13cobra-on-9-sep-2026",children:"Auto generated by spf13/cobra on 9-Sep-2026"})]})}function u(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},28453(e,t,n){n.d(t,{R:()=>s,x:()=>l});var r=n(96540);let o={},i=r.createContext(o);function s(e){let t=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.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.