Skip to content

Instantly share code, notes, and snippets.

Avatar

Youhei Tooyama ytooyama

View GitHub Profile
@ytooyama
ytooyama / firewall-cmd-for-kubeadm
Created May 25, 2020
CentOS 7やOracle Linux 7でkubeadmでクラスターを作るときのファイアウォールの設定
View firewall-cmd-for-kubeadm
# firewall-cmd --permanent --add-port=6443/tcp
# firewall-cmd --permanent --add-port=2379-2380/tcp
# firewall-cmd --permanent --add-port=10248-10252/tcp
# firewall-cmd --permanent --add-port=10255/tcp
# firewall-cmd --permanent --add-port=8472/udp
# firewall-cmd --add-masquerade --permanent
# firewall-cmd --permanent --add-port=30000-32767/tcp
# systemctl restart firewalld
@ytooyama
ytooyama / kubelet configure
Created May 25, 2020
CRI-OベースでCentOS 7やOracle Linuxでkubeadmでクラスターを作るときのkubeletの設定
View kubelet configure
## /etc/sysconfig/kubelet を以下の設定で次のバージョンのK8sが稼働するのを確認: 1.14.9, 1.17.3, 1.18.3
## CRI-Oの設定でcgroup_managerをsystemdにすること
#
KUBELET_EXTRA_ARGS="--fail-swap-on=false --cgroup-driver=systemd"
KUBELET_CRIO_ARGS="--container-runtime=remote --container-runtime-endpoint=unix:///var/run/crio/crio.sock --runtime-request-timeout=10m"
@ytooyama
ytooyama / openstack-2node-2ext.yaml
Last active Mar 9, 2020
Minimal 2Node 2External Network OpenStack Example
View openstack-2node-2ext.yaml
#2Node Minimai OpenStack
#OpenStack Base rev.59+
#Deploy successful: Using Juju 2.6.3 and MAAS 2.5.3
#Update Note: Change the settings,l2-population=no
machines:
'0':
constraints: "tags=bay11"
'1':
constraints: "tags=bay12"
@ytooyama
ytooyama / neutron-network-sample.md
Created Mar 9, 2020
OpenStack Neutron Network セットアップガイド
View neutron-network-sample.md

documentclass: ltjsarticle title: OpenStack Neutronネットワーク作成 date: 0.9.2 (2019/11/06) author: 日本仮想化技術株式会社 toc: yes output: pdf_document: latex_engine: lualatex keep_tex: true

@ytooyama
ytooyama / openstack-2node.yaml
Last active Mar 9, 2020
Minimal 2Node OpenStack Example
View openstack-2node.yaml
#2Node Minimai OpenStack
#OpenStack Base rev.59+
#Deploy successful: Using Juju 2.6.3 and MAAS 2.5.3
#Update Note: Change the settings,l2-population=no
machines:
'0':
constraints: "tags=bay11"
'1':
constraints: "tags=bay12"
View openstack-base-2019-12-24-r2.yaml
series: bionic
applications:
ntp:
charm: 'cs:ntp-36'
series: bionic
annotations:
gui-x: '1000'
gui-y: '0'
rabbitmq-server:
charm: 'cs:rabbitmq-server-97'
You can’t perform that action at this time.