Skip to content

Commit 3df17f6

Browse files
committed
adding more lines
1 parent f124c3b commit 3df17f6

File tree

1 file changed

+48
-47
lines changed

1 file changed

+48
-47
lines changed

content/es/docs/tasks/tools/install-kubectl-linux.md

Lines changed: 48 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,18 @@ con los siguientes versiones de plano de control v{{< skew currentVersionAddMino
1212
v{{< skew currentVersionAddMinor 0 >}}, and v{{< skew currentVersionAddMinor 1 >}}.
1313
Utilizar la ultima version compatible de kubectl evita posibles errores.
1414

15-
## Install kubectl on Linux
15+
## Instalar kubectl en Linux
1616

17-
The following methods exist for installing kubectl on Linux:
17+
Existen los siguientes métodos para instalar kubectl en Linux:
1818

19-
- [Install kubectl binary with curl on Linux](#install-kubectl-binary-with-curl-on-linux)
20-
- [Install using native package management](#install-using-native-package-management)
21-
- [Install using other package management](#install-using-other-package-management)
19+
# TODO -> tengo dudas si los links dentro del documento van a funcionar si los nombres no son exactamente iguales!
20+
- [Instalación del binario para Linux de kubectl con Curl](#install-kubectl-binary-with-curl-on-linux)
21+
- [Instalación mediante el administrador de paquetes nativo](#install-using-native-package-management)
22+
- [Instalación usando otro administrador de paquetes](#install-using-other-package-management)
2223

23-
### Install kubectl binary with curl on Linux
24+
### Instalación del binario para Linux de kubectl con Curl
2425

25-
1. Download the latest release with the command:
26+
1. Descargar la ultima versión con el siguiente comando:
2627

2728
{{< tabs name="download_binary_linux" >}}
2829
{{< tab name="x86-64" codelang="bash" >}}
@@ -34,26 +35,26 @@ The following methods exist for installing kubectl on Linux:
3435
{{< /tabs >}}
3536

3637
{{< note >}}
37-
To download a specific version, replace the `$(curl -L -s https://dl.k8s.io/release/stable.txt)`
38-
portion of the command with the specific version.
38+
Para Descargar una versión específica reemplazar la siguiente parte del comando con la
39+
versión que desea instalar `$(curl -L -s https://dl.k8s.io/release/stable.txt)`
3940

40-
For example, to download version {{< skew currentPatchVersion >}} on Linux x86-64, type:
41+
Por ejemplo, para descargar la versión {{< skew currentPatchVersion >}} en linux x86-64:
4142

4243
```bash
4344
curl -LO https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/linux/amd64/kubectl
4445
```
4546

46-
And for Linux ARM64, type:
47+
Y para Linux ARM64:
4748

4849
```bash
4950
curl -LO https://dl.k8s.io/release/v{{< skew currentPatchVersion >}}/bin/linux/arm64/kubectl
5051
```
5152

5253
{{< /note >}}
5354

54-
1. Validate the binary (optional)
55+
1. Validación del binario (paso opcional)
5556

56-
Download the kubectl checksum file:
57+
Descargar el archivo checksum:
5758

5859
{{< tabs name="download_checksum_linux" >}}
5960
{{< tab name="x86-64" codelang="bash" >}}
@@ -64,61 +65,61 @@ The following methods exist for installing kubectl on Linux:
6465
{{< /tab >}}
6566
{{< /tabs >}}
6667

67-
Validate the kubectl binary against the checksum file:
68+
Validar el binario de kubectl contra el archivo checksum:
6869

6970
```bash
7071
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
7172
```
7273

73-
If valid, the output is:
74+
Si es válido va a obtener la siguiente respuesta:
7475

7576
```console
7677
kubectl: OK
7778
```
7879

79-
If the check fails, `sha256` exits with nonzero status and prints output similar to:
80+
En caso de falla, `sha256` terminará con un estado diferente a cero con una salida similar a esta:
8081

8182
```console
8283
kubectl: FAILED
8384
sha256sum: WARNING: 1 computed checksum did NOT match
8485
```
8586

8687
{{< note >}}
87-
Download the same version of the binary and checksum.
88+
Descargue la misma versión del binario y el checksum.
8889
{{< /note >}}
8990

90-
1. Install kubectl
91+
1. Instalar kubectl
9192

9293
```bash
9394
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
9495
```
9596

9697
{{< note >}}
97-
If you do not have root access on the target system, you can still install
98-
kubectl to the `~/.local/bin` directory:
98+
Si no tiene acceso root en el sistema donde se busca instalar, se puede colocar
99+
el binario kubectl en el directorio `~/.local/bin`:
99100

100101
```bash
101102
chmod +x kubectl
102103
mkdir -p ~/.local/bin
103104
mv ./kubectl ~/.local/bin/kubectl
104-
# and then append (or prepend) ~/.local/bin to $PATH
105+
# Y Despues agregue el directorio ~/.local/bin a su $PATH
105106
```
106107

107108
{{< /note >}}
108109

109-
1. Test to ensure the version you installed is up-to-date:
110+
1. Test para asegurar que la versión instalada esta actualizada:
110111

111112
```bash
112113
kubectl version --client
113114
```
114115

115-
Or use this for detailed view of version:
116+
O use lo siguiente para una vista detallada de la versión:
116117

117118
```cmd
118119
kubectl version --client --output=yaml
119120
```
120121

121-
### Install using native package management
122+
### Instalación mediante el administrador de paquetes nativo
122123

123124
{{< tabs name="kubectl_install" >}}
124125
{{% tab name="Debian-based distributions" %}}
@@ -225,13 +226,13 @@ before running `zypper update`. This procedure is described in more detail in
225226
{{% /tab %}}
226227
{{< /tabs >}}
227228
228-
### Install using other package management
229+
### Instalación usando otro administrador de paquetes
229230
230231
{{< tabs name="other_kubectl_install" >}}
231232
{{% tab name="Snap" %}}
232-
If you are on Ubuntu or another Linux distribution that supports the
233-
[snap](https://snapcraft.io/docs/core/install) package manager, kubectl
234-
is available as a [snap](https://snapcraft.io/) application.
233+
Si utiliza Ubuntu o alguna distribución que soporte el administrador de
234+
paquetes [snap](https://snapcraft.io/docs/core/install), kubectl
235+
esta disponible como una aplicación de [snap](https://snapcraft.io/).
235236
236237
```shell
237238
snap install kubectl --classic
@@ -241,8 +242,8 @@ kubectl version --client
241242
{{% /tab %}}
242243
243244
{{% tab name="Homebrew" %}}
244-
If you are on Linux and using [Homebrew](https://docs.brew.sh/Homebrew-on-Linux)
245-
package manager, kubectl is available for [installation](https://docs.brew.sh/Homebrew-on-Linux#install).
245+
Si utiliza [Homebrew](https://docs.brew.sh/Homebrew-on-Linux) en Linux,
246+
kubectl esta disponible para su [instalación](https://docs.brew.sh/Homebrew-on-Linux#install).
246247
247248
```shell
248249
brew install kubectl
@@ -253,30 +254,30 @@ kubectl version --client
253254
254255
{{< /tabs >}}
255256
256-
## Verify kubectl configuration
257+
## Verificar la configuración de kubectl
257258
258259
{{< include "included/verify-kubectl.md" >}}
259260
260-
## Optional kubectl configurations and plugins
261+
## Configuraciones opcionales y plugins de kubectl
261262
262-
### Enable shell autocompletion
263+
### Habilitar el autocompletado en la shell
263264
264-
kubectl provides autocompletion support for Bash, Zsh, Fish, and PowerShell,
265-
which can save you a lot of typing.
265+
Kubectl tiene soporte para autocompletar en Bash, Zsh, Fish y Powershell,
266+
lo que puede agilizar el tipeo.
266267
267-
Below are the procedures to set up autocompletion for Bash, Fish, and Zsh.
268+
A continuación estan los procedimientos para configurarlo en Bash, Fisch y Zsh.
268269
269270
{{< tabs name="kubectl_autocompletion" >}}
270271
{{< tab name="Bash" include="included/optional-kubectl-configs-bash-linux.md" />}}
271272
{{< tab name="Fish" include="included/optional-kubectl-configs-fish.md" />}}
272273
{{< tab name="Zsh" include="included/optional-kubectl-configs-zsh.md" />}}
273274
{{< /tabs >}}
274275
275-
### Install `kubectl convert` plugin
276+
### Instalar el plugin `kubectl convert`
276277
277278
{{< include "included/kubectl-convert-overview.md" >}}
278279
279-
1. Download the latest release with the command:
280+
1. Descargue la última version con el siguiente comando:
280281
281282
{{< tabs name="download_convert_binary_linux" >}}
282283
{{< tab name="x86-64" codelang="bash" >}}
@@ -287,9 +288,9 @@ Below are the procedures to set up autocompletion for Bash, Fish, and Zsh.
287288
{{< /tab >}}
288289
{{< /tabs >}}
289290
290-
1. Validate the binary (optional)
291+
1. Valide el binario (opcional)
291292
292-
Download the kubectl-convert checksum file:
293+
Descargue el checksum de kubectl-convert:
293294
294295
{{< tabs name="download_convert_checksum_linux" >}}
295296
{{< tab name="x86-64" codelang="bash" >}}
@@ -300,42 +301,42 @@ Below are the procedures to set up autocompletion for Bash, Fish, and Zsh.
300301
{{< /tab >}}
301302
{{< /tabs >}}
302303
303-
Validate the kubectl-convert binary against the checksum file:
304+
Ahora se puede validar el binario utilizando el checksum:
304305
305306
```bash
306307
echo "$(cat kubectl-convert.sha256) kubectl-convert" | sha256sum --check
307308
```
308309
309-
If valid, the output is:
310+
Si es válido, la salida será:
310311
311312
```console
312313
kubectl-convert: OK
313314
```
314315
315-
If the check fails, `sha256` exits with nonzero status and prints output similar to:
316+
En caso de falla, `sha256` terminará con un estado diferente a cero con una salida similar a esta:
316317
317318
```console
318319
kubectl-convert: FAILED
319320
sha256sum: WARNING: 1 computed checksum did NOT match
320321
```
321322
322323
{{< note >}}
323-
Download the same version of the binary and checksum.
324+
Descargue la misma versión del binario y del checksum.
324325
{{< /note >}}
325326
326-
1. Install kubectl-convert
327+
1. Instalar kubectl-convert
327328
328329
```bash
329330
sudo install -o root -g root -m 0755 kubectl-convert /usr/local/bin/kubectl-convert
330331
```
331332
332-
1. Verify plugin is successfully installed
333+
1. Verificar si el plugin fue instalado correctamente
333334
334335
```shell
335336
kubectl convert --help
336337
```
337338
338-
If you do not see an error, it means the plugin is successfully installed.
339+
Si no visualiza ningún error quiere decir que el plugin fue isntalado correctamente.
339340
340341
1. After installing the plugin, clean up the installation files:
341342

0 commit comments

Comments
 (0)