Skip to content

Commit

Permalink
ECR document
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaoTrann committed Aug 16, 2019
1 parent 84205e5 commit 1afc937
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Following are some highlights of Kraken:
- **Highly available**. No component is a single point of failure.
- **Secure**. Support uploader authentication and data integrity protection through TLS.
- **Pluggable storage options**. Instead of managing data, Kraken plugs into reliable blob storage
options, like S3, GCS, HDFS or another registry. The storage interface is simple and new options
options, like S3, GCS, ECR, HDFS or another registry. The storage interface is simple and new options
are easy to add.
- **Lossless cross cluster replication**. Kraken supports rule-based async replication between
clusters.
Expand Down Expand Up @@ -79,7 +79,7 @@ talk](https://www.youtube.com/watch?v=waVtYYSXkXU) at KubeCon + CloudNativeCon.
- Connects to peers returned by tracker to download content
- Origin
- Dedicated seeders
- Stores blobs as files on disk backed by pluggable storage (e.g. S3, GCS)
- Stores blobs as files on disk backed by pluggable storage (e.g. S3, GCS, ECR)
- Forms a self-healing hash ring to distribute load
- Tracker
- Tracks which peers have what content (both in-progress and completed)
Expand All @@ -92,7 +92,7 @@ talk](https://www.youtube.com/watch?v=waVtYYSXkXU) at KubeCon + CloudNativeCon.
- Mapping of human readable tag to blob digest
- No consistency guarantees: client should use unique tags
- Powers image replication between clusters (simple duplicated queues with retry)
- Stores tags as files on disk backed by pluggable storage (e.g. S3, GCS)
- Stores tags as files on disk backed by pluggable storage (e.g. S3, GCS, ECR)

# Benchmark

Expand Down
8 changes: 7 additions & 1 deletion docs/CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ As shown in this example, if 3 announce requests to one tracker fail with networ
# Configuring Storage Backend For Origin And Build-Index
Storage backends are used by Origin and Build-Index for data persistence. Kraken has support for S3, GCS, HDFS, http (readonly), and Docker Registry (readonly) as [backends](https://github.com/uber/kraken/tree/master/lib/backend).
Storage backends are used by Origin and Build-Index for data persistence. Kraken has support for S3, GCS, ECR, HDFS, http (readonly), and Docker Registry (readonly) as [backends](https://github.com/uber/kraken/tree/master/lib/backend).
Multiple backends can be used at the name time, configured based on namespaces of requested blob and tag (for docker images, that means the part of image name before ":").
Expand All @@ -203,6 +203,12 @@ Example origin config that uses multiple backends:
> download_url: http://test-domain:9000/download?sha256=%s
> download_backoff:
> enabled: true
> - namespace: ecr-images/.*
> backend:
> registry_tag:
> address: 123456789012.dkr.ecr.<region>.amazonaws.com
> security:
> credsStore: 'ecr-login'
> - namespace: s3-images/.*
> backend:
> s3:
Expand Down

0 comments on commit 1afc937

Please sign in to comment.