Logo DucLe's Blog
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • HomeLab
    • Overview
    • Kubernetes with Kubespray
  • Awesome things
    • Diagram as code
Hero Image
Diagram as code

About Diagrams Diagrams lets you draw the cloud system architecture in Python code. Official website: https://diagrams.mingrammer.com Github repo: mingrammer/diagrams Installation Python >= 3.6 # https://docs.python-guide.org/starting/install3/linux/ $ sudo apt-get install python3.8 Graphviz # https://graphviz.gitlab.io/download/ $ sudo apt install graphviz Diagrams # https://diagrams.mingrammer.com/docs/getting-started/installation $ pip install diagrams Overview There are 4 type of objects in Diagrams file: Diagram is a primary object representing a diagram. Node is a second object representing a node or system component.

August 22, 2023 Read
Hero Image
Kubernetes with Kubespray

Requirements Ansible node: a Linux machine to run ansible (able to run in WSL or Docker but it’s not recommended) K8s nodes: Master nodes: 4GB RAM is recommended (2GB RAM will cause very low performance) Worker nodes: can start with 1CPU and 2GB RAM You can setup a K8S cluster with only 1 node: master + worker (+ ansible) Installation steps Setup environments SSH connection: Ansible connects nodes over SSH, so the easy way is create the same user with public ssh key on all K8s nodes.

August 17, 2023 Read
Hero Image
Overview of my HomeLab

I setup this Homelab to learn and experiment new technologies, then improve my skills. This Homelab includes followings: On-premise infrasture Hypervisor Proxmox XCP-NG Cloud infrasture AWS Azure IaC, CM tools Terraform Ansible CI/CD Jenkins GitHub Actions ArgoCD Kubernetes Kubespray Rancher EFK Prometheus + Grafana Bitnami Sealed Secrets HashiCorp Vault Hardware 1x Dell 7050 SFF CPU: Intel i7-6700 RAM: 32GB Storage: 256GB SSD Network I don’t have any static IP so I setup DDNS with Cloudflare and install a WireGuard VPN server with port forwarding.

August 11, 2023 Read
Navigation
  • About
  • Skills
  • Experiences
Contact me:
  • [email protected]
  • huuduc8404
  • Duc Le
  • +84362935161

Toha Theme Logo Toha
© 2023 Copyright.
Powered by Hugo Logo