docs: volumes - spanish translation

pull/29177/head
anyulled 2021-07-31 12:26:57 +02:00
parent e9b4cee5b2
commit 69c70cd418
No known key found for this signature in database
GPG Key ID: 2DB6F0CA2BA5BB07
1 changed files with 13 additions and 19 deletions

View File

@ -1015,22 +1015,19 @@ Los siguientes parámetros de Storageclass desde el complemento incorporado `vsp
Los volúmenes existentes creados usando estos parámetros serán migrados al controlador vSphere CSI, pero los volúmenes nuevos creados por el controlador vSphere CSI no respetarán estos parámetros
{{< /note >}}
#### vSphere CSI migration complete {#vsphere-csi-migration-complete}
#### migración completa de vSphere CSI {#vsphere-csi-migration-complete}
{{< feature-state for_k8s_version="v1.19" state="beta" >}}
Para apagar el complemento `vsphereVolume` y no cargarlo por el administrador del controlador y el kubelet, necesitas establecer eta función a `true`. Debes instalar un controlador de tipo `csi.vsphere.vmware.com` en todos los nodos worker.
To turn off the `vsphereVolume` plugin from being loaded by the controller manager and the kubelet, you need to set this feature flag to `true`. You must install a `csi.vsphere.vmware.com` {{< glossary_tooltip text="CSI" term_id="csi" >}} driver on all worker nodes.
## Uso de subPath {#using-subpath}
## Using subPath {#using-subpath}
Algunas veces es útil compartir un volumen para múltiples usos en un único pod.
La propiedad `volumeMounts.subPath` especifica una sub-ruta dentro del volumen referenciado en lugar de su raíz.
Sometimes, it is useful to share one volume for multiple uses in a single pod.
The `volumeMounts.subPath` property specifies a sub-path inside the referenced volume
instead of its root.
The following example shows how to configure a Pod with a LAMP stack (Linux Apache MySQL PHP)
using a single, shared volume. This sample `subPath` configuration is not recommended
for production use.
El siguiente ejemplo muestra cómo configurar un Pod con la pila LAMP (Linux Apache MySQL PHP) usando un único volumen compartido. Esta configuración de ejemplo usando `subPath` no se recomienda para su uso en producción.
El código de la aplicación PHP y los recursos apuntan al directorio `html` del volumen y la base de datos MySQL se almacena en el directorio `mysql`. Por ejemplo:
The PHP application's code and assets map to the volume's `html` folder and
the MySQL database is stored in the volume's `mysql` folder. For example:
@ -1062,18 +1059,15 @@ spec:
claimName: my-lamp-site-data
```
### Using subPath with expanded environment variables {#using-subpath-expanded-environment}
### Uso de subPath con variables de entorno expandidas {#using-subpath-expanded-environment}
{{< feature-state for_k8s_version="v1.17" state="stable" >}}
Usa el campo `subPathExpr` para construir un nombres de directorio `subPath` desde variables de entorno de la API.
Las propiedades `subPath` y `subPathExpr` son mutuamente exclusivas.
Use the `subPathExpr` field to construct `subPath` directory names from
downward API environment variables.
The `subPath` and `subPathExpr` properties are mutually exclusive.
In this example, a `Pod` uses `subPathExpr` to create a directory `pod1` within
the `hostPath` volume `/var/log/pods`.
The `hostPath` volume takes the `Pod` name from the `downwardAPI`.
The host directory `/var/log/pods/pod1` is mounted at `/logs` in the container.
En este ejemplo, un `Pod` usa `subPathExpr` para crear un directorio `pod1` dentro del volumen `hostPath` `var/logs/pods`.
El volumen `hostPath` toma el nombre del `Pod` desde la `downwardAPI`.
El directorio anfitrión `var/log/pods/pod1` se monta en `/logs` en el contenedor.
```yaml
apiVersion: v1