Skip to content

Instantly share code, notes, and snippets.

@jkremser
Created April 24, 2026 15:39
Show Gist options
  • Select an option

  • Save jkremser/58c7bce783881676e1fc0e6c9758e572 to your computer and use it in GitHub Desktop.

Select an option

Save jkremser/58c7bce783881676e1fc0e6c9758e572 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
annotations:
kubectl.kubernetes.io/restartedAt: "2024-09-02T12:22:03+02:00"
creationTimestamp: "2026-04-09T13:32:03Z"
generateName: dashboard-api-service-75b659c567-
generation: 1
labels:
app: dashboard-api-service
pod-template-hash: 75b659c567
name: dashboard-api-service-75b659c567-64xvv
namespace: kedify
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: dashboard-api-service-75b659c567
uid: c37aff94-393c-4485-951e-2c14ec30bef3
resourceVersion: "1775741543706175000"
uid: 74209131-0df9-49d5-8d42-8f9a556dbfde
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- dashboard-api-service
topologyKey: kubernetes.io/hostname
weight: 100
containers:
- args:
- --pghost=127.0.0.1
- --pguser=dashboard-service-account@kedify-initial.iam
- --pgdbname=kedify
- --posthog-api-key=$(POSTHOG-API-KEY)
- --default-keda-version=v2.19.0-1
- --agent-image=ghcr.io/kedify/agent:v0.5.4
- --default-http-addon-version=v0.11.0-8
- --default-http-addon-chart-version=v0.11.1-1
- --default-keda-chart-version=v2.19.0-1
- --default-otel-addon-version=v0.1.3
- --default-predictor-addon-version=v0.1.4
- --jwt-signing-secret=$(JWT_SIGNING_SECRET)
- --stripe-webhook-secret=$(STRIPE_WEBHOOK_SECRET)
- --stripe-api-key=$(STRIPE_API_KEY)
- --resend-api-key=$(RESEND_API_KEY)
command:
- /bin/dashboard-api-service
env:
- name: KEDIFY_SERVER
value: kedify-proxy:50052
- name: POSTHOG-API-KEY
valueFrom:
secretKeyRef:
key: posthog-api-key
name: dashboard-api-service
- name: STRIPE_API_KEY
valueFrom:
secretKeyRef:
key: stripe-api-key
name: dashboard-api-service
- name: STRIPE_WEBHOOK_SECRET
valueFrom:
secretKeyRef:
key: stripe-webhook-secret
name: dashboard-api-service
- name: JWT_SIGNING_SECRET
valueFrom:
secretKeyRef:
key: jwt-signing-secret
name: dashboard-api-service
- name: AWS_REGION
value: us-east-1
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
key: aws-access-key
name: dashboard-api-service
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
key: aws-secret-access-key
name: dashboard-api-service
- name: RESEND_API_KEY
valueFrom:
secretKeyRef:
key: resend-api-key
name: dashboard-api-service
image: ghcr.io/kedify/dashboard-api-service:6b1142ca06ffc989aca802f963aa1f5b9cdb6c86
imagePullPolicy: IfNotPresent
name: dashboard-api-service
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /gcp
name: gcp-service-account
readOnly: true
- mountPath: /etc/tls-internal
name: tls-certificate-internal
readOnly: true
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-n4928
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
imagePullSecrets:
- name: kedify-image-pull-secret
initContainers:
- args:
- --private-ip
- --structured-logs
- --auto-iam-authn
- kedify-initial:us-central1:kedify-backend
image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.8.0
imagePullPolicy: IfNotPresent
name: cloudsql-proxy
resources: {}
restartPolicy: Always
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-n4928
readOnly: true
nodeName: gke-kedify-cluster-stable-pool-e39d43ed-wmrr
preemptionPolicy: PreemptLowerPriority
priority: 0
readinessGates:
- conditionType: cloud.google.com/load-balancer-neg-ready
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: dashboard-api-service
serviceAccountName: dashboard-api-service
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:
- name: gcp-service-account
secret:
defaultMode: 420
items:
- key: gcp-service-account.json
path: service-account.json
secretName: dashboard-api-service
- name: tls-certificate-internal
secret:
defaultMode: 420
secretName: kedify-proxy-internal-tls
- name: kube-api-access-n4928
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: null
message: 'Pod has become Healthy in NEG "Key{\"k8s1-65012d10-kedify-dashboard-api-service-8080-b54001e6\",
zone: \"us-central1-a\"}" attached to BackendService "Key{\"gkegw1-z1ss-kedify-dashboard-api-service-8080-tvw7naze6hum\"}".
Marking condition "cloud.google.com/load-balancer-neg-ready" to True.'
reason: LoadBalancerNegReady
status: "True"
type: cloud.google.com/load-balancer-neg-ready
- lastProbeTime: null
lastTransitionTime: "2026-04-09T13:32:06Z"
observedGeneration: 1
status: "True"
type: PodReadyToStartContainers
- lastProbeTime: null
lastTransitionTime: "2026-04-09T13:32:06Z"
observedGeneration: 1
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2026-04-09T13:32:23Z"
observedGeneration: 1
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2026-04-09T13:32:11Z"
observedGeneration: 1
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2026-04-09T13:32:03Z"
observedGeneration: 1
status: "True"
type: PodScheduled
containerStatuses:
- containerID: containerd://b11955226c1a716f787d980380e102e98fd1ab8699cc37c886c075d514986da4
image: ghcr.io/kedify/dashboard-api-service:6b1142ca06ffc989aca802f963aa1f5b9cdb6c86
imageID: ghcr.io/kedify/dashboard-api-service@sha256:a107aa61916233e1767d062444fe08189d37ae4e0950cae8a4b66e4423315a20
lastState: {}
name: dashboard-api-service
ready: true
resources: {}
restartCount: 0
started: true
state:
running:
startedAt: "2026-04-09T13:32:10Z"
user:
linux:
gid: 65532
supplementalGroups:
- 65532
uid: 65532
volumeMounts:
- mountPath: /gcp
name: gcp-service-account
readOnly: true
recursiveReadOnly: Disabled
- mountPath: /etc/tls-internal
name: tls-certificate-internal
readOnly: true
recursiveReadOnly: Disabled
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-n4928
readOnly: true
recursiveReadOnly: Disabled
hostIP: 10.128.0.27
hostIPs:
- ip: 10.128.0.27
initContainerStatuses:
- containerID: containerd://5eb533abb1fe2afd8061aac30a0801524c0f1f5b8b05282ecf763bcfd4ea2392
image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.8.0
imageID: gcr.io/cloud-sql-connectors/cloud-sql-proxy@sha256:9c84401d9c31d18809b02155e74920d0434a7d8780d2b63b8de7a690fea6f1bf
lastState: {}
name: cloudsql-proxy
ready: true
resources: {}
restartCount: 0
started: true
state:
running:
startedAt: "2026-04-09T13:32:05Z"
user:
linux:
gid: 65532
supplementalGroups:
- 65532
uid: 65532
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-n4928
readOnly: true
recursiveReadOnly: Disabled
observedGeneration: 1
phase: Running
podIP: 10.112.10.23
podIPs:
- ip: 10.112.10.23
qosClass: BestEffort
startTime: "2026-04-09T13:32:03Z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment