Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Devops
  3. Question
Devops

What command copies log and config files from local to a pod?

Asked by Aashish Chaursiya May 28, 2024 984 views 1 answer
Share

About this question

 I am a DevOps engineer and I am tasked with managing a Kubernetes cluster. I have a critical application that is running in a pod named “web app” in the namespace “production”. Recently, a bug was discovered that requires a Configuration file to be updated. The updated file is located on my local machine. Additionally, there is also a log file inside the pod that needs to be copied to my local machine to analyze. Describe the command that I should use to copy the log file and the command that I should use to copy the updated Configuration file from my local machine to the pod.  

Your answer

1 Answer

More Devops discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest DevOps Blogs

Guides, tips and career advice on DevOps from JanBask experts.