Re: [packer] Unable to use AMI created by Packer

8 views
Skip to first unread message

Alvaro Miranda Aguilera

unread,
Aug 5, 2019, 11:49:41 AM8/5/19
to packe...@googlegroups.com
packer is building the VM just fine.


you are running bubectl on your laptop, seems you need to check the configuration of that side

On Mon, Aug 5, 2019 at 5:47 PM Mahesh Kumar <mahesh...@gnani.ai> wrote:
Hi,

I could able to create an AMI with the help of Packer successfully. I could able to create a nodegroup in AWS EKS cluster with this AMI without any issue.
But when I deployed a deployment inside that nodegroup and try to go inside the pod below error is thrown.

mahesh@mahesh-Latitude-5591:~/.ssh$ kubectl exec -it test-7987df8cb5-fj8vg -c test-gain bash
Error from server: error dialing backend: x509: cannot validate certificate for <IP address> because it doesn't contain any IP SANs

I have attached the json used to create the nodegroup and custom AMI as well.

Is there anything should be done in Packer build instructions?

Thanks,
Mahesh

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/b577d525-695e-495e-9d1e-4b1f05d9fe52%40googlegroups.com.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages