From the course: Automating Kubernetes with GitOps

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Preparation: Setting up storage

Preparation: Setting up storage - Kubernetes Tutorial

From the course: Automating Kubernetes with GitOps

Preparation: Setting up storage

- All right, time for the next step. This next step is some pre-requirements before we can focus on the resources that we need to run in the GitHubs configuration. So we need storage. We also need a small modification to make sure that later on Ingress is going to be able to resolve the names that we are going to use. The steps are here on the slide. Let me run them for you. So first I need to go to minikube, and in minikube you can easily use minikube ssh. So I need to create my two directories, /prod as well as /preprod with the permission mode set to 777. Let do an ls-l to figure out if that really worked out okay. And there you go. As you can see, it did work out okay. So now we can leave minikube and we can continue and we can start working on the actual storage providers. So in order to help you with this, I have created a couple of yaml files. They are in in the GitOps repository. And in the GitOps repository there's a directory with the name lesson 16, and that contains…

Contents