-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #355 from mlittlec/main
Add 'Use Affinity" tutorial
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: "Use Stateless Deployments" | ||
date: 2024-05-09 | ||
draft: false | ||
summary: "Learn how to use Stateless Deployments with Oracle Cloud Native Environment." | ||
tags: ["ocne", "lab", "tutorial", "ocne-install"] | ||
showDate: true | ||
--- | ||
|
||
## Links | ||
|
||
:crescent_moon: [Lab](https://luna.oracle.com/lab/ec9d9a9c-ad0f-49e2-8304-512046255635) | ||
|
||
:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/ocne-deployments) | ||
|
||
## Details | ||
|
||
There are two primary approaches to managing applications on Kubernetes - StatefulSets and Deployments. StatefulSets, which require persistent storage, manage stateful workloads such as a MySQL deployment on Kubernetes. Deployments provide a way to manage stateless applications such as websites, which often do not need to maintain their internal state. | ||
|
||
> **Note:** A [DaemonSets](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/) is a third available Kubernetes controller. Daemonsets ensure a replica of Pod will always run on all or some other cluster's Nodes and are typically used for logging agents, monitoring systems, etc. | ||
### Objectives | ||
|
||
In this tutorial, you will learn: | ||
|
||
- How to deploy and manage stateless applications | ||
- How to perform a rolling update and rollback | ||
|
||
### Prerequisites | ||
|
||
- Minimum of a 3-node Oracle Cloud Native Environment cluster: | ||
|
||
- Operator node | ||
- Kubernetes control plane node | ||
- Kubernetes worker node | ||
|
||
- Each system should have Oracle Linux installed and configured with: | ||
|
||
- An Oracle user account (used during the installation) with sudo access | ||
- Key-based SSH, also known as password-less SSH, between the hosts | ||
- Installation of Oracle Cloud Native Environment |