you can just run with –dry-run=client option to generate yaml file. Which is then you can add any other elements or delete if you pass
Category: Kubernetes
Affinity k8s conigMap Resource Limits Limits and Requests are important settings when working with Kubernetes. This article will focus on the two most important ones:
below we are using replication controller to stick Node2 to be scheduled kubectl scale –replicas=20 rc/myapp-rc if we see above all are created in Node2
replication controller is to manage HA with the pods in short terms . root@master:/tmp# k create -f test-rc.yamlreplicationcontroller/myapp-rc createdroot@master:/tmp# Deleting the replication controller will delete
list the nodes in the k8s cluster [ run it on the master node ] display default pods in the cluster To get more [
On Master node run the below command that print the token and use it on the worker to register with master root@master:~# kubeadm token create