-
Notifications
You must be signed in to change notification settings - Fork 43
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 #296 from mikemcd3912/hybrid-nodes-addition
OpenEBS for Hybrid Node storage
- Loading branch information
Showing
8 changed files
with
90 additions
and
17 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
eks-anywhere-hybrid/Addons/Core/storage-driver/kustomization.yaml
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,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- storage-driver.yaml |
19 changes: 19 additions & 0 deletions
19
eks-anywhere-hybrid/Addons/Core/storage-driver/openebs/helm-release.yaml
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,19 @@ | ||
--- | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta1 | ||
kind: HelmRelease | ||
metadata: | ||
name: openebs | ||
namespace: openebs | ||
spec: | ||
chart: | ||
spec: | ||
chart: openebs | ||
reconcileStrategy: ChartVersion | ||
sourceRef: | ||
kind: HelmRepository | ||
name: openebs | ||
namespace: openebs | ||
version: "3.3.0" | ||
interval: 60s | ||
targetNamespace: openebs | ||
|
10 changes: 10 additions & 0 deletions
10
eks-anywhere-hybrid/Addons/Core/storage-driver/openebs/helm-repo.yaml
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,10 @@ | ||
--- | ||
apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||
kind: HelmRepository | ||
metadata: | ||
name: openebs | ||
namespace: openebs | ||
spec: | ||
interval: 30s | ||
url: https://openebs.github.io/charts | ||
|
7 changes: 7 additions & 0 deletions
7
eks-anywhere-hybrid/Addons/Core/storage-driver/openebs/kustomization.yaml
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 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- namespace.yaml | ||
- helm-repo.yaml | ||
- helm-release.yaml | ||
- local-hostpath-sc.yaml |
15 changes: 15 additions & 0 deletions
15
eks-anywhere-hybrid/Addons/Core/storage-driver/openebs/local-hostpath-sc.yaml
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,15 @@ | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: local-hostpath | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: true | ||
openebs.io/cas-type: local | ||
cas.openebs.io/config: | | ||
- name: StorageType | ||
value: hostpath | ||
- name: BasePath | ||
value: /mnt/lpv | ||
provisioner: openebs.io/local | ||
reclaimPolicy: Delete | ||
volumeBindingMode: WaitForFirstConsumer |
4 changes: 4 additions & 0 deletions
4
eks-anywhere-hybrid/Addons/Core/storage-driver/openebs/namespace.yaml
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,4 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: openebs |
14 changes: 14 additions & 0 deletions
14
eks-anywhere-hybrid/Addons/Core/storage-driver/storage-driver.yaml
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 @@ | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 | ||
kind: Kustomization | ||
metadata: | ||
name: openebs | ||
namespace: flux-system | ||
spec: | ||
path: "./eks-anywhere-hybrid/Addons/Core/storage-driver/openebs" | ||
sourceRef: | ||
kind: GitRepository | ||
name: addons | ||
namespace: flux-system | ||
interval: 5m0s | ||
prune: true | ||
--- |
34 changes: 17 additions & 17 deletions
34
eks-anywhere-hybrid/Addons/Partner/Sample/manifestJob.yaml
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,17 +1,17 @@ | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: sample-hybrid-manifestjob | ||
namespace: default | ||
spec: | ||
backoffLimit: 1 | ||
template: | ||
spec: | ||
containers: | ||
- name: job | ||
image: busybox | ||
args: | ||
- /bin/sh | ||
- -c | ||
- date; echo sleeping....; sleep 5s; exit 1; | ||
restartPolicy: Never | ||
# apiVersion: batch/v1 | ||
# kind: Job | ||
# metadata: | ||
# name: sample-hybrid-manifestjob | ||
# namespace: default | ||
# spec: | ||
# backoffLimit: 1 | ||
# template: | ||
# spec: | ||
# containers: | ||
# - name: job | ||
# image: busybox | ||
# args: | ||
# - /bin/sh | ||
# - -c | ||
# - date; echo sleeping....; sleep 5s; exit 1; | ||
# restartPolicy: Never |