Thanks for your great video ! But, i am trying to do same steps with ec2 user_data. Did you try it ? It is not working :/ It is giving error at "install -o root -g root -m 0755 bin/cri-dockerd /usr/local/bin/cri-dockerd" command. At the begining it is installing go inside of ec2 but when i do ssh connection and execute "go version" it is saying "command not found" Can it be bug ?
Thank you for watching. I tried with EC2 user data. It is installing Go but after that it is not able to build with Go for some reason. But when I tried with Bash script inside VM, whole process from start to finish is working fine.
This is one of the reason we don't actually do complex installations with user data. We use configuration management tools for it. In future I will make a video about how to use ansible to create Kubernetes cluster.
@@cloudrevolution When check the coud_output log i am seeing that there is a problem while installing go. But if i ssh to ec2 instance and execute same code. It is working fine :D I need to do with user data :/
what if we user laodbalancer instead of nodeport service, I do not get an external ip while doing the same on aws ec2 instances
When you install Kubernetes on AWS EC2 instances using kubeadm, you can expose your services to the internet using an AWS Elastic Load Balancer (ELB).
Thanks for your great video !
But, i am trying to do same steps with ec2 user_data. Did you try it ? It is not working :/
It is giving error at "install -o root -g root -m 0755 bin/cri-dockerd /usr/local/bin/cri-dockerd" command. At the begining it is installing go inside of ec2 but when i do ssh connection and execute "go version" it is saying "command not found" Can it be bug ?
the error "command not found" is it happening when you reconnect to the VM?
Thank you for watching. I tried with EC2 user data. It is installing Go but after that it is not able to build with Go for some reason. But when I tried with Bash script inside VM, whole process from start to finish is working fine.
This is one of the reason we don't actually do complex installations with user data. We use configuration management tools for it. In future I will make a video about how to use ansible to create Kubernetes cluster.
Please subscribe :)
@@cloudrevolution When check the coud_output log i am seeing that there is a problem while installing go. But if i ssh to ec2 instance and execute same code. It is working fine :D I need to do with user data :/