Kubernetes Notes
When we create secrets, we will encode data values in base64, kubelet in the nodes is reponsible to decode the base64 encoded data when it is consumed by containers within a pod If we add new pod with same labels, why replica controller don't recognize it and delete other pod. Because replica controller adds ownerrefrences section in metadata of every pod it creates and adds it name(i.e repliacontroller name) under it.Instead of completely relying on labels it also checks this section (VV Imp) kubectl run was earlier used to create deployments as well. However, with Kubernetes 1.18, kubectl run was updated to only create pods and it lost its deployment-specific options as well. If you are looking to create a deployment, you should instead use the kubectl create deployment command. When we create ClusterIp type service, we know that it can be used to talk within cluster but not outside.For testing this exec into the pods and try acessing clusterIp serviceip:port, coolthing is we ca...