JDK10 以降におけるコンテナ対応の改善
Container detectionand Resource
config usage
CPU and Memory allocation for
container become correct value.
Change RAM usage in Container
-XX:InitialRAMPercentage
-XX:MaxRAMPercentage
-XX:MinRAMPercentage
Kubernetes
Docker
Helm
Chaos Monkey fork8s
Open Service Broker & Service Catalog
Heptio Ark
Clair (Static analysis of vulnerabilities)
Istio
Cilium
Prometheus
Grafana
Jaeger
Stern
… 2,000 を超える周辺開発
33.
Azure Kubernetes Service(AKS)
Fully managed Kubernetes orchestration service
Auto patching, auto scaling, auto updates
Use the full Kubernetes ecosystem
34.
It is notfor Production !!
https://github.com/yoshioterada/k8s-Azure-Container-Service-AKS--on-Azure/blob/master/Kubernetes-Workshop3.md
Deployment の設定 YAML
Azure Stack: anextension of Azure
At the edge and
disconnected
Cloud application
model on-premises
Meet every regulatory
requirement
本番環境では色々と考え
なければなりません
リソース、ディスク、ネットワーク
無停止更新、可用性、セキュリティ
パフォーマンス、VM
リソース使用量の制限
$ kubectl toppod
NAME CPU(cores) MEMORY(bytes)
account-service-74b64648b7-2bqgs 3m 842Mi
account-service-74b64648b7-48kf8 3m 826Mi
For CPU entry:
The above 0.5(500m) is guaranteed to use the half CPU in
1 CPU. The expression 0.1 is equivalent to the expression
100m, which can be read as “one hundred millicpu”. CPU is
always requested as an absolute quantity, never as a
relative quantity.
For Memory entry:
You can express memory as a plain integer or as a fixed-
point integer using one of these suffixes: E, P, T, G, M, K.
You can also use the power-of-two equivalents: Ei, Pi, Ti,
Gi, Mi, Ki. For example, the following represent roughly
the same value:
1. アップグレードでクラスタ破壊 (Ex:1.8→ 1.9)
2. Linux VM のスケール失敗
3. 大量の POD 作成により API サーバにアクセス不能
4. アップグレードで旧コンテナが起動不能
5. 永続ボリュームの Attach/Detach 失敗
6. 3rd Party ツールのバージョン依存による導入不可
実際に発生した問題
58.
1. kubectl describepod
2. kubectl logs POD_NAME
3. kubectl exec -it POD_NAME /bin/sh
4. kubectl get events –w
5. Deploy Ubuntu pod in same NameSpace
問題が発生した時に何をする?
Azul zule onDocker for Azure
$ docker pull
mcr.microsoft.com/java/jre:8u181-zulu-alpine
https://www.azul.com/downloads/azure-only/zulu/
These downloadable binaries are free to download but can only be used with Java applications or Java application
components that are being developed for deployment on Microsoft Azure Cloud or Azure Stack and are not
intended to be used for any other purpose.