![ASCODE](/img/default-banner.jpg)
- Видео 8
- Просмотров 132 024
ASCODE
Добавлен 28 янв 2022
We’re ASCODE, a small, friendly team dedicated to the world of educational technology. Our goal is simple - we want to make learning about cloud, automation, and DevOps as accessible and enjoyable as possible.
Accompanying resources available for free at: ascode.com
You can support me here!:ko-fi.com/ascode
Accompanying resources available for free at: ascode.com
You can support me here!:ko-fi.com/ascode
Ingress Made Easy! Install and Configure the Ingress NGINX Controller for Kubernetes
The Ingress-NGINX Controller for Kubernetes is a very popular option for configuring Ingress on Kubernetes. Let’s walk through the installation process and get our a load balancer set up and ready to handle traffic from the web.
Sample Code: github.com/ascode-com/wiki/tree/main/ingress-nginx
Blog Post: ascode.com/blog/how-to-install-and-configure-the-ingress-nginx-controller-on-kubernetes-complete-sample-app-included/
Join the community on Discord: ascode.com/discord
FREE $100 Vultr credit: ascode.com/vultr
If you'd like to support me, I'm on ko-fi: ko-fi.com/ascode
Sample Code: github.com/ascode-com/wiki/tree/main/ingress-nginx
Blog Post: ascode.com/blog/how-to-install-and-configure-the-ingress-nginx-controller-on-kubernetes-complete-sample-app-included/
Join the community on Discord: ascode.com/discord
FREE $100 Vultr credit: ascode.com/vultr
If you'd like to support me, I'm on ko-fi: ko-fi.com/ascode
Просмотров: 5 274
Видео
Stop Using “Terraform Apply”! Do It This Way Instead
Просмотров 6335 месяцев назад
We've all been taught the basic terraform init, plan, apply, destroy workflow. But this isn't how Terraform is usually run in the real world. What can we do to make our Terraform workflow more robust and consistent? Let's cover the best way to use the terraform plan and apply commands to ensure consistency and predictability in the entire infrastructure provisioning process. FREE $100 Vultr cre...
Navigate the Filesystem Efficiently! 2 Ways to Create and Enter Directories With a Single Command
Просмотров 1,4 тыс.5 месяцев назад
Today's quick tip is a handy function that I use to quickly make directories and change in one shell command! We cover two methods with examples. Follow along here: ascode.com/2-ways-to-make-and-change-into-a-directory-with-one-line-of-code/ Check out the discord for questions & connections: ascode.com/discord If you'd like to support me, I'm on ko-fi: ko-fi.com/ascode Other links: mkcd gist: g...
How to Deploy AWS EKS with Terraform - The Simplest Guide to Get Up and Running
Просмотров 35 тыс.Год назад
In this video, I go over the quickest and simplest way of getting AWS Elastic Kubernetes Service (EKS) up and running using Terraform for deployment. We go over the basic configuration options and end up with a fully functional working EKS cluster by the end of the video. Code from the video can be found free on Github 🐙 github.com/ascode-com/wiki/tree/main/terraform-eks Let me know what questi...
Everything You Need to Pass the Updated CKA (Certified Kubernetes Administrator) Exam
Просмотров 59 тыс.2 года назад
Today's video is about how to pass the new June 2022 updated version of the Certified Kubernetes Administrator exam. In this study guide, I cover tips, tricks, and my own experience with the CKA. stay tuned and you'll pass no problem. Purchase your CKA Exam here: ascode.com/cka-exam Please leave questions, comments, content suggestions, and let us know how you did! As always, the README is avai...
How to Pass the Hashicorp Certified: Terraform Associate Exam (2022)
Просмотров 18 тыс.2 года назад
You can support me here!: ko-fi.com/ascode hello, i recently passed the hashicorp certified terraform associate exam! so this video shares the tips and tricks i used to study and pass the certification. the whole process took me about 30 days and i'm sure with the tips provided in this video, you can too! feel free to reach out with any questions, and please do leave a comment if this video hel...
CR LF line endings - understanding and fixing the invisible characters hiding between the lines
Просмотров 11 тыс.2 года назад
today's video covers the carriage return and line feed line terminators, what they are, and how to fix them. we'll cover some tools and tips for working with line endings in normal files as well as version control (git). you can find all links and resources at: github.com/jediascode/resources if you see any thing you'd like to fix or add, feel free to pull request.
doas - Replace sudo With The Secure & Lightweight Alternative from OpenBSD!
Просмотров 1,4 тыс.2 года назад
sudo has been around forever and is capable of doing many things, but most of us only need it for a few tasks. doas does pretty much all most users need without the added fluff and security vulnerabilities that come with sudo. this video's resources can be viewed and edited at github.com/jediascode/resources/tree/main/doas any edits and changes and tips will be added there so feel free to make ...
Thank you i was stuck in ingress yaml. Your yaml helped. Got to know about port forwarding any application and debugging.
most of video is about deleting code :)
great video, thank you !!
"Complete" is not one of the examples anymore. It is only self managed, or aws managed. I'm having a lot of trouble getting it to work without making the endpoint public
i complete the course and just leave it be, not realizing the node group still active and charge me for over 80$ for an empty cluster. thanks ascode :)
We are waiting for the second part !!! The video was very clear and easy to understand.
I’m new to this, what would this look like for an application being managed as part of a helm chart, as in what would the source code look like without using kubectl commands? I’m not 100% sure what to change in the template files and what to add and I want it to be easily managed without having to run commands every time. And how would this work if you’re running locally using minikube as you wouldn’t have a loadbalancer or an external IP assigned? I don’t know how to assign an external IP using minikube and minikube tunnel isn’t seeming to work.
Thank you for inspiration
I'm a total noob and therefore have a question. We now deployed EKS with Terraform, how do I proceed from here? Using Kubernetes to deploy my application, load balancer, subnets etc?
good questions! check my other video on getting a demo app running ruclips.net/video/g9EqZiTWLGA/видео.html
also join the discord if you want some support / discussion!
Tell me about external ip its given me none
try checking aws load balancer in console and using kubectl describe.
Excelent video!
thanks :)
Could you please share a video using the TLS certifications
pending! (tm)
Hi brother. Please, the link for the blog post in the description needs to be updated. Overall, thanks for this quick tutorial on how to start things up!
thanks for letting me know!
Did you end up making a video for best practices in terraform? I would love to see it!!
may break it out into different videos - like the one i made on terraform plan/apply! ruclips.net/video/gGEDqXNvVVQ/видео.html
What would happen if i left both self managed and managed node groups in there? Which would be created? Both?
yep! you'd create multiple node groups
Hi, I know this is a bit off-topic, but I have a question. I'm using ingress-nginx on EKS with an NLB (externalTrafficPolicy: Local), and my target group instances are showing as unhealthy. Any advice on resolving this?
the health check is likely failing. either the load balancer can't reach your app or your app isn't responding properly
great video! side note, what keyboard are you using?
GMMK 2 TKL w/ kailh speed coppers. NK films and some lube on the springs.
Can you please make videos about aks and gke via terraform as well
i'll consider it! thanks for the suggestion
How to add your AWS credentials before running the terraform apply?
multiple ways to do this! easiest way is to configure your shell environment via awscli. you can make and use an access key. Here's general info: docs.aws.amazon.com/cli/v1/userguide/cli-chap-authentication.html
I cannot see my external IP coming up, it is pending only since long
try checking aws load balancer in console and using kubectl describe. could be subnet issue
you look so much like Jaedong - very well known SC & SC2 player from South Korea
why not tf plan -destroy -out tfdestroy instead? It will clear the confusion whether the file is for plan or destroy.
you totally can! but typically you don't need to do this tho because destroying infra through a pipeline usually consists of removing the actual resource block of tf code to constitute destroying a resource. if it helps you make less mistakes, by all means go ahead!
Like for your great tutorial, please record tf best practices video
Subscribed.
Good explanation, thank you :)
I tried to deploy eks exactly same way like you deployed. but pods are not be scheduled. whatever i wanted to create, status is pending
try checking the logs and describe for more info
I really love you! It has been a brutal support for a problem I had! Thx!!!
thanks for your create video, I have followed your steps, only the difference is that the external ip is not showing, it seems to be the issue with loadbalancer
by the way, I am doing this on my laptop, local env
check what the load balancer says in the aws console and kubectl describe
its run perfect, the only thing that I had problem is about LB, when I create a service.yaml as type load balancer my status always stay as pedding, do you think that miss some module in terraform for it runing well? other thing is about SG...its looks creating more than 1 SG, that gave me problem with LB too....thanks for all man.
check `kubectl describe svc my-loadbalancer` for the reason. you may need to configure aws load balancer controller and/or add some annotations
If I never use terraform for provisioning before, can I use terraform for create only EKS ?
yes you can. you'll just have to select (data resource or hardcode) your existing resources in
If you can do this with SSL and through Terraform I would donate ;)
👀
Let's Encrypt SSL Certificates for Kubernetes with cert-manager comming soon)
Thank you!!! And I want to see the https episode ofc :)
how are you use CAT modules in terminal?
check out bat! alias cat=“bat” github.com/sharkdp/bat
Have you ever run into where the "coreDNS" become degraded? I'm working on a project that trying to launch an EKS that hosts a Minecraft server and every time I run the terraform apply the coredns hangs and end up being degraded in the cluster section in the add-on tab.
not sure without knowing more but i’d check your plugin versions and terraform / k8s versions. I’d also look at the plugins installed via the console UI to make sure it’s installed properly
did't have "complete" option in github
you're right it looks like they updated the examples. I think eks-managed or self-managed are still good places to start.
Does this work on windows? Because you’re staring into the window of my soul 😩
It actually only works if you use git to commit to me 😉
What i understand from this is, a file named tfplan is being created on the side, and whatever you do (apply/destroy) happens on the basis of that file state. In the meanwhile if someone added something like(tag) it won't effect it. Please correct me if i am wrong.
yep! if an external change is made to the infrastructure between the plan and apply, saving the changes to a file will ensure that the actions taken in the apply are exactly the changes you expect. it'll error out if anything has changed externally. Especially good for jobs that take a longer time to run where this may be more of an issue.
@@ascode-com Thank you, most of the people just skip that prompt, glad that i have watched your video, many thanks for the details.
@@DaniyalFaizBBE-glad i could share something of use!
Very informative. I tried to create a GKE Auto Pilot cluster in GCP with a shared VPC private network through terraform, assigned necessary GKE service account permissions, and make sure the control plane, node, ranges IP range and the location are aligned correctly as per the GCP GKE documentation. But stuck with this exception again and again, 'Error: Error waiting for creating GKE cluster: All cluster resources were brought up, but: only 0 nodes out of 1 have registered; cluster may be unhealthy.' Pls share if there is any suggestions to troubleshoot this error ??
older versions of the gcp autopilot provider had a bug where you had to set an empty ip_allocation_policy github.com/hashicorp/terraform-provider-google/issues/10782 . Not sure if that's your exact issue without knowing more details.
If the ingress is exposed as a load balancer service, would you connect it with route53 with ssl in aws? Is that the industry standard?
route 53 only manages DNS. To configure TLS or SSL you'd need to get the certs and configure them to work with your load balancer. You'd need to use something like cert-manager with a certificate issuer like letsencrypt. Let me know if that's something you're interested in seeing.
Awesome Tutorial, Smart, Neat and Simple. Keep up the great work 😇
thanks! always happy to see you around :)
This was super helpful!! Great explainer! Thank you~
yw! :)
Really beneficial, please do more like these, got my CKA exam next week
good luck! you got this and thanks for the comment -- made my evening!
Nice content
thank you
hey, can you do a quick video on the latest release which is 20.0 which has a major change in configmap and auth section for eks.
interesting stuff. According to the 20.x upgrade notes... "This sub-module will be removed entirely in the next major release." Looks like major changes are still coming!
Chill, relaxed, and informative. I like your style!
thanks :)
Personally, I use the -tagert tag, and only apply the modules / resources i worked on. Because when multiple people are working on the system you might delete some things the other guy is working on at his machine.
New sub ✌🏻❤❤❤🇵🇸
appreciate u
Great video!
ty!
Amazing!!!! You’re so cute that I can’t focus 😍
blocked and reported