查询pod event ,logs

[root@master01 ~]# kubectl describe -n kubesphere-system po ks-installer-895b8994d-97qdg
Name: ks-installer-895b8994d-97qdg
Namespace: kubesphere-system
Priority: 0
Node: k8s-node02/172.22.0.13
Start Time: Tue, 07 Feb 2023 16:07:33 +0800
Labels: app=ks-installer
pod-template-hash=895b8994d
Annotations: <none>
Status: Running
IP: 10.250.0.7
IPs:
IP: 10.250.0.7
Controlled By: ReplicaSet/ks-installer-895b8994d
Containers:
installer:
Container ID: docker://f5c9f44aef046d00a868d164b0d8b9478a6c54328b23a0f228d4ce77b1eb5e2e
Image: kubesphere/ks-installer:v3.3.1
Image ID: docker-pullable://kubesphere/ks-installer@sha256:9f69a411f38337e21ee3f10b23bfd968ba3d034076822809a533aa90a3ebf56c
Port: <none>
Host Port: <none>
State: Running
Started: Tue, 07 Feb 2023 16:09:40 +0800
Ready: True
Restart Count: 0
Limits:
cpu: 1
memory: 1Gi
Requests:
cpu: 20m
memory: 100Mi
Environment: <none>
Mounts:
/etc/localtime from host-time (ro)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-nw67s (ro)
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
host-time:
Type: HostPath (bare host directory volume)
Path: /etc/localtime
HostPathType:
kube-api-access-nw67s:
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>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 24m default-scheduler Successfully assigned kubesphere-system/ks-installer-895b8994d-97qdg to k8s-node02
Normal Pulling 24m kubelet Pulling image "kubesphere/ks-installer:v3.3.1"
Normal Pulled 22m kubelet Successfully pulled image "kubesphere/ks-installer:v3.3.1" in 2m5.665555957s
Normal Created 22m kubelet Created container installer
Normal Started 22m kubelet Started container installer

 

posted @ 2023-02-07 17:11  beawh  阅读(30)  评论(0编辑  收藏  举报