Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenEBS for Hybrid Node storage #296

Merged
merged 5 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions eks-anywhere-common/Testers/Sysdig/sysdig-testJob.yaml

This file was deleted.

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
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

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

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
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
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 eks-anywhere-hybrid/Addons/Core/storage-driver/storage-driver.yaml
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 eks-anywhere-hybrid/Addons/Partner/Sample/manifestJob.yaml
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
Loading