How to share the files among kubernetes pods without explicti mentioning yaml files

0 votes
Apr 8, 2020 in Kubernetes by Siva
• 120 points
170 views

1 answer to this question.

0 votes
You can create a shared volume and mount it to the two pods. Store the file that you want to share between the pods in that shared volume.
answered Apr 8, 2020 by Liana

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer

How to start and stop a cluster on AWS using kops without stopping the instance

Export your KOPS_STAT_STORE variable export KOPS_STATE_STORE=s3://your-bucket-name Get your instances ...READ MORE

answered Jan 8, 2019 in Kubernetes by Kashish
5,122 views
0 votes
1 answer

how to test a manifest without actually executing it in kubernetes?

You can use --dry-run flag to test the manifest.  This ...READ MORE

answered Jul 18, 2019 in Kubernetes by Sirajul
• 59,050 points
821 views
+1 vote
1 answer

How to use a Volume to communicate between two Containers running in the same Kubernetes-Pod?

Create a Pod that runs two Containers Create a ...READ MORE

answered Jul 23, 2019 in Kubernetes by Sirajul
• 59,050 points
1,284 views
0 votes
2 answers

How do I update all my pods if the image changed but the tag is the same? - Kubernetes

Make sure your imagePullPolicy is set to Always(this is the ...READ MORE

answered Aug 6, 2019 in Kubernetes by Sirajul
• 59,050 points
442 views
0 votes
1 answer

Anyone know how to recover the kubernetes token?

You can recover it using : Kubeadm token ...READ MORE

answered Feb 3, 2020 in Kubernetes by Sirajul
• 59,050 points
446 views
0 votes
0 answers

How to access the configmap created on a worker node, in the pod.yaml in Master?

1. Configmap is created on the node1. ...READ MORE

Apr 4, 2020 in Kubernetes by jayabmaguluri
• 140 points
241 views
0 votes
1 answer