Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

differentiate service port and target port for container #993

Merged
merged 12 commits into from
Jan 29, 2019

Conversation

gimlet2
Copy link
Contributor

@gimlet2 gimlet2 commented Jan 28, 2019

Issue Ref: None

Description: After updating runtime images to use non-root user it is become impossible to run functions on port 80. To fix this Service can map port 80 to target port 8080. To support this this pull request was prepared. Also another one will come to serverless-kubeless plugin.

TODOs:

  • Ready to review
  • Automated Tests
  • Docs

@gimlet2
Copy link
Contributor Author

gimlet2 commented Jan 28, 2019

Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @gimlet2! I have just a couple of minor comments.

cmd/kubeless/function/deploy.go Outdated Show resolved Hide resolved
cmd/kubeless/function/function.go Outdated Show resolved Hide resolved
Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

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

Thanks for the changes.

@andresmgot andresmgot merged commit 6d371ae into vmware-archive:master Jan 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants