Skip to content

Instantly share code, notes, and snippets.

View bartoszmajsak's full-sized avatar
🎯
☕ 💻 🏃🏻 📖 🛌🏻 🔁

Bartosz Majsak bartoszmajsak

🎯
☕ 💻 🏃🏻 📖 🛌🏻 🔁
View GitHub Profile
2025-12-10T12:11:49.4445925Z Current runner version: '2.329.0'
2025-12-10T12:11:49.4552758Z ##[group]Runner Image Provisioner
2025-12-10T12:11:49.4556489Z Hosted Compute Agent
2025-12-10T12:11:49.4559478Z Version: 20251124.448
2025-12-10T12:11:49.4563146Z Commit: fda5086b43ec66ade217e5fcd18146c879571177
2025-12-10T12:11:49.4586950Z Build Date: 2025-11-24T21:16:26Z
2025-12-10T12:11:49.4590227Z ##[endgroup]
2025-12-10T12:11:49.4593197Z ##[group]Operating System
2025-12-10T12:11:49.4596722Z Ubuntu
2025-12-10T12:11:49.4599576Z 24.04.3
[
{
"op": "add",
"path": "/spec/replicas",
"value": 1
},
{
"op": "add",
"path": "/spec/strategy",
"value": {
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
metadata:
name: facebook-opt-125m-simulated
namespace: llm
namePrefix: facebook-opt-125m-
apiVersion: dscinitialization.opendatahub.io/v1
kind: DSCInitialization
metadata:
name: default
spec:
applicationsNamespace: opendatahub
monitoring:
managementState: Managed
namespace: opendatahub
apiVersion: datasciencecluster.opendatahub.io/v1
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
creationTimestamp: "2025-09-26T21:16:42Z"
generation: 1
labels:
app.kubernetes.io/component: llminferenceservice-router
app.kubernetes.io/name: facebook-opt-125m-single-simulated
app.kubernetes.io/part-of: llminferenceservice
name: facebook-opt-125m-single-simulated-kserve-route
@bartoszmajsak
bartoszmajsak / swagger.yaml
Last active September 16, 2025 20:11
MaaS API schema. v0.0.1
openapi: 3.0.3
info:
title: MaaS Billing API
description: Model as a Service Billing and Management API
version: "1.0"
servers:
- url: http://localhost:8080
paths:
/health:
get:
@bartoszmajsak
bartoszmajsak / config.yaml
Last active July 24, 2025 10:43
baseRefs only
apiVersion: serving.kserve.io/v1alpha1
kind: LLMInferenceService
metadata:
name: llm-inference-service-model-fb-opt-125m-router-managed-workload
namespace: kserve-ci-e2e-test
spec:
baseRefs:
- name: model-fb-opt-125m
- name: router-managed
- name: workload-single-cpu
✔ Installation complete2024-12-03T10:33:15.959086Z info tf istioctl ([install -f /home/bartek/code/redhat/ossm/federation/test/testdata/istio/k8s/east.yaml --set hub=docker.io/istio --set tag=1.23.0 -y]): completed after 18.7247s
2024-12-03T10:33:20.963641Z info tf istioctl ([install -f /home/bartek/code/redhat/ossm/federation/test/testdata/istio/k8s/west.yaml --set hub=docker.io/istio --set tag=1.23.0 -y]): completed after 23.7293s
2024-12-03T10:33:20.963656Z info tf istioctl error: Error: check minimum supported Kubernetes version: error getting Kubernetes version: Get "https://127.0.0.1:42527/version?timeout=5s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2024-12-03T10:33:20.963665Z error tf Test setup error: failed to deploy istio: stdout: ; err: check minimum supported Kubernetes version: error getting Kubernetes version: Get "https://127.0.0.1:42527/version?timeout=5s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2024-12-03T10:33:20.963672
@bartoszmajsak
bartoszmajsak / gh-pr.adoc
Last active February 16, 2024 09:56
GH PR workflow

Motivation

Most of the times, when PR is not trivial in scope and size, Web UI can lead to loosing focus and context while scrolling down through the blob of changes.

It’s way more efficient to go through the code in the IDE. The GH plugins available for most of them can help with that, but they simply checkout the branch for you…​

I got tired of stashing changes, creating "wip" commits and shuffling branches.

And so this workflow was born.

@bartoszmajsak
bartoszmajsak / test.log
Created September 21, 2023 09:06
Dscinitialization Test DSCInitialization controller
GOROOT=/home/bartek/.gvm/gos/go1.19.12 #gosetup
GOPATH=/home/bartek/go #gosetup
/home/bartek/.gvm/gos/go1.19.12/bin/go test -c -o /home/bartek/.cache/JetBrains/GoLand2023.2/tmp/GoLand/___go_test_github_com_opendatahub_io_opendatahub_operator_v2_controllers_dscinitialization.test github.com/opendatahub-io/opendatahub-operator/v2/controllers/dscinitialization #gosetup
/home/bartek/.gvm/gos/go1.19.12/bin/go tool test2json -t /home/bartek/.cache/JetBrains/GoLand2023.2/tmp/GoLand/___go_test_github_com_opendatahub_io_opendatahub_operator_v2_controllers_dscinitialization.test -test.v -test.paniconexit0
=== RUN TestAPIs
Running Suite: Controller Suite - /home/bartek/code/rhods/opendatahub-operator/controllers/dscinitialization
============================================================================================================
Random Seed: 1695287000
Will run 4 of 4 specs