Skip to Main Content
Certified Kubernetes Administrator (CKA) Exam Guide
book

Certified Kubernetes Administrator (CKA) Exam Guide

by Mélony Qin
November 2022
Intermediate to advanced content levelIntermediate to advanced
322 pages
6h 24m
English
Packt Publishing
Content preview from Certified Kubernetes Administrator (CKA) Exam Guide

Appendix - Mock CKA scenario-based practice test resolutions

Chapter 2 – Installing and Configuring Kubernetes Clusters

You have two virtual machines: master-0 and worker-0. Please complete the following mock scenarios.

Scenario 1

Install the latest version of kubeadm , then create a basic kubeadm cluster on the master-0 node, and get the node information.

  1. Update the apt package index, add a Google Cloud public signing key, and set up the Kubernetes apt repository by running the following instructions:

    sudo apt-get update

    sudo apt-get install -y apt-transport-https ca-certificates curl

    sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg

    echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Certified Kubernetes Administrator (CKA)

Certified Kubernetes Administrator (CKA)

Sander van Vugt

Publisher Resources

ISBN: 9781803238265