Container Server Cloud Config

To add/edit the could-config for your container server:

  1. Go to your Control Panel's Container Servers menu.
  2. Click the label of the server you want to edit, to show its details screen.
  3. Click the Configuration tab, then click Cloud-Config.
  4. On the page that loads you can add-edit the cloud-config for the container server:
    Click Submit to save changes.
    • You can fill in the cloud-config in the Cloud-Config field
    • You can insert a cloud-config file from your local computer at the File tab by clicking the Choose File button. After the file is uploaded, cloud-config will appear in the Cloud-Config field.
    • You can add a URL to your cloud-config file in the File url field at the File url tab
  5. After you edit the cloud config, you need to reboot the container server at Control Panel > Container Servers > Label > Tools > Reboot Container Server. Changes to the cloud config will not take effect if the server is not rebooted. The reboot should be done via OnApp Control Panel. If the reboot command is issued inside the container server, the changes to the cloud config will not take effect.

Below you can find a cloud config example. This cloud config is added to two container servers and configures communication between these servers by implementing the fleet cluster manager. Users can then create containers with apps on one of the container servers and get tables of those containers on the other container server in the cluster. For more information, refer to CoreOS documentation.

Cloud config example:

  - path:/etc/hosts
      master1_IP master1 coreos00
      master2_IP master2 coreos01

    name: master1
    initial-cluster: master1=http://master1_IP:2380,master2=http://master2_IP:2380
    initial-advertise-peer-urls: http://$public_ipv4:2380
    advertise-client-urls: http://$public_ipv4:2379,http://$public_ipv4:4001
    listen-peer-urls: http://$public_ipv4:2380,http://$public_ipv4:7001
    public-ip: $public_ipv4
    interface: $public_ipv4
    - name: etcd2.service
      command: start
    - name: fleet.service
      command: start
    - name: flanneld.service
      command: start
  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Edit Virtual Server Network Speed

1. Click Networking > Network Interface to view your port speed2. Click the edit icon to...

Edit Resource Virtual Server

Editing your virtual server allows you to make changes to the label, CPU, RAM and time zone of...

Rebuild Virtual Server - Changing Your OS

Rebuilding Virtual Server allows you to change the OS of your server without having to create a...

Basic Cloud Server Navigation

1. Dashboard - Gives you an overview of the current resources in your cloud environment (CPU,...

Migrate Virtual Server

Virtual server migration allows you to move your virtual server from 1 physical server to...