Specifying PVs while defining replication Controller in GCP.

0 votes

I know how to do this for pods(docs) But I am deploying my pods using replication controller to manage the pods.So How do I define a Replication Controller where a pod has a persistent volume attached to it?

Oct 9, 2018 in Kubernetes by Atul
• 5,470 points
20 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You'll have to define a Persistent Volume and a Persistent Volume Claim. Then use the persistent volume claim inside your pod definition in your replication controller. If you want separate PVs for each of your pod You'll have to create separate Replication Controllers for each of your pod.

answered Oct 9, 2018 by DareDev
• 6,520 points

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer

Customize the routing logic in kubernetes ingress controller

Try building your own customized image based on ...READ MORE

answered Sep 7, 2018 in Kubernetes by Kalgi
• 35,720 points
43 views
0 votes
1 answer
0 votes
1 answer

Create Ingress controller in namespace

The ingress resource must be in the ...READ MORE

answered Oct 1, 2018 in Kubernetes by Kalgi
• 35,720 points
53 views
0 votes
1 answer
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 35,720 points
30 views
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
446 views
0 votes
1 answer

deleting pods using kubernetes replication controller

The pods which are managed by ReplicationController ...READ MORE

answered Jul 24, 2018 in Kubernetes by DareDev
• 6,520 points
126 views
0 votes
3 answers

Using multiple commands in a kubernetes yaml file

Try something like this: containers: - name: ...READ MORE

answered Apr 23 in Kubernetes by lyza
2,259 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.