From 72c763f653170e5f05b454fe5393ccdbdfac92d4 Mon Sep 17 00:00:00 2001 From: "Mr. Erlison" Date: Sat, 11 Jun 2022 07:54:19 -0300 Subject: [PATCH] Translate include files --- .../kubeadm/generated/kubeadm_token.md | 96 ------------------- .../kubeadm/generated/kubeadm_token_create.md | 48 ++++------ .../kubeadm/generated/kubeadm_token_delete.md | 26 +++-- .../generated/kubeadm_token_generate.md | 31 +++--- .../kubeadm/generated/kubeadm_token_list.md | 31 +++--- 5 files changed, 58 insertions(+), 174 deletions(-) delete mode 100644 content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token.md diff --git a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token.md b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token.md deleted file mode 100644 index 5384fc4d6c..0000000000 --- a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token.md +++ /dev/null @@ -1,96 +0,0 @@ - - - -Manage bootstrap tokens - -### Synopsis - - - -This command manages bootstrap tokens. It is optional and needed only for advanced use cases. - -In short, bootstrap tokens are used for establishing bidirectional trust between a client and a server. -A bootstrap token can be used when a client (for example a node that is about to join the cluster) needs -to trust the server it is talking to. Then a bootstrap token with the "signing" usage can be used. -bootstrap tokens can also function as a way to allow short-lived authentication to the API Server -(the token serves as a way for the API Server to trust the client), for example for doing the TLS Bootstrap. - -What is a bootstrap token more exactly? - - It is a Secret in the kube-system namespace of type "bootstrap.kubernetes.io/token". - - A bootstrap token must be of the form "[a-z0-9]{6}.[a-z0-9]{16}". The former part is the public token ID, - while the latter is the Token Secret and it must be kept private at all circumstances! - - The name of the Secret must be named "bootstrap-token-(token-id)". - -You can read more about bootstrap tokens here: - https://kubernetes.io/docs/admin/bootstrap-tokens/ - - -``` -kubeadm token [flags] -``` - -### Options - - ---- - - - - - - - - - - - - - - - - - - - - - - - - -
--dry-run

Whether to enable dry-run mode or not

-h, --help

help for token

--kubeconfig string     Default: "/etc/kubernetes/admin.conf"

The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.

- - - -### Options inherited from parent commands - - ---- - - - - - - - - - - -
--rootfs string

[EXPERIMENTAL] The path to the 'real' host root filesystem.

- - - diff --git a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_create.md b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_create.md index a2a217033c..e2449ac886 100644 --- a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_create.md +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_create.md @@ -10,25 +10,19 @@ guide. You can file document formatting bugs against the --> -Create bootstrap tokens on the server +Crie tokens de inicialização no servidor -### Synopsis +### Sinopse +Este comando criará um token de inicialização. Você pode especificar os usos para este token, o "tempo de vida" e uma descrição amigável, que é opcional. - -This command will create a bootstrap token for you. -You can specify the usages for this token, the "time to live" and an optional human friendly description. - -The [token] is the actual token to write. -This should be a securely generated random token of the form "[a-z0-9]{6}.[a-z0-9]{16}". -If no [token] is given, kubeadm will generate a random token instead. - +O [token] é o token real para gravar. Este deve ser um token aleatório gerado com segurança da forma "[a-z0-9]{6}.[a-z0-9]{16}". Se nenhum [token] for fornecido, o kubeadm gerará um token aleatório. ``` kubeadm token create [token] ``` -### Options +### Opções @@ -41,56 +35,56 @@ kubeadm token create [token] - + - + - + - + - + - + - + - + - + - + - + @@ -98,7 +92,7 @@ kubeadm token create [token] -### Options inherited from parent commands +### Opções herdadas do comando superior
--certificate-key string

When used together with '--print-join-command', print the full 'kubeadm join' flag needed to join the cluster as a control-plane. To create a new certificate key you must use 'kubeadm init phase upload-certs --upload-certs'.

Quando usado em conjunto com '--print-join-command', exibe a flag completa 'kubeadm join' necessário para se unir ao cluster como uma camada de gerenciamento. Para criar uma nova chave de certificado, você deve usar 'kubeadm init phase upload-certs --upload-certs'.

