Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
¿Por qué no puedo montar el mismo PVC dos veces con diferentes rutas secundarias en un solo módulo?

¿Por qué no puedo tener una configuración como la siguiente? Quiero mapear vol1 a un pod con diferente ruta secundaria que tiene xyz y vol2 al mismo pod con ruta secundaria abc.

 volumes: - name:vol1 persistentVolumeClaim: claimName: testclaim - name: vol2 persistentVolumeClaim: claimName: testclaim

montajes de volumen de contenedores:

 volumeMounts: - name: vol1 mountPath: /test/ subPath: abc - name: vol2 mountPath: /test2/ subPath: xyz

¿Cuál es la alternativa para este tipo de configuración?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Prueba esto

 volumeMounts: - name: vol1 mountPath: /test subPath: abc - name: vol1 mountPath: /test2 subPath: xyz volumes: - name: vol1 persistentVolumeClaim: claimName: testclaim
over 4 years ago · Santiago Trujillo Report

0

puede usar el mismo PVC en diferentes pods que están en el mismo nodo. pero no puede reclamar el mismo pvc con diferentes volúmenes en la misma cápsula. y aquí no necesita agregar el pvc en sus volúmenes varias veces. solo puede agregar pvc una sola vez. y monte el volumen en diferentes mountPath .

este será el formato yaml actualizado

 volumes: - name: vol1 persistentVolumeClaim: claimName: testclaim
 volumeMounts: - name: vol1 mountPath: /test subPath: abc - name: vol1 mountPath: /test2 subPath: xyz
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!