# Step 3: Use Kubeclt to access the Container

**Step 1:** Note that you need to initialize at SSH KEY to be able to access all Master, Minion

<figure><img src="https://docs.vngcloud.vn/download/attachments/59802494/image2023-6-2_10-36-30.png?version=1&#x26;modificationDate=1685676991000&#x26;api=v2" alt=""><figcaption></figcaption></figure>

**Step 2:** Download the Config Container file on the GreenNode portal

<figure><img src="https://docs.vngcloud.vn/download/attachments/59802494/image2023-6-2_10-34-21.png?version=1&#x26;modificationDate=1685676862000&#x26;api=v2" alt=""><figcaption></figcaption></figure>

**Step 3:** Copy the Configure file into the Kubectl configuration file on PC/Laptop

Kubectl on MAC OS

Step 3.1: cd \~/

Step 3.2: mkdir .kube

Step 3.3: cd .kube

Step 3.4: vim config

Step 3.5: Copy the Config File on the Portal downloaded into the config file on MAC OS:

<figure><img src="https://docs.vngcloud.vn/download/attachments/59802494/Screen%20Shot%202021-05-24%20at%2010.34.41.png?version=1&#x26;modificationDate=1684984787000&#x26;api=v2" alt=""><figcaption></figcaption></figure>

**Step 4:** Check the connection from Kubectl to GreenNode Container:

<figure><img src="https://docs.vngcloud.vn/download/attachments/59802494/Screen%20Shot%202021-05-24%20at%2010.40.43.png?version=1&#x26;modificationDate=1684984788000&#x26;api=v2" alt=""><figcaption></figcaption></figure>

Thus, you have completed the initialization of Containers and connected to that Container right at your PC or Laptop.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vserver/compute-hcm03-1a/vcontainer/kubernetes-cluster/step-3-use-kubeclt-to-access-the-container.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
