Skip to content

Instantly share code, notes, and snippets.

View sysnet4admin's full-sized avatar
🕸️
kubernetes

Hoon Jo sysnet4admin

🕸️
kubernetes
View GitHub Profile
@sysnet4admin
sysnet4admin / vagrant-dir-chg
Last active January 31, 2024 22:25
vagrant binary dir change (windows) - 2024.02.01
v2.4.1
C:\Users\vagrant>where vagrant
C:\Program Files\Vagrant\bin\vagrant.exe
v2.4.0
C:\Users\vagrant>where vagrant
C:\Program Files\Vagrant\bin\vagrant.exe
v2.3.7
C:\Users\vagrant>where vagrant
jenkins:
clouds:
- kubernetes:
name: "kubernetes"
templates:
- name: "default"
containers:
- name: "jnlp"
image: "jenkins/inbound-agent:4.3-4"
command: ""
@sysnet4admin
sysnet4admin / l2.yaml
Last active November 1, 2019 04:56
metallb_config
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
data:
config: |
address-pools:
- name: default
protocol: layer2
apiVersion: apps/v1
kind: Deployment
metadata:
name: echo-nginx
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
@sysnet4admin
sysnet4admin / 1010calico.yaml
Last active October 20, 2019 00:39
costume_calico
---
# Source: calico/templates/calico-config.yaml
# This ConfigMap is used to configure a self-hosted Calico installation.
kind: ConfigMap
apiVersion: v1
metadata:
name: calico-config
namespace: kube-system
data:
# Typha is disabled.
@sysnet4admin
sysnet4admin / from default_conf
Created June 30, 2018 00:59
Nginx.conf_w_8080_port
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
# Load dynamic modules. See /usr/share/nginx/README.dynamic.
@sysnet4admin
sysnet4admin / Ubuntu 14.04.5 LTS
Last active June 24, 2018 12:15
default nginx.conf
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls