Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

❓ Purpose

Supporting materials for the STFC Cloud Advanced Workshop

📅 Date

10 & 13 November, 2023

🗃️ What was covered

To build on the Intermediate Cloud workshop held on 21st April 2023. A practical workshop for delegates to learn how to utilise Kubernetes clusters in the STFC Cloud and the best practices, including the use of automation and configuration management, while reducing the amount of support needed to achieve some of these aims.

Outline:-

“Workshop intro slide” set, should include information on:-

  1. Welcome to workshop

  2. Basic location logistics: Toilets, Fire alarm and assembly point

  3. Purpose of the workshop – its objectives. “aims for the day”

  4. Introduction of presenters and Cloud team

  5. Workshop Days schedule (Agenda) (what activities get done and when, breaks etc, finish time).

  6. Go round the delegates and trainers to introduce themselves. (someone makes a map here !)

  7. Cloud support page (how the users get help !)

  8. Quick list of Pre-requisites, including: Basic usage of Openstack CLI, SSH keys. Concept of Docker and Container basics. Basic knowledge of Loadbalancers, Actual usage of STFC Cloud.

Friday:- (start 09:30, finish about 15:00 / 15:30. )

Ansible:-

  1. What is configuration Management.

  2. Ansible

  3. Ansible ping module.

  4. Using Ansible to create VMs.

  5. Automatically connect to VMs.

  6. Docker: use Ansible to spin up nginx in Docker.

  7. Getting ansible add a security group for http.

  8. Dynamic inventory: Grouping systems based on meta-data/names.

  9. Ansible Terraform: Auto-provision of machines and giving them roles. (Was given as an appendix slide below)

Monday:- (start 09:30, Finish about 15:30).

Cluster API:-

  1. Minikube and an intro to kubectl

  2. Spinning up your first cluster (Kubernetes)

  3. Discuss the layout & how you should manage your clusters

  4. Install a simple Hello world app using helm

  5. Building on you knowledge: Getting a cluster to spin another cluster up

  6. Discuss upgrading your cluster.

  7. Provisioning a manila share within your Kubernetes cluster , using ceph-fuse client

🎞️ Resources

Intro

View file
nameSTFC Cloud Workshop Advanced welcome slides_v1.0.pptx

View file
nameIntermediate overview v1.1.pptx

Ansible

Slides:

View file
nameConfig management v1.2.pptx

Commands used (as txt):

View file
nameconfig_mang_copy_material.txt

Final directory:

View file
namehello_world_no_tf.zip

Terraform + Ansible

This builds on the previous workshop, but was not delivered on the day.

Slides:

View file
nameAppendix TF v1.2.pptx

Final directory:

View file
namehello_world_with_tf.zip

Cluster API

Slides:

View file
nameCAPI_Workshop_Full_1.2.pptx

Commmands (as txt):

View file
namecapi_commands.txt

Recordings:

Link to recordings:

Day 1: https://ukri.zoom.us/rec/share/cPgx7jwe0Kn5HoZTE5OwXXFzKrrOQCCNcISiPAYW88TI4HkBoV40w1FHSpD9MhaP.EasQEXzaY97z5imL
Passcode: ?nSXew97

Day 2: https://ukri.zoom.us/rec/share/nx_qr5-9MU-ecobU3ZFkcAamSprfCqM-gB35ca_uAigCEfaUDp7i1PYeMKAjk_U1.uKERU6-mlWrmNJV8?startTime=1699864573000
Passcode: x$Jg5!9x

Add labels using the three dots at the top right

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@2c84e5f2
showSpacefalse
sortmodified
typepage
reversetrue
labelskb-how-to-article
cqllabel in ( "cloud" , "cloud-advanced-workshop" ) and type = "page" and space = "CLOUDKB"