そろそろKubernetes(以後k8s)触ってみないといかんな欲が高まってきました。 が、k8sを使ってなにを構築したものかと思ってたんですが、 Mastodonを使いたい案件(プライベートで)があったので、k8sを使ってMastodonを構築していこうと思います! 自分のメモ書きみたいな内容なので注意。 Kubernetesについて k8sが生まれた背景 仕組み Pod Deployment Service 実際k8sでpodを作ってみる まとめ Mastodonについて 内部構造 k8sでMastodonを構築する Mastodonの設定ファイル Mastodon作成のための手順 最後に 参考資料 Kubernetesについて まずk8sについて基礎的なところから学んでいきます。 k8sは一言でいうと「コンテナオーケストレーションツール」です。 しかしイメージしづらいので詳しく調べて