Docker related questions
- https://zhuanlan.zhihu.com/p/362406703
- https://www.jianshu.com/p/76ee1565b4e2
-
https://segmentfault.com/a/1190000000751601
-
docker v.s. podman https://www.imaginarycloud.com/blog/podman-vs-docker/
- terraform v.s. helm
- Terraform can be used to manage infrastructure and all the attached resources,
- while Helm’s primary purpose is to manage applications and application states from within a Kubernetes cluster.
- https://stackoverflow.com/questions/60562757/helm-vs-terraform
- terraform v.s. aws-cloudformation
- Terraform and CloudFormation are both infrastructure-as-code (IaC) tools.
- CloudFormation is developed by AWS and only manages AWS resources.
- Terraform is developed by HashiCorp and can manage resources across a wide range of cloud vendors.
SQS vs RabbitMQ https://stackoverflow.com/questions/28687295/sqs-vs-rabbitmq
SMACK(Spark, Mesos, Akka, Cassandra, Kafka) stack https://gist.github.com/Arnauld/b98f41b7a245c859be34f6efa9627513
K8S
difference between docker, compose and kubernetes
- https://stackoverflow.com/questions/47536536/whats-the-difference-between-docker-compose-and-kubernetes
Liveness and readiness probe in kubernetes
- Both liveness & readiness probes are used to control the health of an application.
- Failing liveness probe will restart the container, whereas failing readiness probe will stop our application from serving traffic.
- https://medium.com/@AADota/kubernetes-liveness-and-readiness-probes-difference-1b659c369e17
Kafka consumer groups and benifits, partition , offset etc..
- https://www.conduktor.io/kafka/kafka-consumer-groups-and-consumer-offsets
How do you deploy app in k8s
- https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/
- Using kubectl to Create a Deployment https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/
Ingress in kubernetes
- https://kubernetes.io/docs/concepts/services-networking/ingress/
How to create authorization keys in k8s and how it work
- https://kubernetes.io/docs/reference/access-authn-authz/authorization/
Kubernetes related questions
- https://hulining.github.io/2020/06/04/interview-questions-kubernetes/
- https://zhuanlan.zhihu.com/p/428243855
- https://github.com/yangpeng14/DevOps/tree/master/kubernetes
- https://zhuanlan.zhihu.com/p/74560934
Pytorch
Note that a trailing _
in PyTorch signifies that the operation is performed in-place
import math
weights = torch.randn(784, 10) / math.sqrt(784)
weights.requires_grad_()
bias = torch.zeros(10, requires_grad=True)