Deploy using kubectl apply -f deepseek.yaml
and watch the logs on the pod. When you see vllm
listening on port 8000, use port forward so you can try running python query.py
kubectl port-forward svc/deepseek-r1-server 8000:8000
Links
#!/bin/bash | |
cat > ubuntu-pod.json <<EOF | |
{ | |
"metadata": { | |
"name": "ubuntu-sandbox", | |
"namespace": "default", | |
"attempt": 1, | |
"uid": "ubuntu-pod-uid" | |
}, |
# Create a fresh new Ubuntu 24.04 VM and run the commands below: | |
# Install a bunch of stuff we need | |
apt update && apt -y install gperf sudo htop psutils build-essential pkg-config git wget unzip | |
# Clone what we need | |
git clone https://github.com/kubernetes/kubernetes $HOME/go/src/k8s.io/kubernetes | |
git clone https://github.com/containerd/containerd $HOME/go/src/github.com/containerd/containerd | |
# Latest golang |
#!/usr/bin/env bash | |
# Default repository and job name | |
REPO="google/cadvisor" | |
JOB_NAME="pull-cadvisor-e2e" | |
# Function to display usage | |
usage() { | |
echo "Usage: $0 -p <PR_NUMBER> [-j <JOB_NAME>] [-s <SHA>] [-r <REPOSITORY>]" | |
echo "Example: $0 -p 3615" |
go run main.go
kill -USR1 pid-of-main
heap_profile.pprof
will be generated in the directory the main
process was runninggo tool pprof -http=:8081 heap_profile.pprof
to visualize the heap#!/bin/bash | |
aws eks describe-addon-versions | jq -r '.addons[] | | |
{ | |
addon: .addonName, | |
versions: [ | |
.addonVersions[] | { | |
version: .addonVersion, | |
kubernetes_versions: [ | |
.compatibilities[].clusterVersion |
/* | |
You need create .env file with the following variables: | |
BSKYHANDLE=yourhandle | |
BSKYPASS=yourpass | |
*/ | |
const { | |
BskyAgent | |
} = require('@atproto/api'); | |
require('dotenv').config(); |
cat <<EOF | curl --location 'https://bsky.social/xrpc/com.atproto.server.createSession' --header 'Content-Type: application/json' -d @- | jq
{
"identifier": "dims.dev",
"password": "$BSKY_PASSWORD"
}
EOF
WORKS!
go test -c -race ./pkg/kubelet/ | |
stress ./kubelet.test -test.run=TestUpdateNodeStatusWithLease |