SDSandeep Dhunganainblog.sandeepdhungana.com.np·Jan 6, 2023 · 4 min readReplication Controller and Replica Set in K8SKubernetes was designed to orchestrate multiple containers and replication. There are lots of advantages to having multiple containers and replicas. Some of them are discussed below. Reliability: The multiple versions of an application help to prev...00
SDSandeep Dhunganainblog.sandeepdhungana.com.np·Jan 5, 2023 · 4 min readLabels and Node Selector in KubernetesLabels in Kubernetes are the key-value pair that does not have any predefined meaning and that can be attached to any objects or any resources such as Pod, Deployment, or Node which is mainly used to identify and organize Kubernetes resources. We cou...00
SDSandeep Dhunganainblog.sandeepdhungana.com.np·Jan 4, 2023 · 3 min readCreating the first pod in KubernetesTo create the pod let's first install the Minikube from here. Let's start with the basic pod. vi first-pod.yml kind: Pod apiVersion: v1 metadata: name: my-pod spec: containers: - name: container1 image: ubuntu command: ["/bin/bas...00
SDSandeep Dhunganainblog.sandeepdhungana.com.np·Jan 3, 2023 · 3 min readWhat are objects in Kubernetes?An object in Kubernetes is a component that represents a particular aspect of the cluster's desired state. Pods, nodes, and services are just a few examples of the various components of Kubernetes clusters that are represented as objects. A JSON or Y...00
SDSandeep Dhunganainblog.sandeepdhungana.com.np·Jan 3, 2023 · 3 min readSetting Up Kubernetes in AWS ubuntu 20.04 with kubeadmLog in to AWS After login into the AWS. Create 3 instances. 1 for the Master node and the other 2 for the worker Node Make sure that the Master node is t2.medium because the master node must have 2 vCPU and 4GB of Ram. Also, ensure that the security ...00