--config string

Path to a kubeadm configuration file.

Caminho para o arquivo de configuração kubeadm.

--description string

A human friendly description of how this token is used.

Uma descrição amigável de como esse token é usado.

--groups strings     Default: "system:bootstrappers:kubeadm:default-node-token"--groups strings     Padrão: "system:bootstrappers:kubeadm:default-node-token"

Extra groups that this token will authenticate as when used for authentication. Must match "\Asystem:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]\z"

Grupos extras que este token autenticará quando usado para autenticação. Deve corresponder "\Asystem:bootstrappers:[a-z0-9:-]{0,255}[a-z0-9]\z"

-h, --help

help for create

ajuda para create

--print-join-command

Instead of printing only the token, print the full 'kubeadm join' flag needed to join the cluster using the token.

Em vez de exibir apenas o token, a flag completa 'kubeadm join' exibe o comando necessário para se associar ao cluster usando o token.

--ttl duration     Default: 24h0m0s--ttl duração     Padrão: 24h0m0s

The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire

A duração antes do token ser excluído automaticamente (por exemplo, 1s, 2m, 3h). Se definido como '0', o token nunca expirará

--usages strings     Default: "signing,authentication"--usages strings     Padrão: "signing,authentication"

Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [signing,authentication]

Descreve as maneiras pelas quais esse token pode ser usado. Você pode passar --usages várias vezes ou fornecer uma lista de opções separada por vírgulas. Opções válidas: [signing,authentication]

@@ -111,21 +105,21 @@ kubeadm token create [token] - + - + - + - + diff --git a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_delete.md b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_delete.md index 2040bd3f94..b8cff9cb31 100644 --- a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_delete.md +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_delete.md @@ -10,23 +10,19 @@ guide. You can file document formatting bugs against the --> -Delete bootstrap tokens on the server +Excluir tokens de inicialização no servidor -### Synopsis +### Sinopse +Este comando excluirá uma lista de tokens de inicialização para você. - -This command will delete a list of bootstrap tokens for you. - -The [token-value] is the full Token of the form "[a-z0-9]{6}.[a-z0-9]{16}" or the -Token ID of the form "[a-z0-9]{6}" to delete. - +O [token-value] é um Token completo na forma "[a-z0-9]{6}.[a-z0-9]{16}" ou o ID do Token na forma "[a-z0-9]{6}" a ser excluído. ``` kubeadm token delete [token-value] ... ``` -### Options +### Opções
--dry-run

Whether to enable dry-run mode or not

Ativar ou não o modo de execução dry-run

--kubeconfig string     Default: "/etc/kubernetes/admin.conf"--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"

The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.

O arquivo kubeconfig a ser usado para se comunicar com o cluster. Se a flag não estiver definida, um conjunto de padrão locais pode ser pesquisado por um arquivo kubeconfig existente.

--rootfs string

[EXPERIMENTAL] The path to the 'real' host root filesystem.

[EXPERIMENTAL] O caminho para o 'real' sistema de arquivos raiz do host.

@@ -39,7 +35,7 @@ kubeadm token delete [token-value] ... - + @@ -47,7 +43,7 @@ kubeadm token delete [token-value] ... -### Options inherited from parent commands +### Opções herdadas do comando superior
-h, --help

help for delete

ajuda para delete

