You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
初めに docker composeが使えるようになったので、それについて書いていきます。 正式名称はDocker Compose CLIです。 動作検証した環境は次のとおりです。 $ docker version Client: Cloud integration: 1.0.14 Version: 20.10.6 API version: 1.41 Go version: go1.16.3 Git commit: 370c289 Built: Fri Apr 9 22:46:57 2021 OS/Arch: darwin/arm64 Context: default Experimental: true ... Docker Compose CLIとは 簡単にいうとdocker-composeのGo実装です。docker-composeと互換しています。 docker-composeに置
TL;DR docker-compose では bind mount の構文が "short", "long" の2通りあるが, それぞれ挙動が異なる docker-compose.yml の volumes に略記法 (short syntax) を用いると, コンテナ内で non-root user を用いる際にエラーの発見が遅れる可能性があるので避けよう 概要 Docker アプリケーション (コンテナ) は, 実行時にホストのファイルやディレクトリをコンテナ内にマウントし, ホストとのファイル共有を行うことができます (bind mount). docker-compose では, Compose ファイル (デフォルトでは docker-compose.yml) にマウント情報を記述することができますが, 構文によっては意図せぬ挙動や, パーミッションエラーを引き起こす原因となり
前提 こちらの記事はDockerに対して不慣れな人間が書いているので、そらそうやろ!という内容が含まれます。 それでも個人用メモとして放流します。 技術要素 Rails 5.2.2.1 Ruby 2.5.1 mongodb 4.0.6 Dockerを扱うディレクトリ構成 アプリディレクトリ/ Gemfile Gemfile.lock Dockerfile docker-compose.yml 遭遇したエラー docker-compose run web bundle install --path vendor/bundler を実行した後なのに docker-compose up でサーバーを起動しようとすると Run bundle install to install missing gems. というエラーが出てしまう... Could not find bson-4.4.2 in a
warning Integrity check: System parameters don't match error Integrity check failed error Found 1 errors. ======================================== Your Yarn packages are out of date! Please run `yarn install --check-files` to update. ======================================== To disable this check, please change `check_yarn_integrity` to `false` in your webpacker config file (config/webpacker.yml).
With Horizontal Pod Autoscaling, Kubernetes automatically scales the number of pods in a replication controller, deployment, or replica set based on observed CPU utilization (or, with alpha support, on some other, application-provided metrics). The HorizontalPodAutscaler autoscaling/v2 stable API moved to GA in 1.23. The previous stable version, which only includes support for CPU autoscaling, can
Getting Started Install kops Before we can bring up the cluster we need to install the CLI tool kops. Install kubectl In order to control Kubernetes clusters we need to install the CLI tool kubectl. Other Platforms Kubernetes Latest Release Installation Guide Setup your environment AWS In order to correctly prepare your AWS account for kops, we require you to install the AWS CLI tools, and have AP
The kOps tool itself takes the (minimal) spec of a cluster that the user specifies, and computes a complete configuration, setting defaults where values are not specified, and deriving appropriate dependencies. The "complete" specification includes the set of all flags that will be passed to all components. All decisions about how to install the cluster are made at this stage, and thus every decis
Route53 Mapping Service This addon is deprecated. Please use external-dns instead. This is a Kubernetes controller that polls services (in all namespaces) that are configured with the label dns=route53 and adds the appropriate alias to the domain specified by the annotation domainName=sub.mydomain.io. Multiple domains and top level domains are also supported: domainName=.mydomain.io,sub1.mydomain.
[centos@minikube ~]$ sudo yum list docker-ce --showduplicates | sort -r * updates: ftp.iij.ad.jp Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror * extras: ftp.iij.ad.jp docker-ce.x86_64 18.06.1.ce-3.el7 docker-ce-stable docker-ce.x86_64 18.06.0.ce-3.el7 docker-ce-stable docker-ce.x86_64 18.03.1.ce-1.el7.centos docker-ce-stable docker-ce.x86_64 18.03.0.ce-1.el7.centos docke
引き続き「Kubernetes完全ガイド」読んでお勉強。 Pod と ReplicaSet と Deployment Pod はリソースの最小単位であり、ReplicaSet は Pod を管理するリソース。 ReplicaSet は Pod が停止すると自動的に再起動したりする。 Deployment は、 Pod に含まれるコンテナをバージョンアップする際に、古いコンテナを徐々に減らし、新しいコンテナを徐々に増やすなどの管理をする。 Pod Podはリソースの最小単位。 Podは1つ以上のコンテナから構成される(2つや3つの場合もある)。 同じPodに含まれる複数のコンテナはIPアドレスを共有している。 従って、同じPodに含まれるコンテナ同士で同じポート番号を使用することはできない。 Podの作成 こんな感じで設定ファイルを用意する。
引き続き「Kubernetes完全ガイド」読んでお勉強。 Pod と ReplicaSet と Deployment Pod はリソースの最小単位であり、ReplicaSet は Pod を管理するリソース。 ReplicaSet は Pod が停止すると自動的に再起動したりする。 Deployment は、 Pod に含まれるコンテナをバージョンアップする際に、古いコンテナを徐々に減らし、新しいコンテナを徐々に増やすなどの管理をする。 ReplicaSet ReplicaSetは指定した数のPodを起動し、その数を維持し続けるリソース。 Podがなんらかの理由で停止したら、ReplicaSetが再起動してくれる。 ReplicaSetの作成 sample-replicaset.yml というファイルを作って、ReplicaSetを定義する。 apiVersion: apps/v1 kin
概要 前回の「初めてのkubernetes(Minikube) Windows環境でチュートリアル+α」に続き、アプリケーションサーバ用PodとDBサーバ用Podの連携をやってみたので理解したことをメモとして残したいと思います ※minikubeコマンドを実行する際は管理者権限で実行してください 実行環境 Windows 10 pro Minikube v0.28.0 Docker Version 18.06.1-ce-win73 (19507) さっそく手順 1. サンプルアプリケーションの取得 今回はNode.jsのアプリケーションからRedisのデータを取得して表示する**簡単なサンプルアプリケーション**を使っていきますので、ソースをローカルにクローンしてください ローカルで事前に動作確認できるようにdocker-composeも用意していますので、適宜に活用してください cons
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く