-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Auto mode directory and storage driver
- Loading branch information
mikemcd3912
committed
Dec 18, 2024
1 parent
bec8a2b
commit d148953
Showing
3 changed files
with
49 additions
and
0 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 |
---|---|---|
@@ -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 |
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,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 |
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,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 |