Play with openSUSE Kubic, and explore the possibility to modernize our own engineering workflow.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 19


  • over 4 years ago: SLindoMansilla liked this project.
  • over 4 years ago: zzhou originated this project.

  • Comments

    • zzhou
      over 4 years ago by zzhou | Reply

      hackweek19 openSUSE MicroOS/Kubic JUST Get Started

      Q: what the difference between MicroOS and Kubic?
      First impression from openSUSE Wiki is confusing: they are Tumbleweed variants

      Kubic DVD installation: kubic-template, kubic-master, kubic-worker1

      1. VM: kubic-template

      Kubic DVD -> System Role = kubeadm

      transactional-update pkg install yast2-network

      ( NOTE: not allowed, zypper in yast2-network )

      1. Copy VM to: kubic-master, kubic-worker1

      To manipulate overlayfs(/etc) on top of readonly rootfs

      virt-dup -o kubic-template -n kubic-master,ip=
      virt-dup -o kubic-template -n kubic-worker1,ip=

      1. kubic-master bootstrap
         kubeadm --v=5 init 
         [preflight] pref-light-check
         . [ERROR NumCPU]: the number of available CPUs 1 is less than the required 2
         . [ERROR FileContent--proc-sys-net-ipv4-ip_forward]
           bsc#1163328 Kubic Installer System Role should not disable ip_forward
         . [ERROR ImagePull]: ... net/http: TLS handshake timeout
           NOTE: Need pull ~500M image from the bad internet connection.  
                 Have to give up from home, so far!

      Install Kubic with cloud-init and VM images

      1. "cloud-init ready" VM images

      2. prepare cloud-init CD-ROM: ci-data.iso

         mkdir -p $PWD/kubic/cloud-init-iso
         cd $PWD/kubic/cloud-init-iso
         touch meta-data user-data
         meta-data:  instance-id: xxxxx
         user-data:  add your own ssh-key for passwordless access
         user-data:  add your user/passwd
         user-data:  root-passwd=linux
         cd $PWD/kubic/
         sudo mkisofs -output ci-data.iso -volid cidata -joliet -rock cloud-init-iso
      1. boot VM img with CD-ROM ci-data.iso

      Enjoy passwordless ssh!


      • Two installation approaches:

        • DVD
        • cloud-init VM image is a very handy
      • BAD: so far, the internet requirement is to high to do kubeadm init yet to figure out the workaround for China

    • zzhou
      over 4 years ago by zzhou | Reply

      One more progress to make my Friday. I can move one more step with --image-repository

    Similar Projects

    This project is one of its kind!