Skip to content

kubectl cp changes#7

Open
alphaWizard wants to merge 3 commits intotroubleshootfrom
localexporter
Open

kubectl cp changes#7
alphaWizard wants to merge 3 commits intotroubleshootfrom
localexporter

Conversation

@alphaWizard
Copy link
Owner


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@alphaWizard alphaWizard changed the title kubectl cp changes in progress kubectl cp changes Jun 8, 2021
@alphaWizard alphaWizard marked this pull request as ready for review June 14, 2021 06:31
pod = info[0]
status = info[2]
node = info[6]
if status != "Running":
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the status is terminated, then also logs wont be captured?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I can check if the logs will be captured when the status is terminated.

universal_newlines=True)
pod_lines = pods.splitlines()
for line in pod_lines:
time.sleep(5)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have we intentionally kept time sleep inside loop(for each pod). We can keep it outside the loop?

Copy link
Collaborator

@sophsoph321 sophsoph321 Jun 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I can increase the length of time sleep outside of the loop and test out what happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants