Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0914531
feat: start api build and provider skeletons
jtschelling Dec 4, 2025
9474869
feat: get kwok provider running tilt
jtschelling Dec 5, 2025
47a188b
feat: super close
jtschelling Dec 5, 2025
d2ca82a
feat: got first provider working
jtschelling Dec 5, 2025
728b6e3
ci: get tests mostly working
jtschelling Dec 20, 2025
7f02d5a
feat: remove csp related items from janitor pkg
jtschelling Dec 20, 2025
7760cc1
feat: error handling and getting all tests working
jtschelling Dec 22, 2025
fc938e8
ci: gitignore
jtschelling Dec 22, 2025
748a396
feat: provider framework
jtschelling Dec 22, 2025
16e4cbd
cursor: fix test setup for grpc endpoint
jtschelling Dec 23, 2025
1df6043
feat: reorg builds/deploys
jtschelling Dec 29, 2025
963cd0a
ci: lint
jtschelling Dec 29, 2025
e7aee30
ci: lint license
jtschelling Dec 30, 2025
1d4d0a0
ci: gen proto files csp api
jtschelling Dec 30, 2025
30b2d9c
fix: remove old provider pkgs
jtschelling Dec 30, 2025
528043b
feat: init csp client and fix svc acct perms
jtschelling Dec 30, 2025
0e2b210
build: fix auto-formatting values files
jtschelling Jan 2, 2026
91f81ea
fix: cleanup after rebase
jtschelling Jan 5, 2026
9ab2db6
fix: go mod provider
jtschelling Jan 5, 2026
9abeb4e
fix: use common logger
jtschelling Jan 5, 2026
ef565eb
fix: go mod tidy
jtschelling Jan 5, 2026
af990cd
feat: metrics endpoint provider
jtschelling Jan 6, 2026
740873b
fix: go mod tidy
jtschelling Jan 6, 2026
8483bac
fix: run multiple listeners
jtschelling Jan 6, 2026
34d0526
build: move all the helm csp to the provider chart
jtschelling Jan 6, 2026
9994756
fix: go mod tidy
jtschelling Jan 6, 2026
eeb3287
Update janitor/pkg/controller/rebootnode_controller.go
jtschelling Jan 6, 2026
eae93f5
Update janitor-provider/main.go
jtschelling Jan 6, 2026
fd3b4dc
fix: close grpc conns on exit
jtschelling Jan 9, 2026
41135e2
fix: update api for request id on isnodeready
jtschelling Jan 9, 2026
a9b3b02
fix: mock error handling
jtschelling Jan 9, 2026
758bc1f
fix: gitignore
jtschelling Jan 9, 2026
4d0ca29
fix: dead code
jtschelling Jan 9, 2026
c1ae344
fix: use slog test utils
jtschelling Jan 9, 2026
2988515
fix: misleading log line
jtschelling Jan 9, 2026
b06d7c1
ci: lint
jtschelling Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,16 @@ terraform.rc
.terraform
.terraform.lock.hcl

# ============================================================================
# Environment Management
# ============================================================================

### Version Management Tools ###
mise.toml

### VSCode ###
*.code-workspace

# ============================================================================
# Project-Specific Files
# ============================================================================
Expand Down
20 changes: 18 additions & 2 deletions .ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ platforms: [linux/amd64, linux/arm64]
env: [CGO_ENABLED=0]

builds:

- id: fault-quarantine
dir: fault-quarantine
main: .
Expand Down Expand Up @@ -69,7 +68,7 @@ builds:
org.opencontainers.image.version: "{{.Env.VERSION}}"
org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}"
org.opencontainers.image.created: "{{.Env.BUILD_DATE}}"

- id: csp-health-monitor
dir: health-monitors/csp-health-monitor
main: ./cmd/csp-health-monitor
Expand Down Expand Up @@ -155,6 +154,23 @@ builds:
org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}"
org.opencontainers.image.created: "{{.Env.BUILD_DATE}}"

- id: janitor-provider
dir: janitor-provider
main: .
ldflags:
- "-s -w"
- "-X main.version={{.Env.VERSION}} -X main.commit={{.Env.GIT_COMMIT}} -X main.date={{.Env.BUILD_DATE}}"
annotations:
org.opencontainers.image.description: "Example provider for NVSentinel Janitor"
labels:
org.opencontainers.image.source: "https://github.com/nvidia/nvsentinel"
org.opencontainers.image.licenses: "Apache-2.0"
org.opencontainers.image.title: "NVSentinel Janitor-Provider"
org.opencontainers.image.description: "Example implementation of the CSP provider interface for Janitor"
org.opencontainers.image.version: "{{.Env.VERSION}}"
org.opencontainers.image.revision: "{{.Env.GIT_COMMIT}}"
org.opencontainers.image.created: "{{.Env.BUILD_DATE}}"

- id: platform-connectors
dir: platform-connectors
main: .
Expand Down
15 changes: 13 additions & 2 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ build:
protos-generate: $(PROTOC_GEN_GO) $(PROTOC_GEN_GO_GRPC) protos-clean ## Generate Go code from Proto definitions.
@echo "Generating Proto code..."
@mkdir -p $(GEN_DIR)
cd proto && protoc \
cd proto && \
protoc \
-I . \
-I ../$(THIRD_PARTY_DIR) \
--plugin="protoc-gen-go=$(PROTOC_GEN_GO)" \
Expand All @@ -77,7 +78,17 @@ protos-generate: $(PROTOC_GEN_GO) $(PROTOC_GEN_GO_GRPC) protos-clean ## Generate
--go_opt=paths=source_relative \
--go-grpc_out=../$(GEN_DIR) \
--go-grpc_opt=paths=source_relative \
device/v1alpha1/*.proto
device/v1alpha1/*.proto && \
protoc \
-I . \
-I ../$(THIRD_PARTY_DIR) \
--plugin="protoc-gen-go=$(PROTOC_GEN_GO)" \
--plugin="protoc-gen-go-grpc=$(PROTOC_GEN_GO_GRPC)" \
--go_out=../$(GEN_DIR) \
--go_opt=paths=source_relative \
--go-grpc_out=../$(GEN_DIR) \
--go-grpc_opt=paths=source_relative \
csp/v1alpha1/*.proto
@echo "Cleaning up dependencies..."
go mod tidy
@echo "Done."
Expand Down
Loading
Loading