root@ansible:~/awx-on-k3s/base# kubectl -n awx describe pod awx-9668dcb98-nzg5q
Name: awx-9668dcb98-nzg5q
Namespace: awx
Priority: 0
Service Account: awx
Start Time: Fri, 10 Mar 2023 10:47:16 +1300
pod-template-hash=9668dcb98
Annotations: checksum-configmaps-config: f561cc65d89b4e3678076eccafe63ac9
checksum-configmaps-pre_stop_scripts: 68b329da9893e34099c7d8ad5cb9c940
checksum-secret-bundle_cacert: 276fa68835904533a2a8b68b5a128047
checksum-secret-ldap_cacert: 276fa68835904533a2a8b68b5a128047
checksum-secret-receptor_ca: 4ee07b571170b38048a66949f955f0dc
checksum-secret-receptor_work_signing: 796f98b768de8340c4167ba74a0b0094
checksum-secret-route_tls: d41d8cd98f00b204e9800998ecf8427e
checksum-secret-secret_key: 37ec43cc1be555e4ba78f4425301865f
checksum-secrets-app_credentials: 1754fa7c60d3bf69b54d2ffcc10bca10
checksum-storage-persistent: 68b329da9893e34099c7d8ad5cb9c940
Status: Failed
Reason: Evicted
Message: The node was low on resource: ephemeral-storage. Container awx-ee was using 1008644Ki, which exceeds its request of 0. Container redis was using 36Ki, which exceeds its request of 0. Container awx-task was using 873704Ki, which exceeds its request of 0. Container awx-web was using 360Ki, which exceeds its request of 0.
IP: 10.42.0.12
IPs:
IP: 10.42.0.12
Controlled By: ReplicaSet/awx-9668dcb98
Init Containers:
init:
Container ID: containerd://bb5e6a3ea197a81cc1fd1446b8e63435a75bffe67affcd7f16268f951a46f41f
Port: <none>
Host Port: <none>
Command:
/bin/sh
-c
hostname=$MY_POD_NAME
receptor --cert-makereq bits=2048 commonname=$hostname dnsname=$hostname nodeid=$hostname outreq=/etc/receptor/tls/receptor.req outkey=/etc/receptor/tls/receptor.key
receptor --cert-signreq req=/etc/receptor/tls/receptor.req cacert=/etc/receptor/tls/ca/receptor-ca.crt cakey=/etc/receptor/tls/ca/receptor-ca.key outcert=/etc/receptor/tls/receptor.crt verify=yes
mkdir -p /etc/pki/ca-trust/extracted/{java,pem,openssl,edk2}
update-ca-trust
State: Terminated
Reason: Completed
Exit Code: 0
Started: Fri, 10 Mar 2023 10:47:17 +1300
Finished: Fri, 10 Mar 2023 10:47:18 +1300
Ready: True
Restart Count: 0
Environment:
Mounts:
/etc/pki/ca-trust/extracted from ca-trust-extracted (rw)
/etc/pki/ca-trust/source/anchors/bundle-ca.crt from awx-bundle-cacert (ro,path="bundle-ca.crt")
/etc/receptor/tls/ from awx-receptor-tls (rw)
/etc/receptor/tls/ca/receptor-ca.crt from awx-receptor-ca (ro,path="tls.crt")
/etc/receptor/tls/ca/receptor-ca.key from awx-receptor-ca (ro,path="tls.key")
init-projects:
Container ID: containerd://3e7d78e9a26e26b0fe717e169c00db72fb8ae7350b0fd3721b68bd02551aae7e
Port: <none>
Host Port: <none>
Command:
/bin/sh
-c
chmod 775 /var/lib/awx/projects
chgrp 1000 /var/lib/awx/projects
State: Terminated
Reason: Completed
Exit Code: 0
Started: Fri, 10 Mar 2023 10:47:18 +1300
Finished: Fri, 10 Mar 2023 10:47:18 +1300
Ready: True
Restart Count: 0
Environment:
Mounts:
/var/lib/awx/projects from awx-projects (rw)
Containers:
redis:
Container ID:
Image ID:
Port: <none>
Host Port: <none>
Args:
redis-server
/etc/redis.conf
State: Terminated
Reason: ContainerStatusUnknown
Message: The container could not be located when the pod was terminated
Exit Code: 137
Started: Mon, 01 Jan 0001 00:00:00 +0000
Finished: Mon, 01 Jan 0001 00:00:00 +0000
Last State: Terminated
Reason: ContainerStatusUnknown
Message: The container could not be located when the pod was deleted. The container used to be Running
Exit Code: 137
Started: Mon, 01 Jan 0001 00:00:00 +0000
Finished: Mon, 01 Jan 0001 00:00:00 +0000
Ready: False
Restart Count: 1
Requests:
cpu: 50m
memory: 64Mi
Environment: <none>
Mounts:
/data from awx-redis-data (rw)
/etc/redis.conf from awx-redis-config (ro,path="redis.conf")
/var/run/redis from awx-redis-socket (rw)
awx-web:
Container ID:
Image ID:
Port: 8052/TCP
Host Port: 0/TCP
Args:
/usr/bin/launch_awx.sh
State: Terminated
Reason: ContainerStatusUnknown
Message: The container could not be located when the pod was terminated
Exit Code: 137
Started: Mon, 01 Jan 0001 00:00:00 +0000
Finished: Mon, 01 Jan 0001 00:00:00 +0000
Last State: Terminated
Reason: ContainerStatusUnknown
Message: The container could not be located when the pod was deleted. The container used to be Running
Exit Code: 137
Started: Mon, 01 Jan 0001 00:00:00 +0000
Finished: Mon, 01 Jan 0001 00:00:00 +0000
Ready: False
Restart Count: 1
Environment:
MY_POD_NAMESPACE: awx (v1:metadata.namespace)
UWSGI_MOUNT_PATH: /
Mounts:
/etc/nginx/nginx.conf from awx-nginx-conf (ro,path="nginx.conf")
/etc/openldap/certs/ldap-ca.crt from awx-ldap-cacert (ro,path="ldap-ca.crt")
/etc/pki/ca-trust/extracted from ca-trust-extracted (rw)
/etc/pki/ca-trust/source/anchors/bundle-ca.crt from awx-bundle-cacert (ro,path="bundle-ca.crt")
/etc/receptor/signing/work-public-key.pem from awx-receptor-work-signing (ro,path="work-public-key.pem")
/etc/receptor/tls/ca/receptor-ca.crt from awx-receptor-ca (ro,path="tls.crt")
/etc/receptor/tls/ca/receptor-ca.key from awx-receptor-ca (ro,path="tls.key")
/etc/tower/SECRET_KEY from awx-secret-key (ro,path="SECRET_KEY")
/etc/tower/conf.d/credentials.py from awx-application-credentials (ro,path="credentials.py")
/etc/tower/conf.d/execution_environments.py from awx-application-credentials (ro,path="execution_environments.py")
/etc/tower/conf.d/ldap.py from awx-application-credentials (ro,path="ldap.py")
/etc/tower/settings.py from awx-settings (ro,path="settings.py")
/var/lib/awx/projects from awx-projects (rw)
/var/lib/awx/rsyslog from rsyslog-dir (rw)
/var/run/awx-rsyslog from rsyslog-socket (rw)
/var/run/redis from awx-redis-socket (rw)
/var/run/supervisor from supervisor-socket (rw)
awx-task:
Container ID: containerd://7de76df9cdc0621fd1acf2a73f80a59fb3eb9a2007142a34a88c430afc06bce9
Port: <none>
Host Port: <none>
Args:
/usr/bin/launch_awx_task.sh
State: Terminated
Reason: Completed
Exit Code: 0
Started: Fri, 10 Mar 2023 10:47:19 +1300
Finished: Fri, 10 Mar 2023 11:28:03 +1300
Ready: False
Restart Count: 0
Environment:
SUPERVISOR_WEB_CONFIG_PATH: /etc/supervisord.conf
AWX_SKIP_MIGRATIONS: 1
MY_POD_UID: (v1:metadata.uid)
MY_POD_IP: (v1:status.podIP)
MY_POD_NAMESPACE: awx (v1:metadata.namespace)
Mounts:
/etc/pki/ca-trust/extracted from ca-trust-extracted (rw)
/etc/pki/ca-trust/source/anchors/bundle-ca.crt from awx-bundle-cacert (ro,path="bundle-ca.crt")
/etc/receptor/ from awx-receptor-config (rw)
/etc/receptor/signing/work-private-key.pem from awx-receptor-work-signing (ro,path="work-private-key.pem")
/etc/tower/SECRET_KEY from awx-secret-key (ro,path="SECRET_KEY")
/etc/tower/conf.d/credentials.py from awx-application-credentials (ro,path="credentials.py")
/etc/tower/conf.d/execution_environments.py from awx-application-credentials (ro,path="execution_environments.py")
/etc/tower/conf.d/ldap.py from awx-application-credentials (ro,path="ldap.py")
/etc/tower/settings.py from awx-settings (ro,path="settings.py")
/var/lib/awx/projects from awx-projects (rw)
/var/lib/awx/rsyslog from rsyslog-dir (rw)
/var/run/awx-rsyslog from rsyslog-socket (rw)
/var/run/receptor from receptor-socket (rw)
/var/run/redis from awx-redis-socket (rw)
/var/run/supervisor from supervisor-socket (rw)
awx-ee:
Container ID:
Image ID:
Port: <none>
Host Port: <none>
Args:
/bin/sh
-c
if [ ! -f /etc/receptor/receptor.conf ]; then
cp /etc/receptor/receptor-default.conf /etc/receptor/receptor.conf
sed -i "s/HOSTNAME/$HOSTNAME/g" /etc/receptor/receptor.conf
fi
exec receptor --config /etc/receptor/receptor.conf
State: Terminated
Reason: ContainerStatusUnknown
Message: The container could not be located when the pod was terminated
Exit Code: 137
Started: Mon, 01 Jan 0001 00:00:00 +0000
Finished: Mon, 01 Jan 0001 00:00:00 +0000
Last State: Terminated
Reason: ContainerStatusUnknown
Message: The container could not be located when the pod was deleted. The container used to be Running
Exit Code: 137
Started: Mon, 01 Jan 0001 00:00:00 +0000
Finished: Mon, 01 Jan 0001 00:00:00 +0000
Ready: False
Restart Count: 1
Environment: <none>
Mounts:
/etc/pki/ca-trust/extracted from ca-trust-extracted (rw)
/etc/pki/ca-trust/source/anchors/bundle-ca.crt from awx-bundle-cacert (ro,path="bundle-ca.crt")
/etc/receptor/ from awx-receptor-config (rw)
/etc/receptor/receptor-default.conf from awx-default-receptor-config (rw,path="receptor.conf")
/etc/receptor/signing/work-private-key.pem from awx-receptor-work-signing (ro,path="work-private-key.pem")
/etc/receptor/tls/ from awx-receptor-tls (rw)
/etc/receptor/tls/ca/receptor-ca.crt from awx-receptor-ca (ro,path="tls.crt")
/var/lib/awx/projects from awx-projects (rw)
/var/run/receptor from receptor-socket (rw)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
ca-trust-extracted:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
awx-bundle-cacert:
Type: Secret (a volume populated by a Secret)
SecretName: awx-custom-certs
Optional: false
awx-ldap-cacert:
Type: Secret (a volume populated by a Secret)
SecretName: awx-custom-certs
Optional: false
awx-application-credentials:
Type: Secret (a volume populated by a Secret)
SecretName: awx-app-credentials
Optional: false
awx-receptor-tls:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
awx-receptor-ca:
Type: Secret (a volume populated by a Secret)
SecretName: awx-receptor-ca
Optional: false
awx-receptor-work-signing:
Type: Secret (a volume populated by a Secret)
SecretName: awx-receptor-work-signing
Optional: false
awx-secret-key:
Type: Secret (a volume populated by a Secret)
SecretName: awx-secret-key
Optional: false
awx-settings:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: awx-awx-configmap
Optional: false
awx-nginx-conf:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: awx-awx-configmap
Optional: false
awx-redis-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: awx-awx-configmap
Optional: false
awx-redis-socket:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
awx-redis-data:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
supervisor-socket:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
rsyslog-socket:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
receptor-socket:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
rsyslog-dir:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
awx-receptor-config:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
awx-default-receptor-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: awx-awx-configmap
Optional: false
awx-projects:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: awx-projects-claim
ReadOnly: false
kube-api-access-f96x7:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: Burstable
Node-Selectors: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 53m default-scheduler Successfully assigned awx/awx-9668dcb98-nzg5q to ansible
Normal Created 53m kubelet Created container init
Normal Started 53m kubelet Started container init
Normal Created 52m kubelet Created container init-projects
Normal Started 52m kubelet Started container init-projects
Normal Pulled 52m kubelet Container image "docker.io/redis:7" already present on machine Normal Created 52m kubelet Created container redis
Normal Started 52m kubelet Started container redis
Normal Created 52m kubelet Created container awx-web
Normal Started 52m kubelet Started container awx-web
Normal Created 52m kubelet Created container awx-task
Normal Started 52m kubelet Started container awx-task
Normal Created 52m kubelet Created container awx-ee
Normal Started 52m kubelet Started container awx-ee
Warning Evicted 12m kubelet The node was low on resource: ephemeral-storage. Container awx-ee was using 1008644Ki, which exceeds its request of 0. Container redis was using 36Ki, which exceeds its request of 0. Container awx-task was using 873704Ki, which exceeds its request of 0. Container awx-web was using 360Ki, which exceeds its request of 0.
Normal Killing 12m kubelet Stopping container redis
Normal Killing 12m kubelet Stopping container awx-ee
Normal Killing 12m kubelet Stopping container awx-task
Normal Killing 12m kubelet Stopping container awx-web
Warning ExceededGracePeriod 12m kubelet Container runtime did not kill the pod within specified grace period.
root@ansible:~/awx-on-k3s/base#
Last time I tried this there where no events.