-
Notifications
You must be signed in to change notification settings - Fork 7
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
add kubernetes guestbook example #395
Conversation
For the record, this is the upstream example: https://github.com/pulumi/examples/tree/master/kubernetes-ts-guestbook |
"memory" -> "100Mi" | ||
) | ||
), | ||
ports = List(ContainerPortArgs(containerPort = 6379)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the 6379
is used in two contexts and 6 places as a "magic value", I think it would make maintenance easier to create a dedicated variable for this port and reuse it, and as a result make sure any future changes will result in correct and succesfull deployment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Looks good, found a couple of nits only.
No description provided.