Posts

Showing posts with the label linuxlov3r

Manage existing resources via Helm

Manage existing resources via Helm Helm is really a very powerful tool for managing Kubernetes objects. With a single command, we can install or upgrade multiple related Kubernetes entities. Let's say we want to install any chart from the helm registry, we just need to type in the below command and helm will do the heavy lifting for us. $ helm install [RELEASE_NAME] [REPO]/[CHART] But below post is not about the basics of helm or how to install or upgrade a chart, etc. It's been a long time since I wrote anything, so I just thought to write something about what new I learned today :)  While installing one of my charts, I encountered below issue: Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: StorageClass "demo-sc" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by...

Study Puppet

Want to learn about Puppet,  Click here ! https://managepuppet.blogspot.com What does above blog contains?  Introduction to Puppet puppet resource??? puppet apply??? puppet describe??? puppet agent??? puppet cert??? Un-revoke the revoked certificate in Puppet puppet master??? Puppet modules??? Facter??? Puppet installation on agent/server Creating a module in Puppet Dry run in Puppet --noop Puppet agent run Exec in Puppet Though it is still in progress....

Managing Partitions

Harddisk : It is a storage device which is used to store any kind of data, Currently there are two types of HDD available in market: SATA (Serial Advanced Technology Attachment). PATA (Parallel Advanced Technology Attachment). So the basic command to check your file system structure is fdisk -l, it will show you list of your harddisk's partition table. For more information on this you can see its man page by firing a command as man fdisk. Usually when a hard disk is inserted in a machine it acts like a file and is stored in /dev partition. So suppose that there are 3 hard disk in your machine then there naming convention would be /dev/sda (for the first HDD), /dev/sdb (for the second HDD), /dev/sdc (for the third HDD). parted : Stands for GNU Parted - a partition manipulation program, it is  a  disk  partitioning  and  partition resizing program.  It allows you to create, destroy, resize, move and copy ext2,  linux-swap,FAT,  FAT32,...

LVM ?

LVM is a logical volume manager for the Linux kernel, it manages disk drives and similar mass-storage devices. The term "volume" refers to a disk drive or partitions. LVM is suitable for: Managing large hard disk farms by letting you add disks, replace disks, copy and share contents from one disk to another without disrupting service (hot swapping). On small systems (like a desktop at home), instead of having to estimate at installation time how big a partition might need to be in the future, LVM allows you to resize your disk partitions easily as needed. Making backups by taking "snapshots." Creating single logical volumes of multiple physical volumes or entire hard disks, allowing for dynamic volume resizing. One can think of LVM as a thin software layer on top of the hard disks and partitions, which creates an illusion of continuity and ease-of-use for managing hard-drive replacement, repartitioning, and backup. Features of LVM: Resize ...