×
Community Blog Kubernetes (ACK) K8s – Create Container Registry (ACR)

Kubernetes (ACK) K8s – Create Container Registry (ACR)

The article explains how to create Container Registry (ACR) under the Alibaba Cloud console.

By Kidd Ip

Introduction

The article explains how to create Container Registry (ACR) under the Alibaba Cloud console.

Create ACR Namespace

Login to the Alibaba Cloud console via https://account.alibabacloud.com/

Click Console:

1

Under Menu, click Container Registry:

2

Select Region (e.g. China (Hong Kong)) and click Manage:

3

Under Namespace, click Create Namespace:

4

Fill in:

Namespace: <<Name>>
Automatically Create Repository: On
Default Repository Type: Private

Click Confirm

5

Create RAM User for ACR

A RAM user is required for the ACR Container Registry Instance logon

1. RAM Policy Samples

{
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "cr:ListInstance*",
                "cr:GetInstance*"
            ],
            "Resource": "*"
        },
        {
            "Action": [
                "cr:*"
            ],
            "Effect": "Allow",
            "Resource": [
                "acs:cr:*:*:repository/xxxxx/xxxxx/*",
                "acs:cr:*:*:repository/xxxxx/xxxxx"
            ]
        },
        {
            "Action": [
                "cr:List*"
            ],
            "Effect": "Allow",
            "Resource": [
                "acs:cr:*:*:repository/xxxxx/*",
                "acs:cr:*:*:repository/xxxxx/*/*"
            ]
        }
    ],
    "Version": "version"
}

2. Create a RAM User (Console Access)

6

3. Assign a RAM Policy to the RAM User

7

4. Access Credential for RAM User Logon

8

0 1 0
Share on

Kidd Ip

9 posts | 3 followers

You may also like

Comments

Kidd Ip

9 posts | 3 followers

Related Products