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

Feature/add minimal k8s scheduler #127

Merged
merged 35 commits into from
Aug 14, 2024
Merged

Conversation

Mtze
Copy link
Member

@Mtze Mtze commented Aug 13, 2024

Steps to test

  • Start Minikube
minikube start
  • Start API and Queue
docker compose -f docker-compose.yml -f docker-compose.dev.yml up redi
s fluentbit hadesAPI
  • Start K8s scheduler
DEBUG=true HADES_EXECUTOR=k8s go run ./HadesScheduler
  • Schedule a successful job with bruno
  • Schedule a failing job with bruno
  • Observe running pods:
k -n hades-executor get po
# you may look at the container logs - the "-c 2" indicates that you will look at the second init container which is the build execution container in the bruno example
k -n hades-executor logs -f <pod name> -c 2

Mtze and others added 30 commits May 24, 2024 15:56
@Mtze Mtze marked this pull request as ready for review August 13, 2024 14:52
@Mtze Mtze requested a review from robertjndw August 13, 2024 14:53
HadesScheduler/k8s/job.go Outdated Show resolved Hide resolved
HadesScheduler/k8s/job.go Outdated Show resolved Hide resolved
HadesScheduler/k8s/job.go Show resolved Hide resolved
HadesScheduler/k8s/k8s.go Show resolved Hide resolved
HadesScheduler/k8s/namespace.go Outdated Show resolved Hide resolved
HadesScheduler/k8s/namespace.go Outdated Show resolved Hide resolved
@Mtze Mtze merged commit 4af516d into main Aug 14, 2024
8 checks passed
@Mtze Mtze deleted the feature/add-minimal-k8s-scheduler branch August 14, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants