KubeConのケーススタディから振り返る、Platform for Platforms のあり方と その実践 / Lessons from KubeCon case studies: Platform for Platforms and its practice
シェルスクリプトで set -e しておくとコマンドの返り値が非ゼロ (エラー) のときにスクリプトを止めることができる。 この機能を使うと、コマンドの実行結果がエラーになった状態で処理が突き進んでしまうことを防止できる。 ただ、この機能は便利な反面、スクリプトが意図せず止まってしまうこともある。 今回は、それを回避する方法について。 使った環境は次の通り。 $ sw_vers ProductName: Mac OS X ProductVersion: 10.14.6 BuildVersion: 18G103 $ bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18) Copyright (C) 2007 Free Software Foundation, Inc. もくじ もくじ set -e
Chrome is experimenting with @container, a property within the CSS Working Group Containment Level 3 spec being championed by Miriam Suzanne of Oddbird, and a group of engineers across the web platform. @container brings us the ability to style elements based on the size of their parent container. The @container API is not stable, and is subject to syntax changes. If you try it out on your own, yo
こんにちは、ソリューションアーキテクトの有馬です。 今回はVeleroを使用して、Container Service for Kubernetes (ACK) のバックアップを試してみたいと思います。 はじめに Veleroについて インストールと各種設定 OSSバケットの準備 Velero CLIのインストール RAMユーザの作成 Credential 設定 変数設定 NamespaceとSecret 作成 VeleroとPluginインストール バックアップとリストア 環境準備 バックアップ リストア スケジュール まとめ はじめに Kubernetesを利用した環境では、マニフェストへ必要なリソースを定義し、Git等で管理を行う事で容易にアプリケーションのデプロイを行えるようしている場合が多いかと思います。 マニフェストの利用と合わせて、Kubernetesクラスタ上へデプロイされた
[スポンサーリンク] ストーリー 女学生のルーシーは韓国マフィアの麻薬取引に巻き込まれてしまう 新麻薬であるCPH4を梱包した袋を腹部に入れられてします 同様に運び屋とされた人々と共に出身国に向かいそこで組織の人間に会う様に指示をされる しかしルーシーとルーシーを運ぼうとした組織のメンバは他の組織に捕まる ルーシーが捕まってしまった組織の人間に抵抗した際に袋が破れCPH4が放出されてしまう そして彼女の体には驚くべき変化が起きる 通常10%しか使用されないと言われる脳が100%活動出来る様になっていたのだ [スポンサーリンク] 感想 もし人間の脳が100%活動することが出来ればというテーマで描かれた作品です 超越した存在となった人間は世界がどう見え何を感じるのか等いろいろ想像させられる映画でした そいうえばアカシックレコードを持った人間には 過去の情報から未来が全て見える様になるといったよ
本記事のゴールDocker環境で作ったNuxt.jsのプロジェクトを簡単にデプロイしたい! Cloud Runとは?サーバーレスアーキテクチャで、コンテナを使って簡単に本番環境へデプロイできる、Google Cloud Platformのサービスです。Cloud Run | Google Cloud Googleアカウントを使用するので、簡単に始められるのも利点です! Docker Imageを用意以前作成したNuxt.jsのimageを使っていきたいと思います。 プロジェクトの作成GCPを触るのが初めてだったので新しくプロジェクトを作成します。 sumiプロジェクトの中でContainer RegistryとCloud Runを使っていきます。 Google Cloud SDKを使う gcloudコマンドを使えるように下記コマンドを実行します。 curl https://sdk.cl
Introducing GKE image streaming for fast application startup and autoscaling We’re excited to announce the general availability of a new feature in Google Kubernetes Engine (GKE): image streaming. This revolutionary GKE feature has the potential to drastically improve your application scale-up time, allowing you to respond to increased user demand more rapidly, and save money by provisioning less
Dev Containerを使ってみよう Dev Containerを使う上で知っておくと良さげな情報のまとめ記事です 前にRemote SSHでDev Containerの環境を構築する記事を書いたので、今回はDev Container全般の情報をまとめてみました tl;dr Dev Containerを使うと開発環境をコンテナで構築できるよ(ランタイムとかツール類含めて!) docker composeだとアプリケーションを動作させる環境は作れるけどDev Containerは開発環境ごと構築できて便利 Dev Containerを使うにはdockerとDev Containerを利用できるエディタが必要 Dev Container内でdocker composeを利用できるから、Dev Container用のコンテナ+ミドルウェアコンテナを用意すればアプリケーションを開発できる環境が
はじめに こんにちは。株式会社スタメンでフロントエンドエンジニアをしております@0906kokiです。 React Hooksが2019年にリリースされてから、Reduxの実装でコンポーネントがstoreと接続する方法に選択肢が増えました。 具体的に言うと、今までconnect関数でstoreにあるstateやactionをpresentational componentに対してpropsとして渡していましたが、hooks時代ではuseSelectorとuseDispatchによってconnect関数を書かなくても、storeとの接続が可能になりました。 実装の広がりが出たと同時に、connect関数とuseSelector + useDispatchのどちらを使えばいいのか、いざ実装しようと思った際に悩むかもしれません。 現在、弊社では後者のuseSelectorとuseDispatch
We will continue to update this blog with any key updates, including updates on the disclosure of any new related vulnerabilities. This blog includes links to detailed blogs on each of the disclosed vulnerabilities, as well as two open source tools to aid in exploit detection. Snyk security researcher Rory McNamara, with the Snyk Security Labs team, identified four vulnerabilities — dubbed "Leaky
declare const UINT32: unique symbol; /** * Unsigned 32-bit integer. This effectively extends the number type. */ export type Uint32 = number & { [UINT32]: never }; export function Uint32 (value: unknown): Uint32 { if (new.target != null) { throw new TypeError("Not a constructor"); } if (typeof value == 'bigint') { value = BigInt.asUintN(32, value); } const numberValue = Number(value); if (isNaN(nu
Today Red Hat is introducing the open sourcing of Project Quay, the upstream project representing the code that powers Red Hat Quay and Quay.io. Newly open sourced, as per Red Hat’s open source commitment, Project Quay represents the culmination of years of work around the Quay container registry since 2013 by CoreOS, and now Red Hat. Quay was the first private hosted registry on the market, havin
Amazon Elastic Container Service (ECS) は、EC2 起動タイプを使用してコンテナの環境変数を格納するための環境ファイルをサポートするようになりました。これにより、すべてのコンテナのキーと値のペアとして環境変数を手動で編集する代わりに、一元的に配置されたファイルを編集または参照することで、環境変数の設定が簡素化されます。 さまざまなタイプのコンテナで構成される大規模なアプリケーションでは、ワークロードが期待どおりに実行されるようにするには、広範な設定が必要です。これは、ビルドとテストのフェーズの後、および環境間でワークロードを移動するときに特に重要です。例としては、テストから本番への移行が挙げられます。 環境ファイルは、Amazon S3 でホストされている 1 個から数個までのファイルに環境変数を格納します。エラーが発生しやすく、大規模なアプリケーショ
Amazon Web Services ブログ Amazon Elastic Container Service 入門ハンズオンを公開しました!– AWS Hands-on for Beginners Update こんにちは!ソリューションアーキテクトの杉山(@sugimount)です。6月になって暖かな日が増えておりますが、皆さまいかがお過ごしでしょうか。家で猫を飼っているのですが、私に猫アレルギーがあることがわかりました。どうりで、鼻がムズムズするわけです。 さて、この度 AWS Hands-on for Beginners シリーズの新作コンテンツとして、Amazon Elastic Container Service (Amazon ECS) を使った入門ハンズオンを公開しました。今回公開したハンズオンを紹介いたします。 AWS Hands-on for Beginners とは
Android Emulator Container Scriptsを使ってDocker上でAndroidエミュレータを動かすAndroidDocker この記事は Android Advent Calendar 2020 17日目の記事です。 昨年に紹介されていた Android Emulator Container Scripts ですが、今年新たにビルド済みのエミュレータコンテナが実験的に提供されているとのことで、本記事ではこのスクリプトを利用してDockerコンテナでAndroidエミュレータを立ち上げ、adb接続やテストの実行、Webブラウザから起動したエミュレータを操作する手順を紹介します。 Continuous Testing with Android Emulator Containers Android Developers Blog / Continuous testi
TLDR: Container orchestration platforms are complex and amazing technologies, helping some businesses and teams solve a whole suite of problems. What’s commonly overlooked however, is that container technologies also create a large set of challenges that must be overcome to prevent failures. This post is adapted from an internal blog post as I haven’t seen many write-ups like this externally avail
Using S3 as a container registry a.k.a. Waiter, there's a whale in my bucket! 03 Jul, 2024 For the last four months I’ve been developing a custom container image builder, collaborating with Outerbounds1. The technical details of the builder itself might be the topic of a future article, but there’s something surprising I wanted to share already: you can use S3 as a container registry! You heard it
AWS News Blog Announcing Pull Through Cache Repositories for Amazon Elastic Container Registry Organizations, development teams, and individual developers who have chosen to use containers to host their applications may prefer, or perhaps are required, to source all images from Amazon Elastic Container Registry (Amazon ECR) to take advantage of its high availability and security. To satisfy those
SHAP は協力ゲーム理論にもとづいて機械学習モデルを解釈する手法と、その実装を指している。 今回は、あまり理論の部分には踏み込むことなく、使い方を中心として書いていく。 使った環境は次のとおり。 $ sw_vers ProductName: Mac OS X ProductVersion: 10.15.6 BuildVersion: 19G73 $ python -V Python 3.8.5 下準備 はじめに、利用するパッケージをインストールしておく。 $ pip install shap lightgbm scikit-learn matplotlib jupyterlab また、SHAP は Jupyter 経由で使った方がインタラクティブな表示ができる。 そのため、今回は Jupyter Lab 上で操作することを想定する。 $ jupyter-lab Jupyter Lab を
Amazon ECS Exec を使用すれば、最初にホストコンテナのオペレーティングシステムとやり取りしたり、インバウンドポートを開いたり、SSH キーを管理したりすることなく、コンテナと直接やり取りできます。ECS Exec を使用して、Amazon EC2 インスタンスまたは AWS Fargate で実行されているコンテナでコマンドを実行したり、シェルを取得したりできます。これにより、診断情報を収集し、エラーを迅速にトラブルシューティングすることが容易になります。例えば、開発コンテキストでは、ECS を使用して、コンテナ内のさまざまなプロセスと簡単にやり取りし、アプリケーションのトラブルシューティングを行うことができます。また本番稼働シナリオでは、これを使用することで、コンテナへのブレークグラスアクセスを行って問題をデバッグできます。 Amazon ECS API、AWS Comma
Amazon Web Services ブログ Amazon ECS と Amazon EKS での AWS Distro for Open Telemetry と CloudWatch Container Insights の Prometheus サポートのご紹介 この記事は Introducing CloudWatch Container Insights Prometheus Support with AWS Distro for OpenTelemetry on Amazon ECS and Amazon EKS (記事公開日: 2021 年 8 月 24 日) を翻訳したものです。 CloudWatch Container Insights を使用して、コンテナ化されたアプリケーションやマイクロサービスを監視、トラブルシューティング、アラームすることができます。Amazon C
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
How Container Networking Works: a Docker Bridge Network From Scratch Working with containers can feel like magic at times. In a good way for those who understand the internals and in a terrifying - for those who don't. Luckily, we've been looking under the hood of the containerization technology for quite some time already and even managed to uncover that containers are just isolated and restricte
version: '3' services: db: image: postgres:alpine environment: POSTGRES_PASSWORD: fingine POSTGRES_USER: fingine POSTGRES_DB: fingine backend: build: context: ./docker dockerfile: backend.dockerfile command: bash -c ./run.sh stop_signal: SIGINT env_file: ./docker/dev.env volumes: - .:/code ports: - "8000:8000" depends_on: - db これ、docker-compose upした後にdocker-compose stopすると、fingine_backend_1 exited
re:Invent 2019 にて開催された技術セッションのレポートをお送りします。 CON328 Improving observability of your containers 本セッションでは標題の通り、AWS のコンテナ環境において可観測性(Observability)をどう確保するか、という内容が語られました。サードパーティ製の製品・ SaaS を念頭に置きつつ、AWS が提供する Container Insights、FireLens、AppMesh をどう使えば良いかという内容でした。一瞬だけ ServiceLens も登場します。 このうち特に、FireLens や Container Insights(と ServiceLens)は登場してそれほど時間も経っていないため、これから使おうとされている方も多いのではないでしょうか。そういった方へもぴったりのセッションだと思
As of this year, container queries are supported in all major browsers. But what are they, and how can we use them to build more robust, flexible layouts? Do we still need media queries? Let's find out. To understand how container queries are helpful, let's look at an example news feed layout and see where we could apply them. The news feed is a collection of articles, each with an image, a headli
[スポンサーリンク] ストーリー 戴国は政治が安定せず、生活は貧しく、冬の極寒を超えられない者が多数いるような状況である 10年間麒麟がおらず長年の王の不在期間を経て、半年前やっと泰王に驍宗が就き、国が安定する希望を持てたのであった しかしその驍宗が登極すぐの謀反の鎮圧の中で斃れ、次の王に阿選が就くという事態が起こる 阿選は驍宗の側近の粛清を行い、その後の戴国は豊かになることはなかった そして国では謀反の首謀者は実は阿選であり、阿選こそが驍宗を討ったのだいう噂が流れる そんな戴国で驍宗を探す2人が偶然に出会うこととなる 1人は驍宗の基で禁軍中軍にいた項梁、もう1人は劉将軍であった李斎であった そして李斎と一緒にいるのは景王、延王の協力を得て蓬莱で見つけることが出来た泰麒が居たのだった 彼らは荒れた戴国を旅しながら驍宗の行方を必死に探そうとする そんな折泰麒は李斎に隠れ、阿選のいる白圭宮に向
以前、Docker コンテナ内で Docker ホストと同じユーザを使う方法として、以下のような記事を書いた。 ちょっと強引だけど /etc/passwd と /etc/group をコンテナからマウントすることで不整合をなくしてしまう、というもの。 blog.amedama.jp ただ、上記のやり方だと不都合が出る場合もあったので、別のやり方についても試してみた。 どちらかというと、今回のやり方の方が後々の面倒がなくて良いかもしれない。 方法というのは、コンテナを起動するタイミングでコンテナ内にユーザを使って各種 ID などを引き継がせてしまう、というもの。 使った環境は次の通り。 $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTI
Amazon Elastic Container Service (ECS) now supports environment files to store environment variables for containers using the EC2 Launch type. This simplifies configuration of environment variables by editing or referencing centrally located files, instead of manual edits to environment variables as key value pairs across all your containers. Large scale applications consisting of different types
こんにちは!フリーランスエンジニアの雄貴です! Reactを用いたコンポーネント設計の方針は様々ありますが、 私が普段用いている手法を紹介しようと思います! Reactのコンポーネント従来のコンポーネントだと、以下のコードのように関数の中でstate(状態)やfunction(ロジック)を定義し、それを「return」直下のview部分に渡してレンダリングしています。 import React from 'react' /** * InputForm * @returns */ export const InputForm: React.FC = () => { // state (状態) const [value, setValue] = React.useState('') // function (ロジック) const handleChange = (event: React.Ch
GitHub Container Registoryにpushしたコンテナイメージをリポジトリに紐づけてPackages欄に出す方法がやっとわかった— k1LoW (@k1LoW) 2021年3月5日 GitHub Container Registoryは、GitHub Package Registryとは異なりPublicなDockerイメージのpullにGitHub認証の必要がないなど、利用者にとって便利です。 また、リポジトリとの紐付けが強制されていないので自由に様々なイメージを管理できます。 イメージはProfileページのPackagesタブにリストアップされます。 ただ、私の主な用途としてはリポジトリで公開しているライブラリのDockerイメージの提供なのでリポジトリと紐付けたい。 具体的にはリポジトリの Packages の欄に表示させたい。 どう紐づければいいのかわからなか
Ubuntu 20.04 LTS のサーバ版をインストールした場合には、デフォルトでは GUI 環境が用意されない。 しかし、後から必要になる場合もある。 今回は、そんなときどうするかについて。 なお、必要な操作は Ubuntu 18.04 LTS の場合と変わらなかった。 使った環境は次のとおり。 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal $ uname -r 5.4.0-59-generic もくじ もくじ 下準備 デスクトップ環境が必要なとき X Window System だけで良いとき 下準備 あらかじめ、リポジトリの情報を更新しておく。 $ sudo apt
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く