Lonely Dev

206 posts

Lonely Dev banner
Lonely Dev

Lonely Dev

@lonleydev1

Learning and building Software | 4th year CS Undergrad

Tham gia Temmuz 2024
123 Đang theo dõi15 Người theo dõi
Lonely Dev
Lonely Dev@lonleydev1·
4/n -Job need the field restartPolicy and available options for them are Never, OnFailure , Always - Always denotes to start the pods irrespective of the Exit code if it fails or success doesnt matter - OnFailure if pods exits with 0 or fail exit code -Never just Never restarts
English
0
1
1
14
Lonely Dev
Lonely Dev@lonleydev1·
Lets talk k8s! Day 3 - Jobs ( that i don't have but k8s does ig) Jobs is way in k8s to perform any defined operation and end as soon as those operations are successfully done These are the one time task you wanna do They create pods to do these tasks and terminate them later
Lonely Dev tweet media
English
3
0
0
9
Lonely Dev
Lonely Dev@lonleydev1·
3/n in above image - here the fields completions represents pods and denoting if 10 pods complete this then only then the task seems to be complete - the Paralleism here denotes how many pods that can be ran simulateously - jobs do not terminate is state of success is not met
English
0
0
0
3
Lonely Dev
Lonely Dev@lonleydev1·
2/n - these are tasks like that only need to be done once - like eg preprocessing a dataset, immediate backups for data , intial setups etc - Once done pods gets deleted but not the job its like a registry entry for us to see logs and whether the state is reached
English
0
0
0
7
Lonely Dev
Lonely Dev@lonleydev1·
@Itstheanurag kitne baar maroge hame har din koi naya akar vahi bath boltha hai isme naya kya hai
हिन्दी
0
0
1
5
gaurav
gaurav@Itstheanurag·
Rest in pieces junior devs.
gaurav tweet media
English
14
1
38
1.1K
Lonely Dev
Lonely Dev@lonleydev1·
What the hell now axios is compromised? If you don't know there has been notified as supply chain attack on axios as it pull malicious dependency from npm @axios-http @npmjs @javas
English
0
0
0
53
Lonely Dev
Lonely Dev@lonleydev1·
2/n -Secrets are API keys or credentials a pod needs that must stay secure -In YAML, these are Base64 encoded, but that doesn't mean they are secure -These must be handled securely -Anyone with pod access can essentially access them so the cluster security must be maintained
English
0
0
0
10
Lonely Dev
Lonely Dev@lonleydev1·
Lets talk k8s, ConfigMaps and Secrets -ConfigMaps are like non-private env variables that a pod can use for a particular environment -They help in maintaining different configs for different purposes like dev, testing, and prod -They can be public and hence are shareable info
English
1
0
0
15
Lonely Dev
Lonely Dev@lonleydev1·
4/n Deployments - Instead of creating individual pods we can orchestrate the pods using a deployment - Deployments help in creating number of pods called as replicas for higher availability - if Pods fails new pods are scheduled by it make up to desired number of pods -(heal)
English
0
0
0
9
Lonely Dev
Lonely Dev@lonleydev1·
Let's talk k8s, -Basics Kubernetes is really good for deploying applications that need to handle a lot of traffic and scale. This is because it helps you scale your apps efficiently. The bare basic parts of Kubernetes are: * Pods * Deployments * Services * ConfigMaps and Secrets
Lonely Dev tweet media
English
3
0
0
10
Lonely Dev
Lonely Dev@lonleydev1·
3/n Pods: - These are basic resources where our logic our code runs and what is ultimately consumes the actual compute of the nodes - Each pod can run multiple containers - Each pod can have IP assigned to it as an individual component - Node level IP also can be used in K8s
English
0
0
0
7
Lonely Dev
Lonely Dev@lonleydev1·
Lets clear few jargons, 2/n *Nodes - these are machines on which we run our server and deploy our projects actually *cluster - its just group of nodes that k8s have control over and can creates these above basic resources
English
0
0
0
7
Lonely Dev
Lonely Dev@lonleydev1·
@shvm_mshra Fuck this new regs they should revert back but with same size cars and back to 80 20 split and end this battery slop
English
0
0
0
10
Shivam
Shivam@shvm_mshra·
@ganeshbuilds that's the reason like why do you have to slow down on straights just to save battery and Mercedes have a rocketship
English
1
0
1
18
Shivam
Shivam@shvm_mshra·
Battery this Battery that Formula 1 is a becoming a joke cuz of Battery Bring back fkin DRS
English
1
0
13
283
Lonely Dev
Lonely Dev@lonleydev1·
@shvm_mshra Look at the gap merc to ferrari +15 sec after ferrari almost a minute gap +51 💀 , after few laps all cars with grow such large gaps where will they race
English
1
0
1
20
Lonely Dev
Lonely Dev@lonleydev1·
@shvm_mshra Yes look at bearman at p7 is a lap behind race leaders 💀 if that's not a warning I think the fun to watch the sport is cooked
English
1
0
1
29
Lonely Dev
Lonely Dev@lonleydev1·
wanted to participate to the leetcode contest but thier website crashed just before even i can start. Decided to go to CodeForces and ngl i liked it solved like 5 800 rated problem, wanna continue and will likely solve daily if possible
Lonely Dev tweet media
English
0
0
1
26
Lonely Dev
Lonely Dev@lonleydev1·
Few days from starting dihaadi at a corporate kuch chend paise ke liye coming Monday se gadh majdhoori suru karni hai
हिन्दी
0
0
1
19
Lonely Dev
Lonely Dev@lonleydev1·
Trying to complete the project since few days and completed the frontend of the dashboard but yet feels something wrong , open for any suggestions. completed till here now need to design the backend routes for this
Lonely Dev tweet media
English
0
0
1
16
Lonely Dev
Lonely Dev@lonleydev1·
Top 0.2% of Doctor Mike viewers 😀 Trust me, I’ve watched everything. Basically board-certified @RealDoctorMike follower at this point. #DoctorMike
Lonely Dev tweet media
English
0
0
2
112
Lonely Dev
Lonely Dev@lonleydev1·
So starting today is my winter arc going all in for next 2 months in both DSA and dev
English
0
0
1
10