Skip to content

Commit ff852e3

Browse files
authored
Merge pull request #33118 from MrErlison/kubeadm-certs-ptbr
Add pt-br/docs/reference/setup-tools/kubeadm/kubeadm-certs.md
2 parents c6ec678 + 684ca73 commit ff852e3

17 files changed

+1426
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
13+
Comandos relacionados ao manuseio de certificados kubernetes
14+
15+
### Sinopse
16+
17+
18+
Comandos relacionados ao manuseio de certificados kubernetes
19+
20+
### Opções
21+
22+
<table style="width: 100%; table-layout: fixed;">
23+
<colgroup>
24+
<col span="1" style="width: 10px;" />
25+
<col span="1" />
26+
</colgroup>
27+
<tbody>
28+
29+
<tr>
30+
<td colspan="2">-h, --help</td>
31+
</tr>
32+
<tr>
33+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para certs</p></td>
34+
</tr>
35+
36+
</tbody>
37+
</table>
38+
39+
40+
41+
### Opções herdadas do comando superior
42+
43+
<table style="width: 100%; table-layout: fixed;">
44+
<colgroup>
45+
<col span="1" style="width: 10px;" />
46+
<col span="1" />
47+
</colgroup>
48+
<tbody>
49+
50+
<tr>
51+
<td colspan="2">--rootfs string</td>
52+
</tr>
53+
<tr>
54+
<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>
55+
</tr>
56+
57+
</tbody>
58+
</table>
59+
60+
61+
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
13+
Gerar as chaves de certificado
14+
15+
### Sinopse
16+
17+
Este comando exibirá uma chave de certificado segura gerada aleatoriamente que pode ser usada com o comando "init".
18+
19+
Você também pode usar "kubeadm init --upload-certs" sem especificar uma chave de certificado e ela irá gerar e exibir uma para você.
20+
21+
```
22+
kubeadm certs certificate-key [flags]
23+
```
24+
25+
### Opções
26+
27+
<table style="width: 100%; table-layout: fixed;">
28+
<colgroup>
29+
<col span="1" style="width: 10px;" />
30+
<col span="1" />
31+
</colgroup>
32+
<tbody>
33+
34+
<tr>
35+
<td colspan="2">-h, --help</td>
36+
</tr>
37+
<tr>
38+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para certificate-key</p></td>
39+
</tr>
40+
41+
</tbody>
42+
</table>
43+
44+
45+
46+
### Opções herdadas do comando superior
47+
48+
<table style="width: 100%; table-layout: fixed;">
49+
<colgroup>
50+
<col span="1" style="width: 10px;" />
51+
<col span="1" />
52+
</colgroup>
53+
<tbody>
54+
55+
<tr>
56+
<td colspan="2">--rootfs string</td>
57+
</tr>
58+
<tr>
59+
<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>
60+
</tr>
61+
62+
</tbody>
63+
</table>
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
13+
Verifique a expiração dos certificados para um cluster Kubernetes
14+
15+
### Sinopse
16+
17+
18+
Verifica a expiração dos certificados PKI local gerenciados pelo kubeadm.
19+
20+
```
21+
kubeadm certs check-expiration [flags]
22+
```
23+
24+
### Opções
25+
26+
<table style="width: 100%; table-layout: fixed;">
27+
<colgroup>
28+
<col span="1" style="width: 10px;" />
29+
<col span="1" />
30+
</colgroup>
31+
<tbody>
32+
33+
<tr>
34+
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Padrão: "/etc/kubernetes/pki"</td>
35+
</tr>
36+
<tr>
37+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>O caminho para salvar os certificados</p></td>
38+
</tr>
39+
40+
<tr>
41+
<td colspan="2">--config string</td>
42+
</tr>
43+
<tr>
44+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Caminho para um arquivo de configuração kubeadm.</p></td>
45+
</tr>
46+
47+
<tr>
48+
<td colspan="2">-h, --help</td>
49+
</tr>
50+
<tr>
51+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para check-expiration</p></td>
52+
</tr>
53+
54+
<tr>
55+
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Padrão: "/etc/kubernetes/admin.conf"</td>
56+
</tr>
57+
<tr>
58+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>O arquivo kubeconfig usado na comunicação com o cluster. Se a flag não estiver definida, um conjunto de locais padrão pode ser pesquisado em busca de um arquivo kubeconfig existente.</p></td>
59+
</tr>
60+
61+
</tbody>
62+
</table>
63+
64+
65+
66+
### Opções herdadas do comando superior
67+
68+
<table style="width: 100%; table-layout: fixed;">
69+
<colgroup>
70+
<col span="1" style="width: 10px;" />
71+
<col span="1" />
72+
</colgroup>
73+
<tbody>
74+
75+
<tr>
76+
<td colspan="2">--rootfs string</td>
77+
</tr>
78+
<tr>
79+
<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>
80+
</tr>
81+
82+
</tbody>
83+
</table>
84+
85+
86+
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
13+
Gerar chaves e solicitações de assinatura de certificados
14+
15+
### Sinopse
16+
17+
Gera as chaves e as solicitações de assinatura de certificados (CSRs) para todos os certificados necessários para executar a camada de gerenciamento. Este comando também gera os arquivos kubeconfig parciais com dados de chave privada no campo "users &gt; user &gt; client-key-data" e, para cada arquivo kubeconfig, um arquivo ".csr" correspondente é criado.
18+
19+
Esse comando foi projetado para uso no [modo de CA externo do Kubeadm](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/#external-ca-mode). Ele gera CSRs que você pode enviar à sua autoridade de certificação externa para assinatura.
20+
21+
Os certificados PEM assinados e codificados devem ser salvos juntamente com os arquivos da chave, usando ".crt" como extensão de arquivo ou, no caso de arquivos kubeconfig, o certificado assinado codificado no formato PEM deve ser codificado em base64 e adicionado ao arquivo kubeconfig no campo "users &gt; user &gt; client-certificate-data".
22+
23+
```
24+
kubeadm certs generate-csr [flags]
25+
```
26+
27+
### Exemplos
28+
29+
```
30+
# O comando a seguir gera as chaves e CSRs para todos os certificados do plano de controle e arquivos kubeconfig:
31+
kubeadm certs generate-csr --kubeconfig-dir /tmp/etc-k8s --cert-dir /tmp/etc-k8s/pki
32+
```
33+
34+
### Opções
35+
36+
<table style="width: 100%; table-layout: fixed;">
37+
<colgroup>
38+
<col span="1" style="width: 10px;" />
39+
<col span="1" />
40+
</colgroup>
41+
<tbody>
42+
43+
<tr>
44+
<td colspan="2">--cert-dir string</td>
45+
</tr>
46+
<tr>
47+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>O caminho para salvar os certificados</p></td>
48+
</tr>
49+
50+
<tr>
51+
<td colspan="2">--config string</td>
52+
</tr>
53+
<tr>
54+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Caminho para um arquivo de configuração kubeadm.</p></td>
55+
</tr>
56+
57+
<tr>
58+
<td colspan="2">-h, --help</td>
59+
</tr>
60+
<tr>
61+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para generate-csr</p></td>
62+
</tr>
63+
64+
<tr>
65+
<td colspan="2">--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Padrão: "/etc/kubernetes"</td>
66+
</tr>
67+
<tr>
68+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>O caminho para salvar o arquivo kubeconfig.</p></td>
69+
</tr>
70+
71+
</tbody>
72+
</table>
73+
74+
75+
76+
### Opções herdadas do comando superior
77+
78+
<table style="width: 100%; table-layout: fixed;">
79+
<colgroup>
80+
<col span="1" style="width: 10px;" />
81+
<col span="1" />
82+
</colgroup>
83+
<tbody>
84+
85+
<tr>
86+
<td colspan="2">--rootfs string</td>
87+
</tr>
88+
<tr>
89+
<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>
90+
</tr>
91+
92+
</tbody>
93+
</table>
94+
95+
96+
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
13+
Renove certificados para um cluster Kubernetes
14+
15+
### Sinopse
16+
17+
Este comando não deve ser executado sozinho. Veja a lista de subcomandos disponíveis.
18+
19+
```
20+
kubeadm certs renew [flags]
21+
```
22+
23+
### Opções
24+
25+
<table style="width: 100%; table-layout: fixed;">
26+
<colgroup>
27+
<col span="1" style="width: 10px;" />
28+
<col span="1" />
29+
</colgroup>
30+
<tbody>
31+
32+
<tr>
33+
<td colspan="2">-h, --help</td>
34+
</tr>
35+
<tr>
36+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>ajuda para renew</p></td>
37+
</tr>
38+
39+
</tbody>
40+
</table>
41+
42+
43+
44+
### Opções herdadas do comando superior
45+
46+
<table style="width: 100%; table-layout: fixed;">
47+
<colgroup>
48+
<col span="1" style="width: 10px;" />
49+
<col span="1" />
50+
</colgroup>
51+
<tbody>
52+
53+
<tr>
54+
<td colspan="2">--rootfs string</td>
55+
</tr>
56+
<tr>
57+
<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>
58+
</tr>
59+
60+
</tbody>
61+
</table>
62+
63+
64+

0 commit comments

Comments
 (0)