查询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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端