Skip to content

Instantly share code, notes, and snippets.

@xueyujie
xueyujie / docker-registry-mirrors.md
Created June 11, 2024 02:03 — forked from y0ngb1n/docker-registry-mirrors.md
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized

Docker Hub 镜像加速器

国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。

Dockerized 实践 https://github.com/y0ngb1n/dockerized

配置加速地址

Ubuntu 16.04+、Debian 8+、CentOS 7+

@xueyujie
xueyujie / kubernetes_service_session_affinity.md
Created May 13, 2024 01:10 — forked from fjudith/kubernetes_service_session_affinity.md
Enable Session Affinity (a.k.a Sticky Session) to Kubernetes service
@xueyujie
xueyujie / memory-limit-request-jvm.md
Created February 19, 2024 09:45 — forked from petrbouda/memory-limit-request-jvm.md
Memory LIMIT and REQUEST in Containers and JVM

Memory LIMIT and REQUEST in Containers and JVM

  • Do you run a JVM inside a container on Kubernetes (or maybe OpenShift)?
  • Do you struggle with REQUEST and LIMIT parameters?
  • Do you know the impact of those parameters on your JVM?
  • Have you met OOM Killer?

Hope you will find answers to these questions in this example-based article.

How to set up JVM Heap size in a Container

@xueyujie
xueyujie / logstash-openvpn.conf
Created October 21, 2018 16:02 — forked from soulsearcher/logstash-openvpn.conf
logstash for openvpn log
input {
# dummy data from files
#file {
# path => "D:/dev/elastic5/sample-logs/vpn/messages-*"
# start_position => "beginning"
#}
beats {
port => 5044
}