Skip to content

Commit

Permalink
Merge pull request #288 from mikemcd3912/hybrid-nodes-addition
Browse files Browse the repository at this point in the history
Adding Hybrid nodes directory and sample files
  • Loading branch information
elamaran11 authored Aug 10, 2024
2 parents 31dbf9c + f0e43b6 commit 5b7a359
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
17 changes: 17 additions & 0 deletions eks-anywhere-hybrid/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-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
21 changes: 21 additions & 0 deletions eks-anywhere-hybrid/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-hybrid-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 5b7a359

Please sign in to comment.