Skip to content

Instantly share code, notes, and snippets.

View ptran32's full-sized avatar

ptran32 ptran32

View GitHub Profile
k describe pod scheduler-666d75bd49-x98jx  ✔  metric-descriptor   jd-dev/airflow-batchingestion ⎈
Name: scheduler-666d75bd49-x98jx
Namespace: airflow-batchingestion
Priority: 0
Node: gke-jd-dev-base-202306281033560745000-772548ad-xv4g/10.151.196.52
Start Time: Sun, 20 Aug 2023 09:04:55 -0400
Labels: app=batchingestion
app.kubernetes.io/instance=airflow-batchingestion-dev
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=airflow
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "67"
meta.helm.sh/release-name: airflow-batchingestion-dev
meta.helm.sh/release-namespace: airflow-batchingestion
creationTimestamp: "2023-06-28T12:15:59Z"
generation: 67
labels:
@ptran32
ptran32 / gist:d4e79a52465f57fc8102668cf0d80a66
Created August 21, 2023 02:09
test liveness doesn't kill pod as expected
Name: test-7b77dfc957-7fd2p
Namespace: gmp-test
Priority: 0
Node: gke-xxxx
Start Time: Sun, 20 Aug 2023 21:57:18 -0400
Labels: app=test
pod-template-hash=7b77dfc957
Annotations: <none>
Status: Running
IP: 10.xxx.xxx.xxx
[2023-05-11T19:05:01.895+0000] {executor_loader.py:114} INFO - Loaded executor: KubernetesExecutor
/home/airflow/.local/lib/python3.8/site-packages/airflow/kubernetes/kube_config.py:37 DeprecationWarning: The pod_template_file option in [kubernetes] has been moved to the pod_template_file option in [kubernetes_executor] - the old setting has been used, but please update your config.
/home/airflow/.local/lib/python3.8/site-packages/airflow/kubernetes/kube_config.py:39 DeprecationWarning: The delete_worker_pods option in [kubernetes] has been moved to the delete_worker_pods option in [kubernetes_executor] - the old setting has been used, but please update your config.
/home/airflow/.local/lib/python3.8/site-packages/airflow/kubernetes/kube_config.py:43 DeprecationWarning: The worker_pods_creation_batch_size option in [kubernetes] has been moved to the worker_pods_creation_batch_size option in [kubernetes_executor] - the old setting has been used, but please update your config.
/home/airflow/.local/lib/python3.8