Skip to content

Commit

Permalink
Adding Auto mode directory and storage driver
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemcd3912 committed Dec 18, 2024
1 parent bec8a2b commit d148953
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
11 changes: 11 additions & 0 deletions eks-auto-mode/Addons/Core/storage-driver/gp3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# STORAGE CLASS
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: eks-auto-ebs-csi-sc
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: ebs.csi.eks.amazonaws.com
volumeBindingMode: WaitForFirstConsumer
parameters:
type: gp3
17 changes: 17 additions & 0 deletions eks-auto-mode/Addons/Partner/Sample/manifestJob.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: batch/v1
kind: Job
metadata:
name: sample-auto-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
21 changes: 21 additions & 0 deletions eks-auto-mode/Testers/Sample/testJob.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: sample-auto-daily-test-cronjob
namespace: default
spec:
schedule: "10 10 * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: job
image: busybox
args:
- /bin/sh
- -c
- date; echo sleeping....; sleep 5s; exit 0;
restartPolicy: Never
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1

0 comments on commit d148953

Please sign in to comment.