Skip to content

Instantly share code, notes, and snippets.

@Lillecarl
Created November 2, 2025 21:24
Show Gist options
  • Select an option

  • Save Lillecarl/3104898680ff9bd6128b6f4ddc2072e4 to your computer and use it in GitHub Desktop.

Select an option

Save Lillecarl/3104898680ff9bd6128b6f4ddc2072e4 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2025-11-02T21:23:43Z"
generateName: ctest-656cddf679-
generation: 1
labels:
app: ctest
pod-template-hash: 656cddf679
name: ctest-656cddf679-dj8pt
namespace: nix-csi
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: ctest-656cddf679
uid: f5a6465d-c259-4372-a2b8-b5f1b8afb07d
resourceVersion: "1854739"
uid: 6b73511b-bd41-439b-b1a0-5b8ff36dfc4c
spec:
containers:
- command:
- dinit
env:
- name: PATH
value: /nix/var/result/bin
image: quay.io/nix-csi/scratch:1.0.0
imagePullPolicy: IfNotPresent
name: ctest
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /nix
name: nix-csi
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-7qdbx
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: shitbox
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- csi:
driver: nix.csi.store
readOnly: false
volumeAttributes:
x86_64-linux: /nix/store/vjfvixs7j8y4xdc3ml8q8gxfx8qmjdq2-ctestenv
name: nix-csi
- name: kube-api-access-7qdbx
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2025-11-02T21:24:06Z"
observedGeneration: 1
status: "True"
type: PodReadyToStartContainers
- lastProbeTime: null
lastTransitionTime: "2025-11-02T21:23:43Z"
observedGeneration: 1
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2025-11-02T21:24:06Z"
observedGeneration: 1
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2025-11-02T21:24:06Z"
observedGeneration: 1
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2025-11-02T21:23:43Z"
observedGeneration: 1
status: "True"
type: PodScheduled
containerStatuses:
- containerID: containerd://eb3beac25f889f10d4254432c668a3cbf2b35c061fc29d856a9f7c2e996d510f
image: quay.io/nix-csi/scratch:1.0.0
imageID: quay.io/nix-csi/scratch@sha256:c0508b5fa638233e71569102eef983ba2c92f025b021769171b323b335f4adcc
lastState: {}
name: ctest
ready: true
resources: {}
restartCount: 0
started: true
state:
running:
startedAt: "2025-11-02T21:24:05Z"
user:
linux:
gid: 0
supplementalGroups:
- 0
uid: 0
volumeMounts:
- mountPath: /nix
name: nix-csi
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-7qdbx
readOnly: true
recursiveReadOnly: Disabled
hostIP: 192.168.88.2
hostIPs:
- ip: 192.168.88.2
observedGeneration: 1
phase: Running
podIP: 10.134.11.220
podIPs:
- ip: 10.134.11.220
qosClass: BestEffort
startTime: "2025-11-02T21:23:43Z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment