Skip to content

Instantly share code, notes, and snippets.

View ytooyama's full-sized avatar

Youhei Tooyama ytooyama

View GitHub Profile
@ytooyama
ytooyama / gist:46fc1399c455c5fbf254c4bf8f32cf79
Last active January 16, 2024 03:06
Install Miniconda on M1 Mac Ventura

Install Miniconda on M1 Mac Ventura + zsh

% curl -LO https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
% bash Miniconda3-latest-MacOSX-arm64.sh 

Welcome to Miniconda3 py311_23.11.0-2

In order to continue the installation process, please review the license
agreement.
@ytooyama
ytooyama / Knative-Quickstart-kind.md
Last active November 18, 2023 19:53
Ubuntu + kindでKnative Servingを触ってみる
@ytooyama
ytooyama / Knative-Quickstart-microk8s.md
Last active December 13, 2022 07:07
Ubuntu + microk8sでKnative Servingを触ってみる
@ytooyama
ytooyama / kubelet configure
Created May 25, 2020 05:53
CRI-OベースでCentOS 7やOracle Linuxでkubeadmでクラスターを作るときのkubeletの設定
## /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 / firewall-cmd-for-kubeadm
Created May 25, 2020 05:55
CentOS 7やOracle Linux 7で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 / openstack-2node.yaml
Last active March 9, 2020 09:27
Minimal 2Node OpenStack Example
#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 / openstack-2node-2ext.yaml
Last active March 9, 2020 09:27
Minimal 2Node 2External Network OpenStack Example
#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 / openstack-base-2019-12-24-r2.yaml
Last active March 9, 2020 05:03
OpenStack Base HA Sample
series: bionic
applications:
ntp:
charm: 'cs:ntp-36'
series: bionic
annotations:
gui-x: '1000'
gui-y: '0'
rabbitmq-server:
charm: 'cs:rabbitmq-server-97'
@ytooyama
ytooyama / neutron-network-sample.md
Created March 9, 2020 03:59
OpenStack Neutron Network セットアップガイド

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