diff --git a/eks-auto-mode/Addons/Core/storage-driver/gp3.yaml b/eks-auto-mode/Addons/Core/storage-driver/gp3.yaml new file mode 100644 index 00000000..d19ce523 --- /dev/null +++ b/eks-auto-mode/Addons/Core/storage-driver/gp3.yaml @@ -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 \ No newline at end of file diff --git a/eks-auto-mode/Addons/Partner/Sample/manifestJob.yaml b/eks-auto-mode/Addons/Partner/Sample/manifestJob.yaml new file mode 100644 index 00000000..253ccdf2 --- /dev/null +++ b/eks-auto-mode/Addons/Partner/Sample/manifestJob.yaml @@ -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 diff --git a/eks-auto-mode/Testers/Sample/testJob.yaml b/eks-auto-mode/Testers/Sample/testJob.yaml new file mode 100644 index 00000000..7ed4d2e8 --- /dev/null +++ b/eks-auto-mode/Testers/Sample/testJob.yaml @@ -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 \ No newline at end of file