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

Improve demo #9

Merged
merged 1 commit into from
Mar 18, 2019
Merged

Improve demo #9

merged 1 commit into from
Mar 18, 2019

Conversation

nckturner
Copy link
Contributor

  • Use non-default namespace
  • Integrate with inject (now requires inject to be deployed for demo)

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

@@ -81,17 +112,18 @@ spec:
prefix: /
action:
weightedTargets:
- virtualNodeName: colorteller-vn
- virtualNodeName: colorteller
Copy link
Collaborator

Choose a reason for hiding this comment

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

The namespace prefix -appmesh-demo is missing from all virtual nodes.

---
apiVersion: appmesh.k8s.aws/v1alpha1
kind: VirtualService
metadata:
name: colorteller.default.svc.cluster.local
name: colorteller.appmesh-demo.svc.cluster.local
namespace: appmesh-demo
spec:
meshName: color-mesh
virtualRouter:
Copy link
Collaborator

@stefanprodan stefanprodan Mar 18, 2019

Choose a reason for hiding this comment

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

The virtual router name and the route name should follow the namespace prefix convention.

name: appmesh-demo
spec:
finalizers:
- kubernetes
Copy link
Collaborator

Choose a reason for hiding this comment

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

The kubernetes finalizer can be removed.

* Use non-default namespace
* Integrate with inject (now requires inject to be deployed for demo)
* Add namespace suffix convention to virtual node, router and route
  names.
@nckturner
Copy link
Contributor Author

Addressed @stefanprodan's comments.

@nckturner nckturner merged commit 5379e50 into aws:master Mar 18, 2019
jeremymill added a commit to jeremymill/aws-app-mesh-controller-for-k8s that referenced this pull request Apr 13, 2022
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.

2 participants