randomTechGoGuy's profile picture. no nonsense, just knowledge sharing

randomTechGuy-GO

@randomTechGoGuy

no nonsense, just knowledge sharing

Terraform(TF): We need not create resources in order in TF. It figures out the order in which resources need to be created.


Difference between EC2 instance and Fargate on AWS:- Fargate provisions its own virtual machine and it creates 1 pod per VM, whereas we can create multiple pod on an EC2 instance. #LearnInPublic #LearnTogether


Kubernetes: auto scaling group(asg) in aws does not provide auto scaling but we need to configure a k8s component "autoscaler" with asg to achieve auto scaling. asg groups the ec2 instances together logically. #LearnInPublic #learnTogether


Difference between git revert and git reset: git revert creates a new commit to revert the old commit's changes, whereas git reset removes old commit.


You did some changes but do not want to make a new commit. You want your changes to be part of last commit. Do: git add . Then Do: git commit --amend And after that you can push it to remote repo.


#go Found a very interesting thing after a lot of research and time : meaning of time.Duration(24). It simply means converting Time Duration into a number. So time.Duration(24) means 24. And time.Hour * time.Duration(24) means 24 hours. #learnInPublic #golang


Defer function takes the argument when it is defined, not when it is executed.


Loading...

Something went wrong.


Something went wrong.