Skip to content
View shyamvyas5's full-sized avatar
  • Rajkot, Gujarat, India

Block or report shyamvyas5

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
shyamvyas5/README.md

Hi I'm Shyam

About Me:

  • I'm working as a DevOps Engineer
  • Containerizing @cosmos
  • Interested in Cloud Native, Web3
  • Currently learning Python, Golang, Cosmos Blockchain
  • ❤️ Open Source Softwares & Tools

Projects

Tools, Languages & Technologies that I'm using on daily basis:


OS:

Manjaro

Programming/Scripting Language:

Bash Python

Cloud:

Amazon AWS Google Cloud

Container:

Docker Podman Buildah Kubernetes Helm

IaC:

Terraform Terragrunt Ansible Cloudformation

CI/CD:

Jenkins Github Actions GitLab CI FluxCD Drone CI CircleCI ArgoCD

Proxy:

Nginx Caddy

DB/Operators:

MySQL PostgreSQL Postgres Operator 

Monitoring & Logging:

Prometheus Grafana Loki Fluent Bit

Pub/Sub:

Apache Kafka Apache Pulsar RabbitMQ

Testing:

cypress

Others:

TMUX EditorConfig Presto Apache Airflow Temporal Metabase Minio


Pinned Loading

  1. cosmos-devops cosmos-devops Public

    This repository is a collection of my cosmos DevOps journey. I'll be putting my progress, code samples, and experiments in this repository.

    Shell 11

  2. getting count of 4xx and 5xx logs fr... getting count of 4xx and 5xx logs from the logs file
    1
    # logs-generate
    2
    
                  
    3
    For generating apache logs used https://github.com/mingrammer/flog
    4
    
                  
    5
    ```
  3. prometheus needed disk space calcula... prometheus needed disk space calculation based on number of samples ingested and calculating bytes per sample alongwith retention period
    1
    ### query to calculate the storage space required for Prometheus
    2
    ```
    3
    1296000 * (rate(prometheus_tsdb_head_samples_appended_total[1d]) *
    4
    (rate(prometheus_tsdb_compaction_chunk_size_bytes_sum[1d]) / rate(prometheus_tsdb_compaction_chunk_samples_sum[1d])))
    5
    ```
  4. Commands for backup and restore of m... Commands for backup and restore of mysql database
    1
    ##### For backup of all databases,
    2
    ```bash
    3
    mysqldump -u <DB_USER> -p --all-databases --host <DB_HOST> -P <DB_PORT> > <PATH_FOR_FILE>.sql
    4
    ```
    5
    
                  
  5. Commands for backup and restore of p... Commands for backup and restore of postgresql database
    1
    ##### For backup,
    2
    ```bash
    3
    pg_dump -W -U <DB_USERNAME> <DB_NAME> -h <DB_HOST> -p <DB_PORT> --no-owner > <PATH_FOR_FILE>.sql
    4
    ```
    5
    
                  
  6. Safely cordon, drain and delete nodes Safely cordon, drain and delete nodes
    1
    To cordon a node,
    2
    ```bash
    3
    kc cordon <node-name>
    4
    ```
    5