This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
Create POD on TANZU getting error #4937
JosephRicha01
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I am trying to deploy POD on TANZU NSX-T enabled and getting this error:
The Pod "nginx" is invalid: spec.containers[0].image: Required value
her is my yaml:
apiVersion: v1
kind: Pod
metadata:
name: nginx
namespace: jrns003
spec:
containers:
- name: nginx
image: nginx:latest
imagePullPolicy: IfNotPresent
restartPolicy: Always
using this command:
kubectl apply -f nginx.yaml --request-timeout="150" --validate=false
my docker images are:
nginx latest 55f4b40fe486 7 days ago 142MB
k8s.gcr.io/kube-apiserver v1.24.2 d3377ffb7177 2 weeks ago 130MB
k8s.gcr.io/kube-controller-manager v1.24.2 34cdf99b1bb3 2 weeks ago 119MB
k8s.gcr.io/kube-proxy v1.24.2 a634548d10b0 2 weeks ago 110MB
k8s.gcr.io/kube-scheduler v1.24.2 5d725196c1f4 2 weeks ago 51MB
kindest/node f5aa68ba122a 5 weeks ago 911MB
192.168.140.3/jrns01/jrisha/python latest 2b7ca628da40 2 months ago 920MB
jrisha/python latest 2b7ca628da40 2 months ago 920MB
python latest 2b7ca628da40 2 months ago 920MB
192.168.140.3/jrns02/nginx jricha fa5269854a5e 2 months ago 142MB
jrns01/nginx jrisha fa5269854a5e 2 months ago 142MB
nginx jrisha fa5269854a5e 2 months ago 142MB
192.168.140.3/jrns01/nginx jrisha fa5269854a5e 2 months ago 142MB
192.168.140.3/jrns01/nginx latest fa5269854a5e 2 months ago 142MB
192.168.140.3/jrns02/busybox jricha 1a80408de790 2 months ago 1.24MB
busybox latest 1a80408de790 2 months ago 1.24MB
k8s.gcr.io/etcd 3.5.3-0 aebe758cef4c 2 months ago 299MB
192.168.140.3/jrns01/latest latest 12766a6745ee 3 months ago 142MB
192.168.140.3/jrnstest/nginx latest1 12766a6745ee 3 months ago 142MB
nginx/httpd version1.0 12766a6745ee 3 months ago 142MB
nginx 12766a6745ee 3 months ago 142MB
k8s.gcr.io/pause 3.7 221177c6082a 3 months ago 711kB
k8s.gcr.io/coredns/coredns v1.8.6 a4ca41631cc7 8 months ago 46.8MB
192.168.140.3/jrns02/hello-world jricha feb5d9fea6a5 9 months ago 13.3kB
hello-world latest feb5d9fea6a5 9 months ago 13.3kB
192.168.140.3/jr-ns-01/kuard jrtag 81086a8c218b 3 years ago 19.7MB
192.168.140.3/jrns001/kuard jrtag 81086a8c218b 3 years ago 19.7MB
gcr.io/kuar-demo/kuard-amd64 1 81086a8c218b 3 years ago 19.7MB
Any help would be very appreciated
Thanks
Joseph
Beta Was this translation helpful? Give feedback.
All reactions