@@ -60,21 +56,21 @@ kubeadm token delete [token-value] ... - + - + - + - + diff --git a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_generate.md b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_generate.md index 60de389d6c..45b784623c 100644 --- a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_generate.md +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_generate.md @@ -10,28 +10,21 @@ guide. You can file document formatting bugs against the --> -Generate and print a bootstrap token, but do not create it on the server +Gere e exiba um token de inicialização, mas não o crie no servidor -### Synopsis +### Sinopse +Este comando exibirá um token de inicialização gerado aleatoriamente que pode ser usado com os comandos "init" e "join". +Você não precisa usar este comando para gerar um token. Você pode fazer isso sozinho, desde que esteja no formato "[a-z0-9]{6}.[a-z0-9]{16}". Este comando é fornecido por conveniência para gerar tokens no formato fornecido. -This command will print out a randomly-generated bootstrap token that can be used with -the "init" and "join" commands. - -You don't have to use this command in order to generate a token. You can do so -yourself as long as it is in the format "[a-z0-9]{6}.[a-z0-9]{16}". This -command is provided for convenience to generate tokens in the given format. - -You can also use "kubeadm init" without specifying a token and it will -generate and print one for you. - +Você também pode usar "kubeadm init" sem especificar um token e ele gerará e exibirá um para você. ``` kubeadm token generate [flags] ``` -### Options +### Opções
--dry-run

Whether to enable dry-run mode or not

Ativar ou não o modo de execução dry-run

--kubeconfig string     Default: "/etc/kubernetes/admin.conf"--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"

The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.

O arquivo kubeconfig a ser usado para se comunicar com o cluster. Se a flag não estiver definida, um conjunto de padrão locais pode ser pesquisado por um arquivo kubeconfig existente.

--rootfs string

[EXPERIMENTAL] The path to the 'real' host root filesystem.

[EXPERIMENTAL] O caminho para o 'real' sistema de arquivos raiz do host.

@@ -44,7 +37,7 @@ kubeadm token generate [flags] - + @@ -52,7 +45,7 @@ kubeadm token generate [flags] -### Options inherited from parent commands +### Opções herdadas do comando superior
-h, --help

help for generate

ajuda para generate

@@ -65,21 +58,21 @@ kubeadm token generate [flags] - + - + - + - + diff --git a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_list.md b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_list.md index 089424492e..13ea5260ae 100644 --- a/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_list.md +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_list.md @@ -10,20 +10,17 @@ guide. You can file document formatting bugs against the --> -List bootstrap tokens on the server +Liste tokens de inicialização no servidor -### Synopsis - - - -This command will list all bootstrap tokens for you. +### Sinopse +Este comando listará todos os tokens de inicialização para você ``` kubeadm token list [flags] ``` -### Options +### Opções
--dry-run

Whether to enable dry-run mode or not

Ativar ou não o modo de execução dry-run

--kubeconfig string     Default: "/etc/kubernetes/admin.conf"--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"

The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.

O arquivo kubeconfig a ser usado para se comunicar com o cluster. Se a flag não estiver definida, um conjunto de padrão locais pode ser pesquisado por um arquivo kubeconfig existente.

--rootfs string

[EXPERIMENTAL] The path to the 'real' host root filesystem.

[EXPERIMENTAL] O caminho para o 'real' sistema de arquivos raiz do host.

@@ -33,31 +30,31 @@ kubeadm token list [flags] - + - + - + - + - + - + @@ -78,21 +75,21 @@ kubeadm token list [flags] - + - + - + - +
--allow-missing-template-keys     Default: true--allow-missing-template-keys     Padrão: true

If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.

Se verdadeiro (true), ignora quaisquer erros nos modelos quando um campo ou chave de mapa estiver faltando no modelo. Aplica-se apenas aos formatos de saída golang e jsonpath.

-o, --experimental-output string     Default: "text"-o, --experimental-output string     Padrão: "text"

Output format. One of: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.

Formato de saída. Um dos: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.

-h, --help

help for list

ajuda para list

--show-managed-fields

If true, keep the managedFields when printing objects in JSON or YAML format.

Se verdadeiro (true), mantem os managedFields ao exibir os objetos no formato JSON ou YAML.

--dry-run

Whether to enable dry-run mode or not

Ativar ou não o modo de execução dry-run

--kubeconfig string     Default: "/etc/kubernetes/admin.conf"--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"

The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.

O arquivo kubeconfig a ser usado para se comunicar com o cluster. Se a flag não estiver definida, um conjunto de padrão locais pode ser pesquisado por um arquivo kubeconfig existente.

--rootfs string

[EXPERIMENTAL] The path to the 'real' host root filesystem.

[EXPERIMENTAL] O caminho para o 'real' sistema de arquivos raiz do host.