{"id":24183975,"url":"https://github.com/simonharrer/kubernetes-workshop","last_synced_at":"2025-08-01T11:14:51.204Z","repository":{"id":145435176,"uuid":"184635027","full_name":"simonharrer/kubernetes-workshop","owner":"simonharrer","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-11T09:41:38.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T23:14:52.419Z","etag":null,"topics":["education","kubernetes","seminar","tutorial","university","workshop"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonharrer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-02T18:54:01.000Z","updated_at":"2020-02-14T19:47:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4dcb223-3ac7-4fde-89d4-58e799772803","html_url":"https://github.com/simonharrer/kubernetes-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simonharrer/kubernetes-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonharrer%2Fkubernetes-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonharrer%2Fkubernetes-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonharrer%2Fkubernetes-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonharrer%2Fkubernetes-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonharrer","download_url":"https://codeload.github.com/simonharrer/kubernetes-workshop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonharrer%2Fkubernetes-workshop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268214422,"owners_count":24214352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["education","kubernetes","seminar","tutorial","university","workshop"],"created_at":"2025-01-13T09:46:23.415Z","updated_at":"2025-08-01T11:14:51.073Z","avatar_url":"https://github.com/simonharrer.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Workshop Schedule\n\n    08:00 Orga\n    08:15 1,5h Part 1\n    09:45 Break\n    10:15 Cluster Setup\n    10:30 1,5h Part 2\n    12:00 Lunch Break\n    13:00 1,25h Part 3\n    14:15 Short Break\n    14:30 Cluster Teardown\n    14:45 0.75h Part 4\n    15:30 Feedback\n    16:00 Doors Closing\n\n## Orga\n\nOrga stuff. Greetings. Describing the agenda.\n\n## Part 1 (1.5h)\n\n### Step 1 (1.25h)\n\nWork through https://kubernetes.io/docs/tutorials/kubernetes-basics/ in pairs in the browser.\n\nDuring the work through: Write one-sentence definitions for the following concepts: cluster, node, pod, container, volume, deployment, service\n\n### Step 2 (0.25h)\n\nRecapitulate concepts together in the plenum\n\n## Cluster Setup\n\nCreating a new cluster with terraform. Describing what terraform does while the cluster is being created.\n\n## Part 2 (1.5h)\n\n### Step 1 (0.25h)\n\n```bash\n# Connect to Google Cloud Platform with account \"kubernetesworkshop2019@gmail.com\" (password see whiteboard)\n$ gcloud init\n\n# get k8s credentials\n$ gcloud container clusters get-credentials kubernetes-workshop --region=europe-west3 --project=dsg-sem-m-sose-2019\n\n# set the namespace of your pair\n$ kubectl config set-context $(kubectl config current-context) --namespace=groupX\n```\n\nSeparate namespaces are necessary so that every pair can work in their own isolated space within the same cluster.\nMake sure you have set your namespace.\nYou can check that via `kubectl config view` that it is set.\n\n### Step 2 (1h)\n\n- Follow https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook (and use the cluster provided)\n- Consult the kubernetes documentation for anything new in the .yaml files\n- Note: use `type: LoadBalancer` in step 3! (Already set correctly in the guestbook/*.yaml files in this repository)\n\nCreate two visualizations while you follow the tutorial above:\n\n- Visualize the application itself with its components\n- Visualize the deployments, pods, volumes, services, nodes, etc. your application uses; get the necessary information through kubectl calls\n\n### Step 3 (0.25h)\n\n- Scale the application by changing the replica set amount\n- Delete pods to see the self-healing mechanisms\n\n## Part 3 (1.25h)\n\nThis part also acts as a buffer if the time is not sufficient for the previous parts.\n\n- Follow https://cloud.google.com/kubernetes-engine/docs/tutorials/persistent-disk (and use the cluster provided)\n- Consult the kubernetes documentation for anything new in the .yaml files\n- Note: I set the volume size to 20Gi (because of QUOTA reasons)\n- Note: you cannot scale because the volumes can only be attached to a single pod!\n\nCreate two visualizations while you follow the tutorial above:\n\n- Visualize the application itself with its components\n- Visualize the deployments, pods, volumes, services, nodes, etc. your application uses; get the necessary information through kubectl calls\n\n## Cluster Teardown\n\nHave a look at the workloads still in the cluster in the web view. Teardown the Kubernetes cluster through terraform.\n\n## Part 4 (0.75h)\n\n- \"Kubernetes in the Real World in an Ecommerce Project\" at the whiteboard\n\n## Feedback\n\n- What did you like?\n- What would you do differently next time?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonharrer%2Fkubernetes-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonharrer%2Fkubernetes-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonharrer%2Fkubernetes-workshop/lists"}