Kubernetes Scale Up/Down Replica set

Kubernetes Scale Up/Down Replica set Creat Replicaset Create replicates with below manifest yml file cat myrs.yml apiVersion: apps/v1 kind: ReplicaSet metadata: name: frontend labels: app: guestbook tier: frontend spec: # modify replicas according to...

Kubernetes Hostpath Volume Example

A Kubernetes hostPath volume mounts a file or directory from the host node’s filesystem into your Pod. Kubernetes supports hostPath for development and testing on a single-node cluster. In a production cluster we would not use...

Ansible Copy File Locally

Ansible Copy File Locally We can copy files locally using ansible copy module. But Ansible copy modules works in the way like it will copy the files from source machine to destination machine nothing...

Kubernetes Namespace Tutorial

Kubernetes Namespace Tutorial What is kubernetes Kubernetes namespace will provide the feature of dividing the cluster into multiple virtual clusters. Let’s say that you have 2 teams working in project like dev and prod....

Kubernetes ConfigMap Tutorial with Examples

Kubernetes ConfigMap Tutorial with Examples A ConfigMap is a dictionary of key-value pairs that store configuration settings for your application. We can mount this configmaps in container as files or volumes or environment variables....