Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skaffold should output which kube-context + cluster is being used #6861

Open
briandealwis opened this issue Nov 15, 2021 · 3 comments · May be fixed by #8587
Open

Skaffold should output which kube-context + cluster is being used #6861

briandealwis opened this issue Nov 15, 2021 · 3 comments · May be fixed by #8587
Labels
area/cli bugbash/q4-2022 Issues related to Skaffold Bugbash Q4 2022 good first issue Good for newcomers help wanted We would love to have this done, but don't have the bandwidth, need help from contributors kind/feature-request priority/p2 May take a couple of releases

Comments

@briandealwis
Copy link
Member

It should be more clear for users (and people trying to offer support by looking at logs!) which kube-context and cluster is being used.

$ skaffold dev
Listing files to watch...
 - skaffold-example
Generating tags...
 - skaffold-example -> skaffold-example:v1.34.0-60-gef8185519
Checking cache...
 - skaffold-example: Not found. Building
Starting build...
Building [skaffold-example]...

This information is shown with -vinfo, but most users do not run at this level:

$ skaffold dev -v info
INFO[0000] Skaffold &{Version:v1.34.0-60-gef8185519 ConfigVersion:skaffold/v2beta26 GitVersion: GitCommit:ef818551948c82de81ef4308aef7dbcb36d3dede BuildDate:2021-11-15T15:47:08Z GoVersion:go1.17.2 Compiler:gc Platform:darwin/arm64 User:}  subtask=-1 task=DevLoop
INFO[0000] Loaded Skaffold defaults from "/Users/bdealwis/.skaffold/config"  subtask=-1 task=DevLoop
INFO[0000] Using kubectl context: gke_k8s-skaffold_us-west1_test-cluster  subtask=-1 task=DevLoop
INFO[0001] build concurrency first set to 1 parsed from *local.Builder[0]  subtask=-1 task=DevLoop
@briandealwis briandealwis added help wanted We would love to have this done, but don't have the bandwidth, need help from contributors good first issue Good for newcomers kind/feature-request area/cli priority/p1 High impact feature/bug. labels Nov 15, 2021
@tejal29 tejal29 added priority/p2 May take a couple of releases and removed priority/p1 High impact feature/bug. labels Mar 31, 2022
@gsquared94 gsquared94 added the bugbash/q4-2022 Issues related to Skaffold Bugbash Q4 2022 label Dec 7, 2022
@OmSaran
Copy link

OmSaran commented Feb 12, 2023

Can I take a stab at this?

@aaron-prindle
Copy link
Contributor

aaron-prindle commented Feb 13, 2023

@OmSaran that would be great if you want to drive adding this feature. If you could create a PR with this feature the Skaffold maintainers would be happy to review and get the feature in. If you have any questions, etc. about the implementation feel free to ask questions, etc. here

@riyamittal009
Copy link

@OmSaran and I have taken a stab at this issue, please see PR #8587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli bugbash/q4-2022 Issues related to Skaffold Bugbash Q4 2022 good first issue Good for newcomers help wanted We would love to have this done, but don't have the bandwidth, need help from contributors kind/feature-request priority/p2 May take a couple of releases
Projects
None yet
6 participants