Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 944 Bytes

1.md

File metadata and controls

29 lines (21 loc) · 944 Bytes

Creating master instance

Go inside of a folder "/files/cloud-configs" and open file Cloud Config for K8s master In this config you need to replace placeholder with an actual IP address. Open list of the instances ("Services" - "EC2" - "Instances") and click on the ETCD instance. At the bottom you should see information about this VM, you need Private IP :

VM Info

Copy it and replace all placeholder.

The next step is to actually create Kubernetes Master VM. Go to /files/commands folder and execute the following commands:

chmod +x create-k8s-master.sh
./create-k8s-master.sh

Expected output is

{
    "OwnerId": "...",
    "ReservationId": "...",
    "Groups": [],
    "Instances": [
        {
            "Monitoring": {
                "State": "disabled"
            },
     ...
}