join a new node to an existing cluster
IP address and port of the Kubernetes control plane.
flag is used to specify the token that is used to authenticate the join request. The token value should be provided by the cluster administrator
CA certificate used to secure the Kubernetes API server
CA (Certificate Authority) certificate is used to secure the communication between the Kubernetes API server and the nodes in the cluster. The hash of the CA certificate is a unique identifier that represents the certificate. It is calculated by applying a hash function to the contents of the certificate. The hash is used to verify the authenticity of the certificate.
The command kubectl apply -k server-name is used to apply a kustomization to a Kubernetes cluster. The -k flag specifies the location of a kustomization file, in this case, the file is located in a directory called "server-name". The kustomization file contains a list of resources to be applied to the cluster, such as ConfigMap, Deployment, Service, and Ingress. The apply command creates or updates resources in the cluster to match the desired state defined in the kustomization file.
The command "kubectl -n dev rollout restart deployments/insurparts-backend" is used to restart a deployment in the "dev" namespace named "insurparts-backend". The "rollout restart" command is used to restart the pods of a deployment. This can be useful for a variety of reasons, such as updating the application or resolving issues with the application. By restarting the pods, the new changes or fixes will be applied to the running instances of the application.