Giter VIP home page Giter VIP logo

k8s_labs's Introduction

k8s Labs - RHEL Atomic

Supporting documentation and files.

Installation Prerequisites

You will need either Libvirt or VirtualBox installed to provision the Atomic virtual machines needed for this lab.

Libvirt Installation

As root grab the Atomic qcow image make three copies of in the libvirt images directory

su -
cd /tmp
wget http://10.32.244.206/images/rhel-atomic-cloud-7.1-1.x86_64.qcow2
cp rhel-atomic-cloud-7.1-1.x86_64.qcow2 /var/lib/libvirt/images/rhel-atomic-cloud-7.1-1.x86_64-00.qcow2
cp rhel-atomic-cloud-7.1-1.x86_64.qcow2 /var/lib/libvirt/images/rhel-atomic-cloud-7.1-1.x86_64-01.qcow2
cp rhel-atomic-cloud-7.1-1.x86_64.qcow2 /var/lib/libvirt/images/rhel-atomic-cloud-7.1-1.x86_64-02.qcow2
cd -

# Copy over iso from the libvirt directory of this repo
cp ./libvirt/atomic0-cidata.iso /var/lib/libvirt/images/

# Correct the permissions
chown -R qemu:qemu /var/lib/libvirt/images/

# Clean up the original file if you want
rm -f /tmp/rhel-atomic-cloud-7.1-1.x86_64.qcow2

Configure add the images via virtmanager and add the iso a cd rom via add hardware

Once you have booted your atomic vm login with:

username: cloud-user password: atomic

# Become root
sudo -i
# Register your host with rhn (you will need you subscription username and password)
subscription-manager register
# Attach the host
subscription-manager attach --auto
# Use these discovery commands if you have issues registering your host.
subscription-manager list
subscription-manager list --available
# Edit the docker settings to allow insecure access to insecure registers 
/etc/sysconfig/docker
ADD_REGISTRY='--add-registry registry.access.redhat.com --add-registry 10.32.244
INSECURE_REGISTRY='--insecure-registry 10.32.244.206:5000'
# Reboot the system
systemctl reboot

You will need to login back into the host and update the system

# Upgrade the host
atomic host upgrade

k8s_labs's People

Contributors

amoralej avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.