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 support to set retry-policy on App Mesh routes #66

Merged
merged 2 commits into from
Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions deploy/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,23 @@ spec:
type: string
weight:
type: integer
retryPolicy:
type: object
properties:
perRetryTimeoutMillis:
type: integer
maxRetries:
type: integer
httpRetryEvents:
type: array
items:
type: string
tcpRetryEvents:
type: array
items:
type: string
enum:
- 'connection-error'
tcp:
type: object
properties:
Expand Down
39 changes: 1 addition & 38 deletions deploy/controller-deployment.yaml.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: appmesh-system
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -27,36 +22,4 @@ spec:
image: ${AWS_ACCOUNT}.dkr.ecr.${AWS_REGION}.amazonaws.com/amazon/app-mesh-controller:latest
imagePullPolicy: Always
ports:
- containerPort: 10555
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: app-mesh-sa
namespace: appmesh-system
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: app-mesh-controller
rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["*"]
- apiGroups: ["appmesh.k8s.aws"]
resources: ["meshes", "virtualnodes", "virtualservices", "meshes/status", "virtualnodes/status", "virtualservices/status"]
verbs: ["*"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: app-mesh-controller-binding
subjects:
- kind: ServiceAccount
name: app-mesh-sa
namespace: appmesh-system
apiGroup: ""
roleRef:
kind: ClusterRole
name: app-mesh-controller
apiGroup: ""
- containerPort: 10555
60 changes: 0 additions & 60 deletions deploy/mesh-definition.yaml

This file was deleted.

138 changes: 0 additions & 138 deletions deploy/virtual-node-definition.yaml

This file was deleted.

Loading