From a54d1d047719e85d127e2463f655ff028b26ff5c Mon Sep 17 00:00:00 2001 From: "Mr. Erlison" Date: Fri, 22 Apr 2022 08:44:07 -0300 Subject: [PATCH 1/5] Add pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md --- .../setup-tools/kubeadm/kubeadm-token.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md diff --git a/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md b/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md new file mode 100644 index 0000000000..406d3b2983 --- /dev/null +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md @@ -0,0 +1,27 @@ +--- +title: kubeadm token +content_type: conceito +weight: 70 +--- + + +Os Bootstrap tokens são usados para estabelecer uma relação de confiança bidirecional entre um nó que se junta ao cluster e um nó do plano de controle, conforme descrito na [autenticação com tokens de inicialização](/docs/reference/access-authn-authz/bootstrap-tokens/). + +O `kubeadm init` cria um token inicial com um TTL de 24 horas. Os comandos a seguir permitem que você gerencie esse token e também crie e gerencie os novos. + + +## Criar um token kubeadm {#cmd-token-create} +{{< include "generated/kubeadm_token_create.md" >}} + +## Excluir um token kubeadm {#cmd-token-delete} +{{< include "generated/kubeadm_token_delete.md" >}} + +## Gerar um token kubeadm {#cmd-token-generate} +{{< include "generated/kubeadm_token_generate.md" >}} + +## Listar um token kubeadm {#cmd-token-list} +{{< include "generated/kubeadm_token_list.md" >}} + +## {{% heading "O que vem a seguir?" %}} + +* [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) para inicializar um nó `worker` do Kubernetes e associá-lo ao cluster \ No newline at end of file From f852e54b24b086d1319d3f370dd8ed8edd085d5f Mon Sep 17 00:00:00 2001 From: "Mr. Erlison" Date: Sat, 4 Jun 2022 13:35:34 -0300 Subject: [PATCH 2/5] Add generated/kubeadm-token*.md --- .../kubeadm/generated/kubeadm_token.md | 96 +++++++++++++ .../kubeadm/generated/kubeadm_token_create.md | 135 ++++++++++++++++++ .../kubeadm/generated/kubeadm_token_delete.md | 84 +++++++++++ .../generated/kubeadm_token_generate.md | 89 ++++++++++++ .../kubeadm/generated/kubeadm_token_list.md | 102 +++++++++++++ 5 files changed, 506 insertions(+) create mode 100644 content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token.md create mode 100644 content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_create.md create mode 100644 content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_delete.md create mode 100644 content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_generate.md create mode 100644 content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_list.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 new file mode 100644 index 0000000000..5384fc4d6c --- /dev/null +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token.md @@ -0,0 +1,96 @@ + + + +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 new file mode 100644 index 0000000000..a2a217033c --- /dev/null +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_create.md @@ -0,0 +1,135 @@ + + + +Create bootstrap tokens on the server + +### Synopsis + + + +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. + + +``` +kubeadm token create [token] +``` + +### Options + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
--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'.

--config string

Path to a kubeadm configuration file.

--description string

A human friendly description of how this token is used.

--groups strings     Default: "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"

-h, --help

help for create

--print-join-command

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

--ttl duration     Default: 24h0m0s

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

--usages strings     Default: "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]

+ + + +### Options inherited from parent commands + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + +
--dry-run

Whether to enable dry-run mode or not

--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.

--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_delete.md b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_delete.md new file mode 100644 index 0000000000..2040bd3f94 --- /dev/null +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_delete.md @@ -0,0 +1,84 @@ + + + +Delete bootstrap tokens on the server + +### Synopsis + + + +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. + + +``` +kubeadm token delete [token-value] ... +``` + +### Options + + ++++ + + + + + + + + + + +
-h, --help

help for delete

+ + + +### Options inherited from parent commands + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + +
--dry-run

Whether to enable dry-run mode or not

--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.

--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_generate.md b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_generate.md new file mode 100644 index 0000000000..60de389d6c --- /dev/null +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_generate.md @@ -0,0 +1,89 @@ + + + +Generate and print a bootstrap token, but do not create it on the server + +### Synopsis + + + +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. + + +``` +kubeadm token generate [flags] +``` + +### Options + + ++++ + + + + + + + + + + +
-h, --help

help for generate

+ + + +### Options inherited from parent commands + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + +
--dry-run

Whether to enable dry-run mode or not

--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.

--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_list.md b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_list.md new file mode 100644 index 0000000000..089424492e --- /dev/null +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/generated/kubeadm_token_list.md @@ -0,0 +1,102 @@ + + + +List bootstrap tokens on the server + +### Synopsis + + + +This command will list all bootstrap tokens for you. + + +``` +kubeadm token list [flags] +``` + +### Options + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
--allow-missing-template-keys     Default: 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.

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

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

-h, --help

help for list

--show-managed-fields

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

+ + + +### Options inherited from parent commands + + ++++ + + + + + + + + + + + + + + + + + + + + + + + + +
--dry-run

Whether to enable dry-run mode or not

--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.

--rootfs string

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

+ + + From 72c763f653170e5f05b454fe5393ccdbdfac92d4 Mon Sep 17 00:00:00 2001 From: "Mr. Erlison" Date: Sat, 11 Jun 2022 07:54:19 -0300 Subject: [PATCH 3/5] 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] - + - + - + - + From 38495ab1c089dc66d628be0af9f795e0105f3f43 Mon Sep 17 00:00:00 2001 From: "Mr. Erlison" Date: Fri, 22 Jul 2022 07:59:03 -0300 Subject: [PATCH 4/5] Update whatsnext translation Signed-off-by: Mr. Erlison --- .../pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md b/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md index 406d3b2983..a4ce8074fa 100644 --- a/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md @@ -22,6 +22,6 @@ O `kubeadm init` cria um token inicial com um TTL de 24 horas. Os comandos a seg ## Listar um token kubeadm {#cmd-token-list} {{< include "generated/kubeadm_token_list.md" >}} -## {{% heading "O que vem a seguir?" %}} +## {{% heading "whatsnext" %}} -* [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) para inicializar um nó `worker` do Kubernetes e associá-lo ao cluster \ No newline at end of file +* [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) para inicializar um nó `worker` do Kubernetes e associá-lo ao cluster From 1cc514a6f04332aa4d49f9ff328458781f061cdf Mon Sep 17 00:00:00 2001 From: "Mr. Erlison" Date: Sun, 24 Jul 2022 17:46:31 -0300 Subject: [PATCH 5/5] Update translation corrections Signed-off-by: Mr. Erlison --- .../kubeadm/generated/kubeadm_token_create.md | 11 ++++------- .../kubeadm/generated/kubeadm_token_delete.md | 4 ++-- .../kubeadm/generated/kubeadm_token_generate.md | 4 ++-- .../kubeadm/generated/kubeadm_token_list.md | 8 ++++---- .../reference/setup-tools/kubeadm/kubeadm-token.md | 12 ++++++------ 5 files changed, 18 insertions(+), 21 deletions(-) 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 e2449ac886..0f93f417c8 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 @@ -35,7 +35,7 @@ kubeadm token create [token] - + @@ -70,7 +70,7 @@ kubeadm token create [token] - + @@ -92,7 +92,7 @@ kubeadm token create [token] -### Opções herdadas do comando superior +### Opções herdadas dos comandos superiores
--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.

--certificate-key string

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'.

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

--print-join-command

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.

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

@@ -112,7 +112,7 @@ kubeadm token create [token] - + @@ -124,6 +124,3 @@ kubeadm token create [token]
--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"

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.

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

- - - 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 b8cff9cb31..755e35a72a 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 @@ -43,7 +43,7 @@ kubeadm token delete [token-value] ... -### Opções herdadas do comando superior +### Opções herdadas dos comandos superiores @@ -63,7 +63,7 @@ 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 45b784623c..4c51e831e3 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 @@ -45,7 +45,7 @@ kubeadm token generate [flags] -### Opções herdadas do comando superior +### Opções herdadas dos comandos superiores
--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"

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.

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

@@ -65,7 +65,7 @@ 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 13ea5260ae..2a598ed38a 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 @@ -40,7 +40,7 @@ kubeadm token list [flags] - + @@ -54,7 +54,7 @@ kubeadm token list [flags] - + @@ -62,7 +62,7 @@ kubeadm token list [flags] -### Options inherited from parent commands +### Opções herdadas dos comandos superiores
--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"

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.

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

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

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

Formato de saída. Valores válidos: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.

--show-managed-fields

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

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

@@ -82,7 +82,7 @@ kubeadm token list [flags] - + diff --git a/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md b/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md index a4ce8074fa..99fcedc04f 100644 --- a/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md +++ b/content/pt-br/docs/reference/setup-tools/kubeadm/kubeadm-token.md @@ -1,6 +1,6 @@ --- title: kubeadm token -content_type: conceito +content_type: concept weight: 70 --- @@ -10,18 +10,18 @@ Os Bootstrap tokens são usados para estabelecer uma relação de confiança bid O `kubeadm init` cria um token inicial com um TTL de 24 horas. Os comandos a seguir permitem que você gerencie esse token e também crie e gerencie os novos. -## Criar um token kubeadm {#cmd-token-create} +## kubeadm token create {#cmd-token-create} {{< include "generated/kubeadm_token_create.md" >}} -## Excluir um token kubeadm {#cmd-token-delete} +## kubeadm token delete {#cmd-token-delete} {{< include "generated/kubeadm_token_delete.md" >}} -## Gerar um token kubeadm {#cmd-token-generate} +## kubeadm token generate {#cmd-token-generate} {{< include "generated/kubeadm_token_generate.md" >}} -## Listar um token kubeadm {#cmd-token-list} +## kubeadm token list {#cmd-token-list} {{< include "generated/kubeadm_token_list.md" >}} ## {{% heading "whatsnext" %}} -* [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) para inicializar um nó `worker` do Kubernetes e associá-lo ao cluster +* [kubeadm join](/docs/reference/setup-tools/kubeadm/kubeadm-join) para inicializar um nó de carga de trabalho do Kubernetes e associá-lo ao cluster
--kubeconfig string     Padrão: "/etc/kubernetes/admin.conf"

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.

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