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 10, 2018 in Kubernetes by sdfg
• 5,550 points
142 views

1 answer to this question.

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 10, 2018 by DareDev
• 6,890 points

Related Questions In Kubernetes

0 votes
1 answer

How to deploy at least one pod per minion while configuring replication controller?

I think what you actually want to ...READ MORE

answered Nov 23, 2018 in Kubernetes by ajs3033
• 7,280 points
233 views
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
• 52,350 points
724 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
• 52,350 points
539 views
+1 vote
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
• 52,350 points
311 views
0 votes
3 answers

Error while joining cluster with node

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

answered Jan 17, 2019 in Others by anonymous
11,959 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,890 points
629 views
0 votes
3 answers

Using multiple commands in a kubernetes yaml file

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

answered Apr 23, 2019 in Kubernetes by lyza
33,816 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP