-
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.
Signed-off-by: (Bit-Mage) <[email protected]>
- Loading branch information
(Bit-Mage)
committed
Oct 14, 2024
1 parent
749059f
commit 55251c6
Showing
16 changed files
with
148 additions
and
3 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
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
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
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
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 |
---|---|---|
|
@@ -3,3 +3,6 @@ | |
:END: | ||
#+title: Flux | ||
#+filetags: :cloud-native:cncf: | ||
|
||
* Resources | ||
- https://fluxcd.io/flux/ |
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,52 @@ | ||
:PROPERTIES: | ||
:ID: 6693363c-a939-47bb-8900-5b1a6dc56c0c | ||
:END: | ||
#+title: Storage-K8S | ||
#+filetags: :k8s: | ||
|
||
* Overview | ||
- Storage in Kubernetes provides both persistent and ephemeral storage options for applications. | ||
- Storage abstraction in Kubernetes involves resources like Persistent Volumes (PV), Persistent Volume Claims (PVC), and Storage Classes to streamline provisioning and management. | ||
|
||
** Components of Kubernetes Storage | ||
|
||
- Persistent Volume (PV): | ||
- Cluster storage provisioned by administrators or dynamically via storage classes. | ||
- Functions independently of pod lifecycle with defined capacity and access mode. | ||
|
||
- Persistent Volume Claim (PVC): | ||
- User-requested storage specifying size and access modes (ReadWriteOnce, ReadOnlyMany, ReadWriteMany). | ||
- Binds to a PV that meets the claim’s specifications. | ||
|
||
- Storage Classes: | ||
- Define different storage types and characteristics like replication and performance. | ||
- Enable dynamic volume provisioning. | ||
- Applications leverage StorageClass to align volumes with performance requirements. | ||
|
||
** Connection between PV, PVC, and Storage Classes | ||
|
||
- PVCs abstract storage for users; PVs represent the actual storage resource. | ||
- Storage Classes offer templates for dynamically provisioning PVs based on application needs. | ||
- Kubernetes provisions a PV automatically upon PVC creation that matches the desired StorageClass. | ||
|
||
** Considerations in Kubernetes Storage | ||
|
||
- Data Security: Implement encryption, access controls, and network policies. | ||
- Storage Performance: Monitor IOPS, latency, and throughput relative to application demands. | ||
- Backup and Recovery: Develop strategies and use tools for data recovery. | ||
- Capacity Planning: Evaluate resource utilization and anticipate future needs for optimal storage allocation. | ||
|
||
** Approaches for Smarter Storage Management in K8S | ||
|
||
- Automate monitoring and alert systems for storage usage and performance metrics. | ||
- Update Storage Classes regularly to incorporate new storage technology advancements. | ||
- Design storage architecture with scalability and high availability in mind. | ||
- checkout [[id:ce56c5a9-b31d-46db-b2b0-6c83fa6abf02][CSI]], for flexible storage classes | ||
- also read up on non-persistent storage options ([[id:60916676-5582-4438-b24e-902d51cbd8e0][Ephemeral Volumes]]) | ||
|
||
* Resources | ||
- https://kubernetes.io/docs/concepts/storage/ | ||
- https://cloudian.com/guides/kubernetes-storage/kubernetes-storage-101-concepts-and-best-practices/ | ||
- https://bluexp.netapp.com/blog/cvo-blg-kubernetes-storage-an-in-depth-look | ||
- https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/ | ||
- https://kubernetes.io/docs/concepts/storage/persistent-volumes/ |
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,5 @@ | ||
:PROPERTIES: | ||
:ID: 3f197124-a252-4019-a821-332eb1e833fa | ||
:END: | ||
#+title: Container Runtime Interface | ||
#+filetags: :k8s: |
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,5 @@ | ||
:PROPERTIES: | ||
:ID: 6ca98606-217b-4741-97f8-d8f9f70a7d46 | ||
:END: | ||
#+title: Container Network Interface | ||
#+filetags: :k8s: |
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,11 @@ | ||
:PROPERTIES: | ||
:ID: ce56c5a9-b31d-46db-b2b0-6c83fa6abf02 | ||
:END: | ||
#+title: Container Storage Interface | ||
#+filetags: :k8s: | ||
|
||
|
||
* Resources | ||
- https://kubernetes-csi.github.io/docs/introduction.html | ||
- https://github.com/kubernetes/design-proposals-archive/blob/main/storage/container-storage-interface.md | ||
- https://kubernetes.io/blog/2019/01/15/container-storage-interface-ga/ |
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,8 @@ | ||
:PROPERTIES: | ||
:ID: 60916676-5582-4438-b24e-902d51cbd8e0 | ||
:END: | ||
#+title: Ephemeral Volumes-K8S | ||
#+filetags: :k8s: | ||
|
||
* Resources | ||
- https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/ |
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,8 @@ | ||
:PROPERTIES: | ||
:ID: 07566934-ed18-4b7e-858c-25b9fecd9f59 | ||
:END: | ||
#+title: Benchmarking | ||
#+filetags: :cs:cloud: | ||
|
||
* Tools | ||
** [[id:0472a2a4-99bb-46e7-a2ab-da094483f106][Apache Bench]] |
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,8 @@ | ||
:PROPERTIES: | ||
:ID: 0472a2a4-99bb-46e7-a2ab-da094483f106 | ||
:END: | ||
#+title: Apache Bench | ||
#+filetags: :tool:cs: | ||
|
||
* Resources | ||
- https://httpd.apache.org/docs/2.4/programs/ab.html |
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,5 @@ | ||
:PROPERTIES: | ||
:ID: aad7cf70-154f-4198-ad2b-8e6cd40771aa | ||
:END: | ||
#+title: Traefik | ||
#+filetags: :k8s:cloud:cncf: |
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,14 @@ | ||
:PROPERTIES: | ||
:ID: 92efb858-8a87-40f6-bbcf-d736d0ffd942 | ||
:END: | ||
#+title: GitOps | ||
#+filetags: :cs: | ||
|
||
* Overview | ||
- practices towards managing infra and applications | ||
- git as the single source of truth | ||
|
||
* Relevant Nodes | ||
** [[id:60e66e66-d394-42e7-a624-303ddb295395][Flux]] | ||
* Resources | ||
- https://docs.gitlab.com/ee/user/clusters/agent/gitops.html |
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,11 @@ | ||
:PROPERTIES: | ||
:ID: 73c378eb-6593-4479-bb6f-5d731ce203f2 | ||
:END: | ||
#+title: Custom Resources-K8S | ||
#+filetags: :k8s: | ||
|
||
For a truly declarative API (orchestrating current and desired states), also see [[id:0d5a5e8f-6b9f-4427-b60a-a3f93735b256][Custom Controllers-K8S]] | ||
|
||
|
||
* Resources | ||
- https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/#custom-controllers |
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,7 @@ | ||
:PROPERTIES: | ||
:ID: 0d5a5e8f-6b9f-4427-b60a-a3f93735b256 | ||
:END: | ||
#+title: Custom Controllers-K8S | ||
#+filetags: :k8s: | ||
|
||
Work in conjunction with [[id:73c378eb-6593-4479-bb6f-5d731ce203f2][Custom Resources-K8S]] |