A simple method of procedure (with screenshots) to create a VM (Copy it for your next technical document)

  1. Go to Virtual Machines
Click on Create/Register VM

2. Click on Create/Register VM

3. Select the Creation type & click next



Photo by Xavier von Erlach on Unsplash

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



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.

  1. 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

  1. Go to Docker Desktop settings
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.



Mohit Kumar

Mohit Kumar

Making people communicate since 2010. Wireless Networking Professional based in Melbourne.