Giter Site home page Giter Site logo

sirius2016 / caz-class-v2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skillrepos/caz-class-v2

0.0 0.0 0.0 18.94 MB

Materials for Containers A-Z training - codespace version

License: GNU General Public License v3.0

Shell 46.13% Mustache 53.87%

caz-class-v2's Introduction

Containers A-Z - lab setup

These instructions will guide you through configuring a GitHub Codespaces environment that you can use to run the course labs.

These steps must be completed prior to starting the actual labs.

Create your own repository for these labs

  • Ensure that you have created a repository by forking the skillrepos/caz-class-v2 project as a template into your own GitHub area.
  • You do this by clicking the Fork button in the upper right portion of the main project page and following the steps to create a copy in your-github-userid/caz-class-v2 .

Forking repository Forking repository

Configure your codespace

  1. In your forked repository, start a new codespace.

    • Click the Code button on your repository's landing page.
    • Click the Codespaces tab.
    • Click Create codespaces on main to create the codespace.
    • After the codespace has initialized there will be a terminal present.

Starting codespace

Start the Kubernetes cluster and complete setup

  1. Run the following commands in the codespace's terminal (This will take several minutes to run...):

    . ./day1.sh
    
    • The output should look similar to the following.
๐Ÿ˜„  minikube v1.31.2 on Ubuntu 20.04 (docker/amd64)
โœจ  Automatically selected the docker driver. Other choices: none, ssh
๐Ÿ“Œ  Using Docker driver with root privileges
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿšœ  Pulling base image ...
๐Ÿ’พ  Downloading Kubernetes v1.27.4 preload ...
    > preloaded-images-k8s-v18-v1...:  393.21 MiB / 393.21 MiB  100.00% 206.91 
    > gcr.io/k8s-minikube/kicbase...:  447.62 MiB / 447.62 MiB  100.00% 56.57 M
๐Ÿ”ฅ  Creating docker container (CPUs=2, Memory=2200MB) ...
๐Ÿณ  Preparing Kubernetes v1.27.4 on Docker 24.0.4 ...
    โ–ช Generating certificates and keys ...
    โ–ช Booting up control plane ...
    โ–ช Configuring RBAC rules ...
๐Ÿ”—  Configuring bridge CNI (Container Networking Interface) ...
    โ–ช Using image gcr.io/k8s-minikube/storage-provisioner:v5
๐Ÿ”Ž  Verifying Kubernetes components...
๐ŸŒŸ  Enabled addons: default-storageclass, storage-provisioner
๐Ÿ„  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
 ๐Ÿ’ก  registry is an addon maintained by Google. For any concerns contact minikube on GitHub.
 You can view the list of minikube maintainers at: https://github.com/kubernetes/minikube/blob/master/OWNERS
  โ–ช Using image gcr.io/google_containers/kube-registry-proxy:0.4
  โ–ช Using image docker.io/registry:2.8.1
 ๐Ÿ”Ž  Verifying registry addon...
 ๐ŸŒŸ  The 'registry' addon is enabled

Labs

  1. After the codespace has started, open the labs document by going to the file tree on the left, find the file named codespace-labs.md, right-click on it, and open it with the Preview option.)

Labs doc preview in codespace

This will open it up in a tab above your terminal. Then you can follow along with the steps in the labs. Any command in the gray boxes is either code intended to be run in the console or code to be updated in a file.

Labs doc: Containers A-Z Labs

caz-class-v2's People

Contributors

techupskills avatar sasbcl avatar brentlaster 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.