Merge pull request #33117 from MrErlison/kubeadm-upgrade-phase-ptbr
Add pt-br/docs/reference/setup-tools/kubeadm/kubeadm-upgrade-phase.md
This commit is contained in:
		
						commit
						1c23ad32e0
					
				|  | @ -0,0 +1,61 @@ | ||||||
|  | <!-- | ||||||
|  | The file is auto-generated from the Go source code of the component using a generic | ||||||
|  | [generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how | ||||||
|  | to generate the reference documentation, please read | ||||||
|  | [Contributing to the reference documentation](/docs/contribute/generate-ref-docs/). | ||||||
|  | To update the reference conent, please follow the  | ||||||
|  | [Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/) | ||||||
|  | guide. You can file document formatting bugs against the | ||||||
|  | [reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project. | ||||||
|  | --> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Use este comando para invocar uma fase única do fluxo de trabalho do nó | ||||||
|  | 
 | ||||||
|  | ### Sinopse | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Use este comando para invocar uma fase única do fluxo de trabalho do nó | ||||||
|  | 
 | ||||||
|  | ### Opções | ||||||
|  | 
 | ||||||
|  |    <table style="width: 100%; table-layout: fixed;"> | ||||||
|  | <colgroup> | ||||||
|  | <col span="1" style="width: 10px;" /> | ||||||
|  | <col span="1" /> | ||||||
|  | </colgroup> | ||||||
|  | <tbody> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">-h, --help</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para fase</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | </tbody> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ### Opções herdadas dos comandos superiores | ||||||
|  | 
 | ||||||
|  |    <table style="width: 100%; table-layout: fixed;"> | ||||||
|  | <colgroup> | ||||||
|  | <col span="1" style="width: 10px;" /> | ||||||
|  | <col span="1" /> | ||||||
|  | </colgroup> | ||||||
|  | <tbody> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--rootfs string</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[EXPERIMENTAL] O caminho para o 'real' sistema de arquivos raiz do host.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | </tbody> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | @ -0,0 +1,100 @@ | ||||||
|  | <!-- | ||||||
|  | The file is auto-generated from the Go source code of the component using a generic | ||||||
|  | [generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how | ||||||
|  | to generate the reference documentation, please read | ||||||
|  | [Contributing to the reference documentation](/docs/contribute/generate-ref-docs/). | ||||||
|  | To update the reference conent, please follow the  | ||||||
|  | [Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/) | ||||||
|  | guide. You can file document formatting bugs against the | ||||||
|  | [reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project. | ||||||
|  | --> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Atualiza a instância da camada de gerenciamento instalada nesse nó, se houver | ||||||
|  | 
 | ||||||
|  | ### Sinopse | ||||||
|  | 
 | ||||||
|  | Atualiza a instância da camada de gerenciamento instalada nesse nó, se houver | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | kubeadm upgrade node phase control-plane [flags] | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ### Opções | ||||||
|  | 
 | ||||||
|  |    <table style="width: 100%; table-layout: fixed;"> | ||||||
|  | <colgroup> | ||||||
|  | <col span="1" style="width: 10px;" /> | ||||||
|  | <col span="1" /> | ||||||
|  | </colgroup> | ||||||
|  | <tbody> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--certificate-renewal     Padrão: true</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Executa a renovação dos certificados usados pelo componente alterado durante as atualizações.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--dry-run</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Não altera nenhum estado, apenas produz as ações que seriam executadas.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--etcd-upgrade     Padrão: true</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Atualiza o etcd.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">-h, --help</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para o comando control-plane</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>O arquivo kubeconfig a ser usado para se comunicar com o cluster. Se a flag não estiver definida, uma série de locais predefinidos pode ser pesquisado por um arquivo kubeconfig existente.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--patches string</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>O caminho para um diretório que contém arquivos chamados "target[suffix][+patchtype].extension". Por exemplo, "kube-apiserver0+merge.yaml" ou apenas "etcd.json". "target" são "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd". "patchtype" pode ser um dos "strategic", "merge" or "json"e eles correspondem aos formatos de patch suportados pelo kubectl. O padrão "patchtype" é "strategic". "extension" deve ser "json" ou "yaml". "suffix" é uma string opcional que pode ser usada para determinar a ordem de aplicação dos patches alfanumericamente.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | </tbody> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ### Opções herdadas dos comandos superiores | ||||||
|  | 
 | ||||||
|  |    <table style="width: 100%; table-layout: fixed;"> | ||||||
|  | <colgroup> | ||||||
|  | <col span="1" style="width: 10px;" /> | ||||||
|  | <col span="1" /> | ||||||
|  | </colgroup> | ||||||
|  | <tbody> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--rootfs string</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[EXPERIMENTAL] O caminho para o 'real' sistema de arquivos raiz do host.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | </tbody> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | @ -0,0 +1,77 @@ | ||||||
|  | <!-- | ||||||
|  | The file is auto-generated from the Go source code of the component using a generic | ||||||
|  | [generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how | ||||||
|  | to generate the reference documentation, please read | ||||||
|  | [Contributing to the reference documentation](/docs/contribute/generate-ref-docs/). | ||||||
|  | To update the reference conent, please follow the  | ||||||
|  | [Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/) | ||||||
|  | guide. You can file document formatting bugs against the | ||||||
|  | [reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project. | ||||||
|  | --> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Atualize a configuração do kubelet para este nó | ||||||
|  | 
 | ||||||
|  | ### Sinopse | ||||||
|  | 
 | ||||||
|  | Baixa no cluster o ConfigMap de configuração do kubelet no formato "kubelet-config-1.X", onde X é a menor versão do kubelet. O kubeadm usa o campo KuberneteVersion no ConfigMap kubeadm-config para determinar qual é a versão _desejada_ do kubelet. | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | kubeadm upgrade node phase kubelet-config [flags] | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ### Opções | ||||||
|  | 
 | ||||||
|  |    <table style="width: 100%; table-layout: fixed;"> | ||||||
|  | <colgroup> | ||||||
|  | <col span="1" style="width: 10px;" /> | ||||||
|  | <col span="1" /> | ||||||
|  | </colgroup> | ||||||
|  | <tbody> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--dry-run</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Não altera nenhum estado, apenas produz as ações que seriam executadas.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">-h, --help</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para kubelet-config</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>O arquivo kubeconfig a ser usado para se comunicar com o cluster. Se a flag não estiver definida, uma série de locais predefinidos pode ser pesquisado por um arquivo kubeconfig existente.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | </tbody> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ### Opções herdadas dos comandos superiores | ||||||
|  | 
 | ||||||
|  |    <table style="width: 100%; table-layout: fixed;"> | ||||||
|  | <colgroup> | ||||||
|  | <col span="1" style="width: 10px;" /> | ||||||
|  | <col span="1" /> | ||||||
|  | </colgroup> | ||||||
|  | <tbody> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--rootfs string</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[EXPERIMENTAL] O caminho para o 'real' sistema de arquivos raiz do host.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | </tbody> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | @ -0,0 +1,68 @@ | ||||||
|  | <!-- | ||||||
|  | The file is auto-generated from the Go source code of the component using a generic | ||||||
|  | [generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how | ||||||
|  | to generate the reference documentation, please read | ||||||
|  | [Contributing to the reference documentation](/docs/contribute/generate-ref-docs/). | ||||||
|  | To update the reference conent, please follow the  | ||||||
|  | [Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/) | ||||||
|  | guide. You can file document formatting bugs against the | ||||||
|  | [reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project. | ||||||
|  | --> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | Execute verificações antes de atualização do nó | ||||||
|  | 
 | ||||||
|  | ### Sinopse | ||||||
|  | 
 | ||||||
|  | Execute verificações antes de atualização do nó | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | kubeadm upgrade node phase preflight [flags] | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ### Opções | ||||||
|  | 
 | ||||||
|  |    <table style="width: 100%; table-layout: fixed;"> | ||||||
|  | <colgroup> | ||||||
|  | <col span="1" style="width: 10px;" /> | ||||||
|  | <col span="1" /> | ||||||
|  | </colgroup> | ||||||
|  | <tbody> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">-h, --help</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para preflight</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--ignore-preflight-errors strings</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Uma lista de verificações cujos erros serão mostrados como avisos. Exemplo: 'IsPrivilegedUser,Swap'. O valor 'all' ignora erros de todas as verificações.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | </tbody> | ||||||
|  | </table> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ### Opções herdadas dos comandos superiores | ||||||
|  | 
 | ||||||
|  |    <table style="width: 100%; table-layout: fixed;"> | ||||||
|  | <colgroup> | ||||||
|  | <col span="1" style="width: 10px;" /> | ||||||
|  | <col span="1" /> | ||||||
|  | </colgroup> | ||||||
|  | <tbody> | ||||||
|  | 
 | ||||||
|  | <tr> | ||||||
|  | <td colspan="2">--rootfs string</td> | ||||||
|  | </tr> | ||||||
|  | <tr> | ||||||
|  | <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[EXPERIMENTAL] O caminho para o 'real' sistema de arquivos raiz do host.</p></td> | ||||||
|  | </tr> | ||||||
|  | 
 | ||||||
|  | </tbody> | ||||||
|  | </table> | ||||||
|  | @ -0,0 +1,26 @@ | ||||||
|  | --- | ||||||
|  | title: kubeadm upgrade phase | ||||||
|  | weight: 90 | ||||||
|  | content_type: concept | ||||||
|  | --- | ||||||
|  | 
 | ||||||
|  | Na versão v1.15.0, o kubeadm introduziu suporte preliminar para as fases `kubeadm upgrade node`. Fases para outros subcomandos `kubeadm upgrade`, tal como `apply`, podem ser adicionadas nas seguintes versões. | ||||||
|  | 
 | ||||||
|  | ## kubeadm upgrade node phase {#cmd-node-phase} | ||||||
|  | 
 | ||||||
|  | Usando essa fase, você pode optar por executar as etapas separadas da atualização de nós, sejam eles nós secundários da camada de gerenciamento ou nós de execução de cargas de trabalho. Observe que `kubeadm upgrade apply` ainda precisa ser chamado em um nó principal da camada de gerenciamento. | ||||||
|  | 
 | ||||||
|  | {{< tabs name="tab-phase" >}} | ||||||
|  | {{< tab name="phase" include="generated/kubeadm_upgrade_node_phase.md" />}} | ||||||
|  | {{< tab name="preflight" include="generated/kubeadm_upgrade_node_phase_preflight.md" />}} | ||||||
|  | {{< tab name="control-plane" include="generated/kubeadm_upgrade_node_phase_control-plane.md" />}} | ||||||
|  | {{< tab name="kubelet-config" include="generated/kubeadm_upgrade_node_phase_kubelet-config.md" />}} | ||||||
|  | {{< /tabs >}} | ||||||
|  | 
 | ||||||
|  | ## {{% heading "whatsnext" %}} | ||||||
|  | 
 | ||||||
|  | * [kubeadm init](/docs/reference/setup-tools/kubeadm/kubeadm-init) para inicializar um nó da camada de gerenciamento do Kubernetes  | ||||||
|  | * [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) para inicializar um nó `worker` do Kubernetes e associá-lo ao cluster | ||||||
|  | * [kubeadm reset](/docs/reference/setup-tools/kubeadm/kubeadm-reset) para reverter quaisquer alterações feitas, neste host, pelo `kubeadm init` ou `kubeadm join` | ||||||
|  | * [kubeadm upgrade](/docs/reference/setup-tools/kubeadm/kubeadm-upgrade) para atualizar um cluster Kubernetes para uma versão mais recente | ||||||
|  | * [kubeadm alpha](/docs/reference/setup-tools/kubeadm/kubeadm-alpha) para visualizar um conjunto de recursos disponibilizados para coletar feedback da comunidade | ||||||
		Loading…
	
		Reference in New Issue