takac.dev
Columns
Privacy Pollicy
  • Show image tags for each revisions of Kubernetes deployments

    Oct 16, 2020 · 2 min read · kubectl kubernetes  ·
    Share on:

    One of the useful and powerful function is the roll back for me. Basically, all applications on our cluster are deployed automatically by CodePipeline in AWS but if some trouble happen, rolling back to the previous version is one of our options. At that time, all I have to do is the following command. 1$ kubectl …

    Read More
  • Run Memcached persistently on Kubernetes

    Oct 15, 2020 · 2 min read · docker kubernetes memcached  ·
    Share on:

    When running Memcached on the Kubernetes cluster, the cache data will disappear whenever the pod restarts. I know that Redis has the built-in replication and it can be able to have data on persistence disks. However, I have some reasons to run the Memecached on our Kubernetes cluster. So, I was thinking about it and I …

    Read More
  • Kubernetes manifest to prevent service unavailable

    Oct 14, 2020 · 2 min read · kubernetes  ·
    Share on:

    Once build the CI/CD which runs automatically from build to deployment, developers are afraid that some problematic container image will be deployed and it will cause service unavailable. Especially web sites should be checked by some scraping tool like Selenium but it’s hard to do that for most start-up companies …

    Read More
  • Eliminate unnecessary instances from EC2 Service Discovery in Prometheus

    Oct 13, 2020 · 1 min read · autoscaling aws ec2 prometheus service discovery  ·
    Share on:

    EC2 Service Discovery is very useful in the Prometheus configuration especially when the autoscale is used. However, some temporary or test servers which do not need to be monitored will be cause of unnecessary alerts. So, I added some settings to avoid it. For example, if I would like to eliminate instances which have …

    Read More
  • Fluentd: Variables in config are useful

    Oct 12, 2020 · 1 min read · fluentd haproxy  ·
    Share on:

    Fluentd is necessary software for operating Kubernetes clusters. Variables in the Fluentd’s configs are useful because they reduce redundant writing and also it will come in handy to switch environments between development and production. For example, I configure the fluentd which is running on our Kubernetes cluster …

    Read More
  • Fluentd: Pitfalls of custom log format

    Oct 11, 2020 · 1 min read · fluentd haproxy  ·
    Share on:

    One day, I realized that the fluentd on our Kubernetes cluster was logging a lot of "invalid date" errors like this. 1#0 dump an error event: error_class=ArgumentError error="invalid date" …

    Read More
  • Kubernetes: How many pods are available per node on AWS EKS?

    Oct 10, 2020 · 2 min read · AWS EC2 EKS ENI Kubernetes  ·
    Share on:

    When getting started to use AWS EKS for building Kubernetes clusters, we should consider the limitations of the number of IP addresses it depends on the instance size. Actually, I didn’t know about it because I just overlooked it on the official document. I know it was my mistake but it should be a blind spot for some …

    Read More
  • HAProxy running on Kubernetes and output a lot of BADREQ logs

    Oct 9, 2020 · 2 min read · haproxy BADREQ Kubernetes  ·
    Share on:

    When I was setting up HAProxy running on our Kubernetes cluster, I defined the log format as JSON and I got a lot of BADREQ logs with status code 400 as follows. 1{ 2 "conn": { 3 "act": 7, 4 "fe": 7, 5 "be": 0, 6 "srv": 0 7 }, 8 "queue": { 9 "backend": 0, 10 …

    Read More
  • 3 reasons why I recommend Kubernetes for pre-growth start-up

    Oct 8, 2020 · 3 min read · AWS docker EKS Kubernetes  ·
    Share on:

    I've been operating the Kubernetes cluster in my company since I joined. Let me share my opinion about why I recommend Kubernetes to pre-growth start-up companies. Before I explain, I'm not crazy about Kubernetes. I understand to choose some other ways, depending on the company, the business environment, the team …

    Read More
  • Test web page on local K8s via HTTPS w/o specifying port

    Oct 6, 2020 · 4 min read · docker docker-compose https Kubernetes nginx ssl  ·
    Share on:

    When I deploy some web application on the local Kubernetes cluster, I would like to test it like Without specifying a port number Via HTTPS Specify original FQDN not localhost For example, if I'm developing "www.example.com," I would like to test by the URL like https://www.example.work/. So, Let me share …

    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • »
    • »»

Takashi Fukuda

Infrastructure Engineer, Cloud Systems Administrator, Site Reliability Engineer
Read More

Recent Posts

  • Docker: How to solve the trouble of SSH tunnel connection?
  • Docker: How to install packages to busybox image?
  • Prometheus: How to solve blackbox exporter icmp (ping) failure
  • Fluentd: Warning on parser filter: nested repeat operator '+' and '*' was replaced with '*' in regular expression
  • PHP: Fatal error when build docker image with composer

Categories

TECH-TIPS 28 TROUBLE-SHOOTING 12 CERTIFICATION 2 COLUMN 1

Tags

DOCKER 14 KUBERNETES 12 AWS 7 DOCKERFILE 6 DOCKER-COMPOSE 4 FLUENTD 3 HAPROXY 3 APACHE 2 BLACK-FRIDAY-SALE 2 EC2 2 EKS 2 EXAM 2 LINUX-FOUNDATION 2 NGINX 2
All Tags
ALPINE1 APACHE2 APPSTORECONNECT1 AURORA1 AUTOSCALING1 AWS7 BADREQ1 BLACK-FRIDAY-SALE2 BLACKBOX-EXPORTER1 BUNDLE1 BUSYBOX1 CERTIFIED-KUBERNETES-ADMINISTRATOR1 CERTIFIED-KUBERNETES-APPLICATION-DEVELOPER1 CKA1 CKAD1 CLOUDFORMATION1 COREDNS1 CRONJOBS1 DEBIAN1 DOCKER14 DOCKER-COMPOSE4 DOCKERFILE6 DOCKERHUB1 DYNAMODB1 EC22 EKS2 ELASTICSEARCH1 ENI1 EXAM2 FIREFOX1 FLUENTD3 GOLANG1 HAPROXY3 HTTPS1 IAM1 KIBANA1 KUBECTL1 KUBERNETES12 LAMBDA1 LATEST1 LINUX-FOUNDATION2 MEMCACHED1 MYSQL1 NGINX2 PHP1 PROMETHEUS2 PYTHON2 RDS1 RUBY2 SAM1 SECURITY1 SELENIUM1 SERVICE-DISCOVERY1 SSH1 SSL1 TAG1
[A~Z][0~9]

takac.dev

Copyright 2020-  TAKAC.DEV. All Rights Reserved