raynix 筆記

raynix 筆記

  • Home
  • WordPress Hosting
  • Side Quests
Illustration of a bird flying.
  • Kubernetes Tips: ConfigMap

    This is how to update a config map with 1 line: kubectl create configmap foo –from-file foo.properties -o yaml –dry-run | kubectl replace -f – I found it here: https://stackoverflow.com/questions/38216278/update-k8s-configmap-or-secret-without-deleting-the-existing-one And this is how to mount a config map created from a file as file(not super intuitive but a config map can only be mounted as…

    August 9, 2017
    Opensource
    kubernetes
  • Gotcha AWS NAT instance

    It’s quite straight forward when creating an NAT instance for a private subnet in AWS, eg. search for amzn-ami-vpc-nat-hvm for the AMI then launch it into a public subnet. However I need to disable source/destination check before the NAT instance becomes available in the drop down list of destinations of a route table: 🙂

    August 8, 2017
    Networking
    AWS, NAT
  • I'm an Fremantle Dockers fan, officially

    So just over the night I became a Fremantle Dockers fan 🙂 Looks like they won’t make to the final any time soon, which is not a problem. I do like the color and the VI designs.

    August 5, 2017
    Emerald Dreams
    AFL
  • Mining With Solar Power

    Here’s a Python script I wrote to check today’s sun rise/set times given a coordinate: https://github.com/raynix/solar-hours/blob/master/solar_hours.py It uses api.sunrise-sunset.org free API to get local sun rise/set time of today. It also takes time zone into consideration as the API only returns times in UTC time zone. It also cache the API result for a day so I’m…

    July 22, 2017
    Energy Efficiency, Opensource
  • Play a bit Kubernetes with Minikube

    I’ve just played a bit Kubernetes on my Arch Linux laptop, with Minikube. It’s easier than I thought. Since I’ve already installed VirtualBox from the start, I can use minikube right after I installed it with curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ The command I used to start…

    July 8, 2017
    Opensource, Systems Admin
    docker, kubernetes, minikube
  • Mining ZCash on Ubuntu Linux

    I didn’t quite believe that mining crypto currencies is viable as an individual, until I saw the news that AMD graphics cards were sold out because they’re good at mining Ethereum. To be convinced I tried to order AMD RX 570 from some online vendors, and they all cancelled my orders and refunded me shortly.…

    June 23, 2017
    Money, Opensource
    nvidia, Ubuntu, ZCash
  • Linux and Wake on LAN

    The Internet servers are usually on 24×7, probably that’s why I never had the need to use the Wake on LAN feature on a computer. I’ve just built a home server running Ubuntu Linux, using consumer grade PC parts. To avoid a big surge on my next electricity bill, I plan to only turn on…

    June 18, 2017
    Opensource, Systems Admin
    linux, wake on lan
  • Install Fluentd with Ansible

    Fluentd has become the popular open source log aggregration framework for a while. I’ll try to give it a spin with Ansible. There are quite some existing Ansible playbooks to install Fluentd out there, but I would like to do it from scratch just to understand how it works. From the installation guide page, I…

    May 18, 2017
    Opensource, Systems Admin
    ansible, fluentd
←Previous Page
1 … 24 25 26 27 28 … 110
Next Page→
  • Eric Lin’s Blog
  • Eddie Wang’s Blog at WP
  • GoalKeeper’s Blog

raynix 筆記

Just another WordPress blog

  • Facebook
  • Twitter
  • Instagram

Proudly powered by WordPress