To annotate a resource, you can use kubectl command.
kubectl annotate <resource_type> <resource_name> annotation
For example,
kubectl annotate po nginx apptype=nginx
You can verify using the following way.
admin@master:~$ kubectl describe po nginx | grep -i anno
Annotations: apptype: nginx
admin@master:~$
Easy process to containerize your flask application to turbo charge your development environment
Once you have set up your development repository, you can easily containerized with Docker. Containerizing your application helps you achieve the following benefits.
- Create a Dockerfile
2. Create a Docker Compose file that would share the local volume with the container to track the development
Bonus — If you get the following error and you are using Docker Desktop, do the following
- Go to Docker Desktop settings

2. Go to resources and File sharing
So you want to join an additional node into a Kubernetes cluster.
We know that you should generate a bootstrap token which can help us join a node into a cluster.
To print the token you can use the following command
kubeadm token create — print-join-command
This command will generate the join command that you can use to add the node in the cluster.
kubeadm join <server api>:6443 — token <token> — discovery-token-ca-cert-hash sha256:<hash>
We can use this command to add a node into an existing cluster.