Good video. I followed almost same steps to create a K8 cluster in EC2- RHEL 7 OS. worked perfectly.
@mathewkargarzadeh31584 жыл бұрын
Thank you for such a clear explanation using Kops for creating K8 Cluster. I have one question though. where you tell it to create worker nodes and master(s). may I need more than 5 worker nodes and 2 masters. where you specify in Kops ?. Thanks !!. Mat
@abhishekgowlikar Жыл бұрын
Nice video start installing the K8S on AWS.
@r.pradeepbabu51244 жыл бұрын
Sir... first of all thank you very much for your knowledge sharing and making us comfortable with kubernetes Please let know why this is creating only two slave nodes and one master node, we have not specified this anywhere, also if my requirement to scale up the number of nodes how can i do that? which AMI it is picking up to create the master and the slave nodes.. we have not created any AMI's and attached them.? another question how can i access GUI of kubernetes... in this case. Thanks in advance...
@SathishKumar-um1ti5 жыл бұрын
Nice tutorial. By default master and nodes are launching in m3 and t2 medium. can we define the instance types while configuring the kubernetes?
@ValaxyTechnologies5 жыл бұрын
Yes, We can do that. you need to customize it in the configurations which are created in S3 buckets.
@SathishKumar-um1ti5 жыл бұрын
@@ValaxyTechnologies thank you for the reply
@harishkolanu5 жыл бұрын
please make a video how to setup EKS cluster....
@chandrasekharreddy81775 жыл бұрын
Please make a video how to setup the eks cluster and how deploy our code into kubernetes cluster
@rangasankar6444 жыл бұрын
Fantastic video with clear instructions. Found pretty useful. Keep up the good work.
@ValaxyTechnologies4 жыл бұрын
Thanks for that. Now you can join with us on Instagram instagram.com/valaxytechnologies/
@komalghule2215 Жыл бұрын
Hello thanks for the clear explanation. Does route 53 is chargeable in free tier account..? Please reply
@abhinavpaul59604 жыл бұрын
Route53 private hosted zone - will this charge me ?
@vamsikrishna22413 жыл бұрын
My client domain from GoDaddy, can i use that domain in kops setup instead of route53 ?
@sakshisirsat74936 ай бұрын
hello sir , i found ur video really helpful . would u plz upload the link of the github repo.
@sureshraparthi1224 жыл бұрын
One doubt how did you get the three worker nodes after creating cluster .. can you please explain wher you have added nodes?
@abishakesing70864 жыл бұрын
Hi brother , I have a doubt like in which part of command we can denote the number of worker nodes and master nodes
@WeekendVibesss4 жыл бұрын
Hi sir I wanted to know what are the changes in the command that I need to do if I don't own a route 53 domain
@Tarunkumar-wj3dt4 жыл бұрын
hi sir, i have a issue with load balancing on service,unable to create LB,its still on pending state long time,but everithing created successfully, how to resolve it. and all changes with kops newer versions
@rishikeshgade87294 жыл бұрын
Hello shankar sir, thank you so much for the video. I am following the steps given in the git repo for this practical. But somehow after hitting kops validate cluster, i am getting this error --->>>> unexpected error during validation: unable to resolve Kubernetes cluster API URL dns: lookup api.adi.k8s on 127.0.0.53:53: no such host how to resolve this error
@homeless.digitalnomad4 жыл бұрын
I just had the same issue, and solved it by naming my cluster xxxxx.k8s.local, which is apparently a requirement for new versions of kops
@YSL_CODO4 жыл бұрын
@@homeless.digitalnomad How did you rename the cluster? Did you cancel and start over? If you did change the name of a running cluster, what is command..?
@homeless.digitalnomad4 жыл бұрын
@@YSL_CODO if I can remember correctly, I just refollowed all of the steps. Then renamed the cluster with the suffix ".k8s.local"
@ayushpratap47264 жыл бұрын
same error with me! has anyone solved it recently please reply??
@raghavendarswamy41814 жыл бұрын
sir while practice this in AWS Console in free tier, after setup kubenetes, i have stopped the all the nodes and master(due to Billing will be charged). when i try to start the servers again, those are unable to start gives error. The instance 'i-096a438fff3d187dd' is not in a state from which it can be started..so if the servers in Kubernetes cluster can't we restart all?
@ValaxyTechnologies4 жыл бұрын
Perhaps one way to learn to understand how things communicate with each other (K8s master and slave-pods, which should come up first and what settings should persist) Then you can turn off slaves and see how the master reacts and finally turn off the master
@harshan86515 жыл бұрын
Hi, my doubt is you ran all the commands in one EC2 instances but when you started it automatically created 3 more EC2 instances 1 is master and 2 is slave. if we doing it in ubuntu or centos how it will take? can you please clarify.
@ValaxyTechnologies5 жыл бұрын
Time to learn the basics of Kubernetes. The config file of K8 has the secret sauce of how many masters and slaves. YOU will have to understand and adapt (if necessary) those configs to your OS choice
@harshan86515 жыл бұрын
@@ValaxyTechnologies thanks for reply, need to dig more than.
@ValaxyTechnologies5 жыл бұрын
@@harshan8651 Thats the spirit. Happy Learning
@asraotuni4 жыл бұрын
Thanks you. Excellent AWS EKS primer.
@ValaxyTechnologies4 жыл бұрын
Thank you, but did you mean K8s on AWS?
@venkatareddyjanga85565 жыл бұрын
how its taking default one master and 2 nodes. where we mentioned in document.
Thank you for your awesome contents in this video! I just started to be familiar with the knowledge of docker and succeeded to locally launch my application on docker container. Now I'm planning to deploy my docker container to kubernetes with AWS ec2. Can you briefly describe the steps I should follow at this point? You're my hero bro :)
@briankim60265 жыл бұрын
I have no idea how to connect my docker container with kubernetes on ec2... Do I have to upload my container to docker hub and let ec2 connects with that? idk..
@ValaxyTechnologies5 жыл бұрын
Hi Gyeongwon, kubernetes is an orchestration tool for docker. it comes on top of docker. steps go like below. 1. setup Kubernetes 2. create pods and containers 3. Access your application. you may find my udemy course would be helpful. www.udemy.com/course/valaxy-devops/?referralCode=8147A5CF4C8C7D9E253F by the way, you can join our facebook group to receive updates from Valaxy technologies kzbin.infoabout
@briankim60265 жыл бұрын
@@ValaxyTechnologies Thank you!
@TheManis-z4w3 жыл бұрын
good explanation
@Mani-dz7ow4 жыл бұрын
hi sir.how are you..iam not able install aws-cli..i got this error as below. Command 'aws' not found, but can be installed with: snap install aws-cli # version 1.15.58, or apt install awscli # version 1.17.14-1 See 'snap info aws-cli' for additional versions.
@taraprasaddash40114 жыл бұрын
Wonderful video. Thank you so much. Do you have a video which covers docker and Kubernetes.
@ValaxyTechnologies4 жыл бұрын
Check out the video description for the DevOps Playlist for the whole mother load
@mohammadsabir16005 жыл бұрын
hello sir, first I would like to thank you that your videos have helped me a lot as i am new in the DevOps Now if we talk about setting kubernetes on aws on t2.micro, may I knw at which point i need to take care , so i wont be billed by aws. and thanx again for sharing knowledge. :)
@ValaxyTechnologies5 жыл бұрын
Set up a billing Alert for an amount that is comfortable to you(say less one dollar) and act on it when you receive notification
@MultiMrSaid5 жыл бұрын
why you are not showing what are you clicking? how did you open page at 5:09 ?
@tejav1435 жыл бұрын
Don't we need Docker If we use kops?
@TheUnchartedTrail2 жыл бұрын
Thank you for this great tutorial
@buildleadinnovate244 жыл бұрын
which ssh tool you are using to connect to a server???
@nksajeer3 жыл бұрын
MobaXterm
@ramsai094 жыл бұрын
Can u plz install it through binaries?
@kudoamv5 жыл бұрын
I am getting this error - unexpected error during validation: unable to resolve Kubernetes cluster API URL dns: lookup api.dev.k8s.kubernetez.tk on 127.0.1.1:53: no such host while executing - kops validate cluster
@sairajaupputuri22015 жыл бұрын
Hi Kudo AMV any update on this, I am having same issue?!
@ranjithr20484 жыл бұрын
@@sairajaupputuri2201 hey, how did you solve this issue..??
@venkatajagadeesh68262 жыл бұрын
Hi sir I am getting this error and and only one node created. how to resolve this problem. Could you pls give me idea
@sumangm38574 жыл бұрын
While trying to update cluster command: kops update cluster --name --yes It showing below warning 13266 create_kubecfg.go:77] Did not find API endpoint for gossip hostname; may not be able to reach cluster kops has set your kubectl context to It is exiting from this waring and not creating clusters any suggestions?
@usharani-lu4bj5 жыл бұрын
Hi nice explanation can u please share the roles and responsibilities of kubernetes
@ValaxyTechnologies5 жыл бұрын
Check out the #Valaxy Kubernetes playlist
@RC-om7tn3 жыл бұрын
super video thank you sir
@jagadeeshn47565 жыл бұрын
can i have github link to setup kubernetes which link u have shown in video
@ValaxyTechnologies5 жыл бұрын
Hi, We have updated it now.
@ravishankar47934 жыл бұрын
Hi , While i am entering kops create cluster --cloud=aws --zones=XXXX getting -bash: kops: command not found in rhel. can you please help me on this.
@ValaxyTechnologies4 жыл бұрын
Hi Ravi, Did you install kops tools? If you still struck up, Free access to my courses for next 2 months on skillshare. Use below link skl.sh/2LsZIAO
@tau1244 жыл бұрын
Fantastic video - thank you boss!
@ValaxyTechnologies4 жыл бұрын
Your welcome, and thank you so much for watching!
@suresha34635 жыл бұрын
tq u so much ....any Gui for this
@ValaxyTechnologies5 жыл бұрын
Hi Suresh, we dont have created an GUI for this. you will see that soon. request you to join our facebook group to get more updates from us. facebook.com/groups/valaxy.aws.devops.gang/
@jeprint66055 жыл бұрын
how it will create one master and two node? if you give any details .example i need one master and two nodes
@ValaxyTechnologies4 жыл бұрын
Hi Jeprin, These are default values created while creating kubernetes definations. May be you check out my full course. their you can see these files. Free access to AR Shankar courses for next 2 months on skillshare. Use below link skl.sh/2LsZIAO
@eswarachandravidyasagar99514 жыл бұрын
Can i create the without route53 with local DNS with Kops
@vasishtakavuturu6893 жыл бұрын
Am I get charged By AWS in any step ?
@000002014 жыл бұрын
Hi i m getting error.. An error occurred (InvalidAccessKeyId) when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records.
@venkatareddyjanga85565 жыл бұрын
i deleted unexpectlt k8s-management-server. how to login to the master node and how to delete the cluster. please help me.... thanks in advance.....
@pragyasahu42064 жыл бұрын
getting a constant error of "error reading cluster configuration : error reading s3://.../config: Could not retrieve location for AWS bucket ......." tried everything on internet.. kindly help
@ismailsajalah5 жыл бұрын
I am getting this error - unexpected error during validation: unexpected error during validation: unable to resolve Kubernetes cluster API URL dns: lookup api.dev.k8s.hunafa.in on 127.0.0.53:53: no such host while executing - kops validate cluster
@CombatVault4 жыл бұрын
I finally found the solution to this problem. The Route 53 VPCs you make are private, so your EC2 and Cluster are closed off from each other. You have to associate them with each other in 'Hosted Zones'.
@shanthanify4 жыл бұрын
@@CombatVault Can you please share the steps ?
@pinnellishankarraju5 жыл бұрын
Nice explanation.
@archananarayana61235 жыл бұрын
Thanks for the compliment.we are glad you loved the video.Don't forget to subscribe and also want to be a part of our facebook groupp join- facebook.com/groups/valaxy.aws.devops.gang/
@abhinaysharma46763 жыл бұрын
Hi Shankar, followed along this vedio but getting below error. anyone have any idea Validation failed: unexpected error during validation: error listing nodes: Unauthorized
@akankshashishodia84154 жыл бұрын
Sir, you made this work perfectly!Thanks a lot for sharing knowledge.Kudos to you!
@ValaxyTechnologies4 жыл бұрын
Hi Akanksha, You are most welcome. If you wish to do a complete devops project please checkout out course www.udemy.com/course/valaxy-devops/?referralCode=8147A5CF4C8C7D9E253F
@nagursk31553 жыл бұрын
Hii sir where are you from?
@ancientpast6 ай бұрын
sir please make a video for linux system
@allabakash46575 жыл бұрын
facing problem with domain name... can you please tell me how to create the cluster using the hosted zones , instead of using registered domain names
@ValaxyTechnologies5 жыл бұрын
You dont need a registered domain if you are creating under private hosted zone in Route53
@allabakash46575 жыл бұрын
@@ValaxyTechnologies thank u ...i will see ...i have not enabled the settings so thats y it is not showing the private ...thank u for ur reply .
@KC-oy1iu4 жыл бұрын
Bro please IMPLEMENT on EKS
@GauravSharma-pj3dj5 жыл бұрын
How to use eks in codepipeline
@ValaxyTechnologies5 жыл бұрын
W.I.P
@000002014 жыл бұрын
when i tried to using roles..?
@bikeshmaharjan97163 жыл бұрын
Hi, I am getting following error while running kops validate cluster command. VALIDATION ERRORS KIND NAME MESSAGE Pod kube-system/ebs-csi-controller-bf4d49dd6-j28h5 system-cluster-critical pod "ebs-csi-controller-bf4d49dd6-j28h5" is not ready (csi-provisioner,csi-snapshotter) Pod kube-system/kops-controller-m7p8q system-cluster-critical pod "kops-controller-m7p8q" is not ready (kops-controller) Pod kube-system/kube-controller-manager-ip-172-20-59-196.eu-west-1.compute.internal system-cluster-critical pod "kube-controller-manager-ip-172-20-59-196.eu-west-1.compute.internal" is not ready (kube-controller-manager) Please help resolve this issue!
@GVJ-0074 жыл бұрын
Getting below error while setting up AWS CLI /usr/bin/env: ‘python’: No such file or directory Can you please help?
@ValaxyTechnologies4 жыл бұрын
Hi Gimmy, can you give a detailed error? If you would like to follow this full course on skillshare use the below link. you can access this course for 2 months free. skl.sh/2LsZIAO
@craghava58344 жыл бұрын
hi james, are you using Ubuntu server, then first use below link to install AWS CLI then follow video, i do faced the same issue and it got resolved. i did follow this full video and success full setup done for kubenetes linuxhint.com/install_aws_cli_ubuntu/
@anshumandwivedi73324 жыл бұрын
@@craghava5834 Thanks. Helped me
@Mikayla_Ayedun Жыл бұрын
@@craghava5834 Thank you:)
@loverboyy61672 жыл бұрын
I am not able Login ssh rsa become failed public key
@hareeshkumarkesa42304 жыл бұрын
I am ruuning into this error. ""unexpected error during validation: unable to resolve Kubernetes cluster API URL dns: lookup api.javahome.in on 172.31.0.2:53: no such host"". Any idea on how to resolve it?. Thanks in advance.
@CombatVault4 жыл бұрын
After 2 days, I finally fixed this problem! I had to go into Route 53 and associate the two VPCs with each other. Since they're both private, the EC2 and the cluster couldn't find each other.
@ziaullahkhan11173 жыл бұрын
can you paste link here for kubernetes downalod
@saikatsaheb5 жыл бұрын
I am getting following error while execute ''kops validate cluster" --- Can you please help me to resolve this issue? Using cluster from kubectl context: saikat.k8s.valaxy.in Validating cluster saikat.k8s.valaxy.in unexpected error during validation: unable to resolve Kubernetes cluster API URL dns: lookup api.saikat.k8s.valaxy.in on 127.0.0.53:53: no such host
@CombatVault4 жыл бұрын
Go to Route 53 and associate the two private VPCs. Since they're private, the EC2 and Cluster can't find each other.
@ankireddy54835 жыл бұрын
tq bro continue this k8s tutorial plz
@ValaxyTechnologies5 жыл бұрын
Strategic course correction in the way, More automation in the coming days. Buckle up everyone. Time to start learning automation.
@anilKumar-wm1bg4 жыл бұрын
i purchased devops pdf files in your site, still i did not get that pdf its been already more than 20 days
@vijayb23575 жыл бұрын
Hi I love u r vedios,, can u please do vedio on EKS..
@ValaxyTechnologies5 жыл бұрын
Long way to got before we reach EKS. We are working our way to ECR, ECS
@raghavendarswamy41814 жыл бұрын
good stuff in the video
@ValaxyTechnologies4 жыл бұрын
Consider subscribing to #Valaxy channel for more such videos, we release a new demo every week.
@raghavendarswamy41814 жыл бұрын
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws hi sir while running this step i am facing below error /usr/bin/env: ‘python’: No such file or directory
@ValaxyTechnologies4 жыл бұрын
Check out how to install AWS CLI in linux - kzbin.info/www/bejne/ioHcqpmjhtmYZrc kzbin.info/door/_evcfxhjjui5hChhLE08tQsearch?query=aws+cli
@raghavendarswamy41814 жыл бұрын
@@ValaxyTechnologies thanks for the reply sir, I have created successfully..thank you very much sir
@vivekreddychagam54595 жыл бұрын
i am not able to login to the dashboard
@reddyyaswanth3714 жыл бұрын
can you tell me commands lines
@ooorocker5 жыл бұрын
ubuntu@ip-172-31-19-4:~$ kops create cluster --cloud=aws --zones=us-east-2--name=dev.k8s.nishant.in --dns-zone=nishant.in --dns private --name is required which name its asking for?
@ValaxyTechnologies5 жыл бұрын
there is typo in command. give space between zone and name Thanks for your comment. Please join in below Facebook group to get in touch with you. facebook.com/groups/valaxy.aws.devops.gang/
@nareshmannepalli73115 жыл бұрын
super bro
@ValaxyTechnologies5 жыл бұрын
You are welcome, Do check out #Valaxy playlist for DevOps
@shabeebm3462 жыл бұрын
why don't you add your github link in the description ?
@tianshuqin12174 жыл бұрын
hi why my masternode keeps shutting down?
@ValaxyTechnologies4 жыл бұрын
Check logs
@Sai-ik8hc2 жыл бұрын
it is a great one
@jagadeshc69665 жыл бұрын
Super bro ,Thank u...
@archananarayana61235 жыл бұрын
Thanks for your appreciation.Hoping to see u on this channel again.
@MrGaurav28975 жыл бұрын
Iam getting unexpected error during validation: error listing nodes: Get api.dev.k8s.witty.in/api/v1/nodes: remote error: tls: internal error . after executing kops validate cluster
@ValaxyTechnologies5 жыл бұрын
this could be because of s3 bucket name. you should use appropriate names depends on your domain. why do you check out our udemy course were we have explain detailed. www.udemy.com/course/valaxy-devops/?referralCode=8147A5CF4C8C7D9E253F
@harishkolanu5 жыл бұрын
sir we dont have domain how should we do...
@ValaxyTechnologies5 жыл бұрын
#Valaxy has explained the same in this demonstrations. Please do yourself a favor by paying attention to the details.
@bibhashroyhello5 жыл бұрын
Bucket creation is failing with message make_bucket failed: s3://dev.k8s.somedomain (own this domain) - both with private or public
@ValaxyTechnologies5 жыл бұрын
What is the error?
@ravisharma30075 жыл бұрын
Hey Guys, Did anyone find fix for the below error: "unexpected error during validation: unexpected error during validation: unable to resolve Kubernetes cluster API"
@ValaxyTechnologies5 жыл бұрын
Hi Ravi, this could be due to availability zone issue. make user you are using right zone value while creating culster.
@rishikeshgade87294 жыл бұрын
@Ravi, yes absolutely right. That error comes bcz of region. make sure you have selected the correct vpc while creating ur hosted zone. ur ec2 instance has to be in that vpc only. if it mis matches u wl get this error.
@tonyc22275 жыл бұрын
I don’t see the github link in the description
@ValaxyTechnologies5 жыл бұрын
Hi Tony, yes we missed it. now its updated. these for notifying us.
@sogab2bab5 жыл бұрын
Hi yuki
@dhirenbaidyabhusan56005 жыл бұрын
Hi Shankar, I had install kubernetes master and worker node but however i had deleted kubernetes management server, i was tried so many times to delete master and worker nodes but after sometime automatically running again, could you please suggest me how can i delete master and worker node now?
@ValaxyTechnologies5 жыл бұрын
Hi, seems you might not deleted configuration completely. Please go and delete autoscaling group and launch configuration. It’s under EC2 service
@dhirenbaidyabhusan56005 жыл бұрын
@@ValaxyTechnologies Thank you Shankar, I had followed as per your instructions and it's working fine for me.
@AnujTechShorts4 жыл бұрын
after this your bill increses , please dont follow this video
@sprakash46815 жыл бұрын
i followed same steps exactly but when creating cluster with this command i..e kops update cluster dev.k8s.valaxy.in --yes, i am not seeing all those resources being created. root@ip-172-31-17-89:~# kops update cluster dev.k8s.pspxxxxx.uk --yes ********************************************************************************* A new kubernetes version is available: 1.12.9 Upgrading is recommended (try kops upgrade cluster) More information: github.com/kubernetes/kops/blob/master/permalinks/upgrade_k8s.md#1.12.9 ********************************************************************************* SSH public key must be specified when running with AWS (create with `kops create secret --name dev.k8s.pspxxxxx.uk sshpublickey admin -i ~/.ssh/id_rsa.pub`) how to get rid of this message and get the cluster created successfully, thx
@adityamalviya11034 жыл бұрын
Getting error "unexpected error during validation: unable to resolve Kubernetes cluster API URL dns: lookup api.adi.k8s on 127.0.0.53:53: no such host" while running kops validate cluster
@homeless.digitalnomad4 жыл бұрын
I just had the same issue, and solved it by naming my cluster xxxxx.k8s.local, which is apparently a requirement for new versions of kops