Skip to content

Don't prefix pod names when port forwarding#976

Merged
nkubala merged 1 commit intoGoogleContainerTools:masterfrom
nkubala:port_forward
Sep 13, 2018
Merged

Don't prefix pod names when port forwarding#976
nkubala merged 1 commit intoGoogleContainerTools:masterfrom
nkubala:port_forward

Conversation

@nkubala
Copy link
Copy Markdown
Contributor

@nkubala nkubala commented Sep 13, 2018

Older versions of kubectl (1.9.x) don't support port forwarding deployments as well as pods, so the pod/ prefix isn't recognized when port forwarding. From testing newer versions (1.11.x) removing this prefix seems to work correctly, so it should be safe to remove this.

Fixes #974

@nkubala nkubala merged commit fc6bebc into GoogleContainerTools:master Sep 13, 2018
@nkubala nkubala deleted the port_forward branch September 13, 2018 18:13
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.

Port forwarding pods fails on microservices example

2 participants