我的kubernetes容器出现CrashLoopBackOff
错误。当我使用describe命令查看内部时,出现以下错误:
错误:无法启动容器“app-mongo”:错误响应来自 守护进程:linux运行时规范设备:readdirent:无效参数
部署如下:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose-file.yaml
kompose.version: 1.5.0 (999278f)
creationTimestamp: null
labels:
io.kompose.service: app-mongo
name: app-mongo
spec:
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: app-mongo
spec:
containers:
- image: xxx.xx.xx.xx:5000/mongo:0.1
name: app-mongo
resources: {}
securityContext:
privileged: true
imagePullSecrets:
- name: regsecret
restartPolicy: Always
status: {}
有人可以帮我吗?
答案 0 :(得分:-1)
请在机器上显示图像(“app-mongo”)后试一试。