Examples on Talos https://talos.autonomy.io/examples/ Recent content in Examples on Talos Hugo -- gohugo.io en-us Mon, 29 Oct 2018 19:40:55 -0700 AWS https://talos.autonomy.io/examples/aws/ Mon, 29 Oct 2018 19:40:55 -0700 https://talos.autonomy.io/examples/aws/ First, create the AMI: docker run \ --rm \ --volume $HOME/.aws/credentials:/root/.aws/credentials \ --env AWS_DEFAULT_PROFILE=${PROFILE} \ --env AWS_DEFAULT_REGION=${REGION} \ autonomy/talos:latest ami -var regions=${COMMA_SEPARATED_LIST_OF_REGIONS} Once the AMI is created, you can now start an EC2 instance using the AMI ID. Provide the proper configuration as the instance’s user data. An official Terraform module is currently being developed, stay tuned! KVM https://talos.autonomy.io/examples/kvm/ Mon, 29 Oct 2018 19:40:55 -0700 https://talos.autonomy.io/examples/kvm/ Creating a Master Node On the KVM host, install a master node to an available block device: docker run \ --rm \ --privileged \ --volume /dev:/dev \ autonomy/talos:latest image -b /dev/sdb -f -p bare-metal -u http://${IP}:8080/master.yaml Note: http://${IP}:8080/master.yaml should be reachable by the VM and contain a valid master configuration file. Now, create the VM: virt-install \ -n master \ --description "Kubernetes master node." \ --os-type=Linux \ --os-variant=generic \ --virt-type=kvm \ --cpu=host \ --vcpus=2 \ --ram=4096 \ --disk path=/dev/sdb \ --network bridge=br0,model=e1000,mac=52:54:00:A8:4C:E1 \ --graphics none \ --boot hd \ --rng /dev/random Creating a Worker Node On the KVM host, install a worker node to an available block device: Xen https://talos.autonomy.io/examples/xen/ Tue, 06 Nov 2018 06:25:46 -0800 https://talos.autonomy.io/examples/xen/ Creating a Master Node On Dom0, install Talos to an available block device: docker run \ --rm \ --privileged \ --volume /dev:/dev \ autonomy/talos:latest image -b /dev/sdb Save the following as /etc/xen/master.cfg name = "master" builder='hvm' bootloader = "/bin/pygrub" firmware_override = "/usr/lib64/xen/boot/hvmloader" vcpus=2 memory = 4096 serial = "pty" kernel = "/var/lib/xen/talos/vmlinuz" ramdisk = "/var/lib/xen/talos/initramfs.xz" disk = [ 'phy:/dev/sdb,xvda,w', ] vif = [ 'mac=52:54:00:A8:4C:E1,bridge=xenbr0,model=e1000', ] extra = "ip=dhcp consoleblank=0 console=hvc0 console=tty0 console=ttyS0,9600 talos.