Skip to content

Commit

Permalink
Merge pull request #355 from mlittlec/main
Browse files Browse the repository at this point in the history
Add 'Use Affinity" tutorial
  • Loading branch information
mlittlec authored May 9, 2024
2 parents 70b1c95 + 8138d7e commit cd38945
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
Binary file added content/posts/ocne/post-28/featured.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions content/posts/ocne/post-28/index.md
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

0 comments on commit cd38945

Please sign in to comment.