From the course: Certified Kubernetes Administrator (CKA) Cert Prep

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Lesson 11 lab challenge: Setting up storage

Lesson 11 lab challenge: Setting up storage - Kubernetes Tutorial

From the course: Certified Kubernetes Administrator (CKA) Cert Prep

Lesson 11 lab challenge: Setting up storage

- Once again, we're at the end of this lesson. Let's do a lab. In this lab, create a PersistentVolume that uses the host pad storage type to access the directory /storage. Create a file /storage/index.html that contains the text "hello lab11." Then a run a Pod that uses an Nginx image and mounts the HostPad storage on the directory /usr/share/nginx/html. And on the running Pod, use kubectl exec to verify the existence of this file. That's all. Good luck.

Contents