forked from MichaelCade/90DaysOfDevOps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32e8e70
commit bcc207b
Showing
2 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,8 +1,24 @@ | ||
## State and Ingress in Kubernetes | ||
In this closing section of Kubernetes, we are going to take a look at State and ingress. | ||
|
||
Everything we have said so far is about stateless, stateless is really where our applications do not care which network it is using and does not need any permanent storage. Whereas stateful apps, databases for example for such an application to function correctly, you’ll need to ensure that pods can reach each other through a unique identity that does not change (hostnames, IPs...etc.). Examples of stateful applications include MySQL clusters, Redis, Kafka, MongoDB and others. Basically though any application that stores data. | ||
|
||
Stateful Application | ||
Persistant Volumes | Claims | ||
### Stateful Application | ||
|
||
LAMP Stack > Drupal | ||
StatefulSets represent a set of Pods with unique, persistent identities and stable hostnames that Kubernetes maintains regardless of where they are scheduled. The state information and other resilient data for any given StatefulSet Pod is maintained in persistent disk storage associated with the StatefulSet. | ||
|
||
|
||
|
||
|
||
|
||
`kubectl port-forward svc/pacman 9090:80 -n pacman` | ||
|
||
|
||
### Persistant Volumes | Claims | ||
|
||
|
||
### Ingress explained | ||
|
||
|
||
### LAMP Stack > Drupal | ||
|
||
Ingress explained |
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