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

Mistake in Services documentation #2392

Open
oleghind opened this issue Feb 18, 2025 · 0 comments
Open

Mistake in Services documentation #2392

oleghind opened this issue Feb 18, 2025 · 0 comments
Labels
bug Something isn't working needs-triage Priority and effort undetermined yet

Comments

@oleghind
Copy link

Description of the bug:

Mistake in documentation https://cdk8s.io/docs/latest/plus/cdk8s-plus-31/service/#ports

This part:

// make the service bind to port 9000 and redirect to port 80 on the associated containers.
frontends.bind({port: 9000, targetPort: 80)

There is a syntaxis error with one of the brackets not closed and also API seems different:
public bind(port: number, options?: ServiceBindOptions)

@oleghind oleghind added bug Something isn't working needs-triage Priority and effort undetermined yet labels Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Priority and effort undetermined yet
Projects
None yet
Development

No branches or pull requests

1 participant