-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add deploy files to use ECR URLs (#5)
* uses ECR URLs updated image pull paths to use ECR paths for marketplace, as per AWS requirement * Rename ecs-for-aws-marketplace.json to ecs-aws-marketplace.json * Rename k8s-for-aws-marketplace.yaml to k8s-aws-marketplace.yaml
- Loading branch information
John Morello
authored and
Liron Levin
committed
Nov 12, 2018
1 parent
78c0ec0
commit 067831b
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"containerDefinitions": [ | ||
{ | ||
"name": "twistlock-cloud-discovery", | ||
"image": "217273820646.dkr.ecr.us-east-1.amazonaws.com/2fb5feaf-4b5a-4144-b8b5-98e7bf6d587f/cg-1179130891/cloud-discovery:1.0-latest", | ||
"essential": true, | ||
"portMappings": [ | ||
{ | ||
"containerPort": 9083, | ||
"hostPort": 9083 | ||
} | ||
], | ||
"memory": 500, | ||
"cpu": 10 | ||
} | ||
], | ||
"family": "twistlock_cloud_discovery" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: cloud-discovery | ||
labels: | ||
run: cloud-discovery | ||
spec: | ||
ports: | ||
- port: 9083 | ||
targetPort: 9083 | ||
protocol: TCP | ||
selector: | ||
run: cloud-discovery | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: cloud-discovery | ||
labels: | ||
app: cloud-discovery | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: cloud-discovery | ||
template: | ||
metadata: | ||
labels: | ||
app: cloud-discovery | ||
spec: | ||
containers: | ||
- name: cloud-discovery | ||
image: 217273820646.dkr.ecr.us-east-1.amazonaws.com/2fb5feaf-4b5a-4144-b8b5-98e7bf6d587f/cg-1179130891/cloud-discovery:1.0-latest | ||
ports: | ||
- containerPort: 9083 |