https://pulumi.com logo
Title
d

dry-beach-58138

11/23/2022, 2:34 AM
Hi all, I have a k8s cluster build by AWS EKS, I was import exist K8S resource in namespace frontend (service, configmap.... etc) successful, but only failed when import Ingress, does I miss something ? my pulumi import command example as below
pulumi import kubernetes:networking/v1:Ingress my_portal frontend/my_portal
error message
error: Preview failed: resource 'frontend/my_portal' does not exist
and idea ?
b

billowy-army-68599

11/23/2022, 2:46 AM
i assume you have an ingress called
my_portal
in namespace
frontend
? what does
kubectl get ing -n frontend
return?
d

dry-beach-58138

11/23/2022, 2:51 AM
kubectl get ingress -n frontend will get my_portal ingress successful, and also other resource I import successful but only meet error when import Ingress.
I just try another namespace, but still failed only with Ingress resource
Does any suggest ?