Page MenuHomePhabricator
Paste P13646

kubectl logs, kubectl describe
ActivePublic

Authored by Nemo_bis on Jan 4 2021, 8:39 PM.
$ kubectl logs job/test -f
error: timed out waiting for the condition
$ kubectl describe job/test
Name: test
Namespace: tool-oabot
Selector: controller-uid=e62844c1-f28b-4bff-b589-82e77921865d
Labels: controller-uid=e62844c1-f28b-4bff-b589-82e77921865d
job-name=test
toolforge=tool
Annotations: cronjob.kubernetes.io/instantiate: manual
Controlled By: CronJob/oabotrefresh
Parallelism: 1
Completions: 1
Pods Statuses: 0 Running / 0 Succeeded / 0 Failed
Pod Template:
Labels: controller-uid=e62844c1-f28b-4bff-b589-82e77921865d
job-name=test
toolforge=tool
Containers:
oabotrefresh:
Image: docker-registry.tools.wmflabs.org/toolforge-python2-sssd-base:latest
Port: <none>
Host Port: <none>
Args:
/bin/sh
-c
/data/project/oabot/www/python/oabot_refresh.sh
Limits:
cpu: 2
memory: 7680Mi
Requests:
cpu: 1500m
memory: 6Gi
Environment:
HOME: /data/project/oabot
Mounts: <none>
Volumes: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedCreate 7m14s job-controller Error creating: pods "test-pqt5d" is forbidden: [maximum cpu usage per Container is 1, but limit is 2, maximum memory usage per Container is 4Gi, but limit is 7680Mi]
Warning FailedCreate 7m4s job-controller Error creating: pods "test-7xmdp" is forbidden: [maximum cpu usage per Container is 1, but limit is 2, maximum memory usage per Container is 4Gi, but limit is 7680Mi]
Warning FailedCreate 6m43s job-controller Error creating: pods "test-qqgsw" is forbidden: [maximum cpu usage per Container is 1, but limit is 2, maximum memory usage per Container is 4Gi, but limit is 7680Mi]
Warning FailedCreate 6m3s job-controller Error creating: pods "test-fn8lc" is forbidden: [maximum memory usage per Container is 4Gi, but limit is 7680Mi, maximum cpu usage per Container is 1, but limit is 2]
Warning FailedCreate 4m43s job-controller Error creating: pods "test-z9vqt" is forbidden: [maximum cpu usage per Container is 1, but limit is 2, maximum memory usage per Container is 4Gi, but limit is 7680Mi]
Warning FailedCreate 2m2s job-controller Error creating: pods "test-qsm5g" is forbidden: [maximum cpu usage per Container is 1, but limit is 2, maximum memory usage per Container is 4Gi, but limit is 7680Mi]

Event Timeline

Nemo_bis changed the title of this paste from untitled to kubectl logs, kubectl describe.Jan 4 2021, 8:46 PM
Nemo_bis edited the content of this paste. (Show Details)