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

Added TCP route support #46

Merged
merged 2 commits into from
Jun 27, 2019
Merged

Added TCP route support #46

merged 2 commits into from
Jun 27, 2019

Conversation

kiranmeduri
Copy link
Collaborator

Issue #, if available:
#42

Description of changes:
Add TCP route support to match https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_RouteSpec.html

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

@mogren mogren left a comment

Choose a reason for hiding this comment

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

LGTM!

spec:
containers:
- name: tcpecho
image: cjimti/go-echo
Copy link

Choose a reason for hiding this comment

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

Never seen, thanks for the tip.

protocol: tcp
routes:
- name: tcpecho-route
tcp:
Copy link

Choose a reason for hiding this comment

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

Can you mix http and tcp routes here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nope, AppMesh API will throw error.

apiVersion: appmesh.k8s.aws/v1beta1
kind: VirtualNode
metadata:
name: tcpecho
Copy link
Contributor

Choose a reason for hiding this comment

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

Long term, I think we should have multiple examples that each show off a subset of related features. This will help users determine what configuration is necessary for each feature. I think tcpecho is a good candidate for the first stand-alone example, what do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I believe examples should go to https://github.com/aws/aws-app-mesh-examples under walkthroughs.

Copy link
Contributor

Choose a reason for hiding this comment

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

That makes sense. I'll create an issue. We can leave it as one example for now, then.

Copy link
Contributor

@nckturner nckturner left a comment

Choose a reason for hiding this comment

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

@kiranmeduri
Copy link
Collaborator Author

Added tcp to virtual-service CRD spec. Please take a look. Thanks

@nckturner nckturner merged commit 17cbc4d into aws:master Jun 27, 2019
@kiranmeduri kiranmeduri deleted the tcproute branch June 27, 2019 17:10
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.

3 participants