Skip to content

Instantly share code, notes, and snippets.

@mumoshu
Last active December 14, 2019 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mumoshu/96ece42da679a15d3dc185b1e57a3106 to your computer and use it in GitHub Desktop.
Save mumoshu/96ece42da679a15d3dc185b1e57a3106 to your computer and use it in GitHub Desktop.
AppMesh on EKS examples. Assume the cluster name is `test3`
apiVersion: appmesh.k8s.aws/v1alpha1
kind: VirtualNode
metadata:
# Matches APPMESH_VIRTUAL_NODE_NAME=mesh/global/virtualNode/podinfo-demo envvar injected to pods by appmesh-inject
# so that appmesh-controller can locate this virtual node from the pod
name: podinfo
namespace: demo
spec:
meshName: global
listeners:
- portMapping:
port: 9898
protocol: http
serviceDiscovery:
cloudMap:
namespaceName: demo-test3
serviceName: podinfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment