Тёмный

Trying Kubernetes 📦 for the First Time 

DevTips
Подписаться 351 тыс.
Просмотров 21 тыс.
50% 1

Sponsored by: Sucuri, thanks! Gain peace of mind by securing all your websites, get hacks fixed and prevent future attacks. Get 15% off with discount code: DevTips15
sucuri.devtipss...
We get a local Kubernetes deployment set up using Minikube. Why not docker-compose? We explain it. What is a pod? We explain it. Kubectl? Replica? Replica set? YAML??? WE EXPLAIN IT!
🏆 ACHIEVEMENTS:
⏯ 17:13 Learning YAML syntax
⏯ 31:47 Running the deployment
Step-by-step instruction to do the initial setup. WARNING: It will take a while.
⏳ www.notion.so/...
The files we used
🗂 gist.github.co...
This was shot on a live stream on Twitch. Go there to follow us when we do future live streams:
📹 / devtipsshow
DevTips is a weekly show for YOU who want to be inspired 👍 and learn 🖖 about programming. Hosted by David and MPJ - two notorious bug generators 💖 and teachers 🤗. Exploring code together and learning programming along the way - yay!
DevTips has a sister channel called Fun Fun Function, check it out!
❤️ / funfunfunction
#kubernetes #docker #yaml

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@rod7517
@rod7517 5 лет назад
one tip for future videos in the first minutes to explain what is kubernetes even if you have already explained in another video... 4 minutes and i still dont know what kubernete is (newbie here) give an overview of what are you going to accomplish before starting of to code is good for complete beginners to understand and also on every step of the process
@OfficialDevTips
@OfficialDevTips 5 лет назад
Yeah. Total 🤯. We did explain it but missed to include it in the edit...
@danielvaldez4795
@danielvaldez4795 5 лет назад
Kubernetes needs a good amount of background, if you try to get the kubernetes global perception in one video and you're a newbie, try to do something with dockers first (that's my opinion)
@ddanielsandberg
@ddanielsandberg 5 лет назад
Planned to write long explanation, links to one of many Kelsey Hightower presentations instead: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HlAXp0-M6SY.html
@krogsater
@krogsater 5 лет назад
What happened to the online business? Has the series stopped?
@OfficialDevTips
@OfficialDevTips 5 лет назад
It will reboot in some form during this spring. We discussed it briefly somewhere in the “future of DevTips” episode. It has a lot of good ideas in it but some things making it difficult to become good content. Our aim is def to keep it around.
@rubendariofrancodiaz6944
@rubendariofrancodiaz6944 5 лет назад
I don't exactly know what's happening here. Had to move and see videos from another channels to try to understand what's going on.
@Switcher05
@Switcher05 5 лет назад
Honestly if you are unsure some simple basics of k8 then it's more complicated then you need currently need. K8 is a complex and bleeding edge technology that is not for beginners with no ideal use cases. Sure the tools are getting better and making it easier but not every app needs a HA cluster with control planes, etcd, workers, logging, metrics, etc... The most surprising thing about k8 is the overhead required, which makes production deployment expensive, and dev deployment locally requiring large resources.
@ianldgs
@ianldgs 5 лет назад
Just a little tip to download docker images and layers for your builds quicker: always try to find an image based on alpine (which is a smaller linux, with just 5MB). Most oficial repositories have images from alpine, but usually they are not the default. And a tip to make your images immutable: always specify the version of the image. The default is "latest" which might move to a major version, like your machine has node 8 and your CI gets 11. Summarising: your FROM should be e.g. node:10-alpine, which has just 70mb (you download a 400mb image, compacted, which becomes 900mb extracted) I also always prefer LTS versions of node.
@OlleHellman
@OlleHellman 5 лет назад
Continue with Kuberenetes! You don't need to remove the deployment to update it =)
@bartsmykla
@bartsmykla 5 лет назад
Node is just a name of a physical machine in a cluster with kubelet (it's like a worker, which is doing real work, like spawning containers etc.)
@puyanwei
@puyanwei 5 лет назад
Hi guys, love your content on both channels so far! I would like to give you some feedback if that's ok! This video feels like a fun fun function video and not a dev tips one. Remember your audience's level and where they came from. These are not developers and may not know what node is, they may not know what production or development environment is, might not know that you can create files using touch, might not know vim and therefore not understand how files got edited. I am currently working as a new developer, so should be your fun fun function target audience and there were a lot of things I didn't understand in this video. Understandably, live streaming is different but you guys should still stick to the same format as your previous videos. It may be good to have a similar structure for dev tips to be clear with an introduction always. What is Kubernates, how does it relate to Docker? Give a live example of why it would be used. And maybe explicitly state your intentions of your session. You guys actually did this in the Docker video which made that one quite good. Your Fika breaks are great to remind yourself different points to stop , reflect and clarify what is going on. You didn't seem to have many at all this time? :( Another bit of feedback I'd suggest is not to use vim. I assume you can just edit the files using a text editor. Vim can be quite confusing to new learners to use if they want to follow along. I can certainly remember how long it took for me to work out how to get out of vim when I first used it.
@OfficialDevTips
@OfficialDevTips 5 лет назад
Thanks for the feedback! This was our first ever live stream way of making content and we drew many learnings from it. With everything being tricky around the stream setup we really lost a lot of the ordinary structure. This was not intentional, just mistakes. Will try to improve!
@rafalfaro
@rafalfaro 5 лет назад
Excellent. I thought that kubernetes was something super complicated until I watched this video.
@saranshbansal1598
@saranshbansal1598 5 лет назад
Rafael Alfaro I thought the exact opposite 😅
@rafalfaro
@rafalfaro 5 лет назад
@@saranshbansal1598 this is more for DevOps, knowing plain Docker will do just fine.
@raulalejandromunozaraya3878
@raulalejandromunozaraya3878 5 лет назад
guys, did you explain of to start the server or of to setup the minukube dashboard?
@malipetek
@malipetek 5 лет назад
Logo animation is not good, let me tweak it where is it?
@thesubscriberizer
@thesubscriberizer 5 лет назад
sick
@willb.755
@willb.755 5 лет назад
Bookshelf goals!
@kuqmua755
@kuqmua755 5 лет назад
Epilepsy -_-
@zebnat
@zebnat 5 лет назад
Oh man all the serverless thing makes me feel old. I don't see a real benefit to use docker or kubernetes most of the time, specially when using a node app that doesn't even require a database. I mean node and npm already makes it easy for devs, npm install and be happy. You only need to take care of the node version...
@OfficialDevTips
@OfficialDevTips 5 лет назад
yeah, we should have put a section there on the benefits.
@OfficialDevTips
@OfficialDevTips 5 лет назад
Sorry, the "why" part got lost in the edit. It is not that you are old, it's that you haven't managed a complex environment yet. The point of docker and kubernetes is to manage all the stuff that mom cannot handle, exposing ports, installing and setting up databases, setting up network connections between them, setting up storage, managing secrets, setting up replicas, load balancers, etc. aaand getting all that to sync between you local Dec, remote test, continuous integration, and production environment.
@alexo4600
@alexo4600 5 лет назад
kubernetes will be handy when you're the size of say amazon etc.
@JosephChambers
@JosephChambers 5 лет назад
​@@alexo4600 kubernetes lets you scale horizontally. I'm able to run 3 instances of my microservice that runs my node lighthouse command because it's cpu intensive. When I get more users where we're now crawling millions of pages every hour I can just add more nodes. Say I wanted to get creative and do a distributed load testing on my network to see how I can prevent ddos attacks. I can grab my handy locust.io/ and spin up a gke medium.com/google-cloud/google-kubernetes-engine-load-testing-and-auto-scaling-with-locust-ceefc088c5b3 and do magic. However; at the end of the day I can block IPs from flooding my network but with kubernetes I can spin up and spin down machines to get new IP addresses. magic buddy.
@stygis
@stygis 5 лет назад
Well you don’t need it yet, but when you in a medium size company and you dev team is exapnding the docker is a life saver, no need to worry about setting up same environment on different OS and computers... as well deploying it is easy... when it comes to scaling... the same docker and kubernetes are the life savers as you dont need to bang your head and figure it out whats wrong everything just flows smoothly... and all you have to do is just work on one place...
Далее
Query Parameters in JavaScript (3+1 Ways)
17:18
Просмотров 19 тыс.
you need to learn Kubernetes RIGHT NOW!!
29:34
Просмотров 1,2 млн
Меня Забанили в Steam CS2 / PUBG
19:19
Просмотров 257 тыс.
How to Load Web Fonts in 2019 🎆
21:05
Просмотров 20 тыс.
node.js basics
23:40
Просмотров 29 тыс.
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
Kubernetes 101 workshop - complete hands-on
3:56:03
Просмотров 1,6 млн
Design Microservice Architectures the Right Way
48:30
Просмотров 712 тыс.