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,550 points
85 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 9, 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
161 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,310 points
570 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,310 points
446 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,310 points
204 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
10,317 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
534 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
23,645 views