Giter Club home page Giter Club logo

ckx-training-box's Introduction

CKx Training Box

This is the training lab I used during preparations for the CKA, CKAD, and CKS exams.

System requirements

NOTE: VirtualBox might require the Extension Pack to properly mount the required "shared folder" under the /vagrant directory in your system.

Getting started

Once the system requirements are installed properly, you can bootstrap the whole virtual environment by executing the vagrant up command from the root directory of this folder.

  1. Check current status of virtualized environment
cks-student@laptop:~# vagrant status

Current machine states:

cks-master                not created (virtualbox)
cks-worker-1              not created (virtualbox)

This environment represents multiple VMs. The VMs are all listed above with their current state. For more information about a specific VM, run `vagrant status NAME`.
  1. Bootstrap training environment
cks-student@laptop:~# vagrant up

Bringing machine 'cks-master' up with 'virtualbox' provider...
Bringing machine 'cks-worker-1' up with 'virtualbox' provider...
==> cks-master: Importing base box 'ubuntu/bionic64'...
==> cks-master: Matching MAC address for NAT networking...
==> cks-master: Setting the name of the VM: cks-training-lab_cks-master_1625736994543_48271
==> cks-master: Clearing any previously set network interfaces...
==> cks-master: Preparing network interfaces based on configuration...
    cks-master: Adapter 1: nat
    cks-master: Adapter 2: hostonly
==> cks-master: Forwarding ports...
    cks-master: 22 (guest) => 2222 (host) (adapter 1)
==> cks-master: Running 'pre-boot' VM customizations...
==> cks-master: Resized disk: old 40960 MB, req 51200 MB, new 51200 MB
==> cks-master: You may need to resize the filesystem from within the guest.
==> cks-master: Booting VM...
(truncated output)
  1. Suspend training machines
cks-student@laptop:~# vagrant suspend

==> cks-master: Saving VM state and suspending execution...
==> cks-worker-1: Saving VM state and suspending execution...
  1. Destroy virtualized environment
cks-student@laptop:~# vagrant destroy -f

==> cks-master: Forcing shutdown of VM...
==> cks-master: Destroying VM and associated drives...
==> cks-worker-1: Forcing shutdown of VM...
==> cks-worker-1: Destroying VM and associated drives...

NOTE: The environment is prepared to bootstrap a full Kubernetes cluster from the scratch, if you want to provision only certain steps (e.g., CNI, dashboard, ingress controller, OPA, etc.), you may modify any of the Ansible playbooks on the kubernetes-setup folder.

ckx-training-box's People

Contributors

leo8a avatar

Watchers

 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.