Install Rancher OS on Kubernetes platform



First we need to create a file ` cloud-config.yml` as below ::
#cloud-config
rancher:
  network:
    interfaces
      eth0:
        address: ip_addreess
        gateway: ip_addreess
        mtu: 1500
        dhcp: false
      dns:
        nameservers:
        -8.8.8.8
        -8.8.4.4

ssh_authorized_keys:
  - ssh-rsa ssh-rsa 
Command To run `cloud-config.yml`:
$ sudo ros install -c cloud-config.yml -d /dev/sda
Selim Reza

Site Footer