Skip to content

Use k8s custom-columns#207

Merged
mbreitung merged 3 commits intomasterfrom
k8s-pod-name-via-custom-columns
Jun 27, 2023
Merged

Use k8s custom-columns#207
mbreitung merged 3 commits intomasterfrom
k8s-pod-name-via-custom-columns

Conversation

@dark-vex
Copy link
Copy Markdown
Contributor

I have changed most of kubectl get pods commands to print out only the pod name directly by using "-o custom-columns=NAME:metadata.name" instead of using awk.
Before approving the PR is worth doing a quick test on different k8s version, I have test it only on k8s 1.23

I have changed most of kubectl get pods commands to print out only the pod name directly by using "-o custom-columns=NAME:metadata.name" instead of using awk.
Before approving the PR is worth doing a quick test on different k8s version, I have test it only on k8s 1.23
@saltycr3w
Copy link
Copy Markdown
Contributor

@dark-vex can you resolve conflicts here and then we can work on getting it merged please?

@dark-vex
Copy link
Copy Markdown
Contributor Author

@dthomson-sysdig I have resolved the conflicts ;)

@saltycr3w
Copy link
Copy Markdown
Contributor

@dark-vex can you merge master please as we need to do the same for kafka/zookeeper storage gathering?

@dark-vex
Copy link
Copy Markdown
Contributor Author

Sure absolutely, @dthomson-sysdig I have rebased my branch and I have introduced the change for kafka+zookeeper storage gathering.

I have also updated the ES one:
https://github.com/draios/sysdig-cloud-scripts/pull/207/files#diff-369b53253f5a527eed16b6a5f6952c61ea0149aa05d10a972e492e1b3b482aeaR315

I checked if there is anything else missing but it doesn't seems but in case let me know

@mbreitung mbreitung merged commit 4ba1961 into master Jun 27, 2023
@mbreitung mbreitung deleted the k8s-pod-name-via-custom-columns branch June 27, 2023 17:50
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.

3 participants