Skip to content

Commit f9acc86

Browse files
authored
Merge pull request #509 from bgraef/main
update pv and pv claim for ocne2
2 parents 2402f62 + c396182 commit f9acc86

File tree

1 file changed

+24
-14
lines changed

1 file changed

+24
-14
lines changed

content/posts/ocne/post-23/index.md

+24-14
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: "Use Persistent Volumes and Persistent Volume Claims"
3-
date: 2023-11-15
3+
date: 2025-02-27
44
draft: false
55
summary: "This tutorial shows how to create and use Persistent Volumes and Persistent Volume Claims with Oracle Cloud Native Environment."
6-
tags: ["ocne", "lab", "tutorial", "ocne-install"]
6+
tags: ["ocne2", "lab", "tutorial", "ocne-install"]
77
showDate: true
88
---
99

@@ -15,25 +15,35 @@ showDate: true
1515

1616
## Details
1717

18-
This tutorial shows how to create and use Persistent Volumes and Persistent Volume Claims with Oracle Cloud Native Environment. Both Persistent Volumes and Persistent Volume Claims work together to provide persistence to any container-based applications deployed onto Oracle Cloud Native Environment. You will start by covering how to use Persistent Volumes initially, and then cover the use of Persistent Volume Claims.
18+
Because container-based applications are stateless by default, any file updates during the container lifetime are lost. However, if your application is stateful, the ability to persist any changes to the filesystem becomes relevant. It is this requirement that has led to Kubernetes supporting many types of volumes. Many volume types that you may have encountered already are [ephemeral](https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/) (they only exist during the pod lifetime). Kubernetes also supports [persistent](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) volumes, which persist any data stored beyond the pod lifetime. There are several [Persistent Volume types](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#types-of-persistent-volumes) supported by Kubernetes, and this tutorial will demonstrate one of the simplest - the `local` type, which stores data on devices stored locally on one of the cluster nodes.
19+
20+
This tutorial shows how to create and use Persistent Volumes and Persistent Volume Claims with Oracle Cloud Native Environment (Oracle CNE). Persistent Volumes and Persistent Volume Claims work together to provide persistence to any container-based applications deployed onto Oracle CNE. You will start by covering how to use Persistent Volumes initially, then cover the use of Persistent Volume Claims.
1921

2022
### Objectives
2123

22-
You will learn:
24+
In this tutorial, you will learn to:
2325

26+
- Install the prerequisites for the *oci* provider
27+
- Use the *oci* provider to create and manage a Kubernetes cluster
2428
- The difference between a Persistent Volume (PV) and a Persistent Volume Claim (PVC)
25-
- How to use Persistent Volumes and Persistent Volume Claims with Oracle Cloud Native Environment.
29+
- How to use Persistent Volumes and Persistent Volume Claims
2630

2731
### Prerequisites
2832

29-
- 3 Oracle Linux systems to use as:
30-
- Operator node (ocne-operator-01)
31-
- Kubernetes control plane node (ocne-control-01)
32-
- Kubernetes worker node (ocne-worker-01)
33+
- Minimum of one Oracle Linux instance
34+
35+
- Each system should have Oracle Linux installed and configured with:
36+
37+
- An Oracle user account (used during the installation) with sudo access
38+
- Key-based SSH, also known as password-less SSH, between the hosts
3339

34-
- Each system should have the latest Oracle Linux 8 (x86_64) installed
40+
- OCI cluster creation requires access to the following resources in an Oracle Cloud Infrastructure tenancy:
3541

36-
- This environment is pre-configured with:
37-
- An Oracle user account (used during the installation) with sudo access
38-
- Key-based SSH, also known as password-less SSH, between the hosts
39-
- Installation of Oracle Cloud Native Environment and Oracle Cloud Infrastructure Cloud Controller Manager (oci-ccm) module
42+
- Virtual cloud network with four subnets
43+
- Network load balancer
44+
- Object Storage bucket with minimum 5 GiB available
45+
- Compute Custom Image
46+
- Compute Arm Shape for the control plane node
47+
- VM.Standard.A1.Flex with two OCPU and 12 memory
48+
- Compute for each additional control plane and worker node
49+
- VM.Standard.E4.Flex with four OCPU and 64 memory

0 commit comments

Comments
 (0)