2. • PaaS • PaaS • • Mesos K8s
12. FAT UAT PRO + JaCoCo + BadSQL + AutoTag
13. FROM scratch LABEL name="CentOS Base Image" \ vendor="CentOS" \ license="GPLv2" \ build-date="20171128" ADD centos-7-docker.tar.xz CMD ["/bin/bash"] : 12 : 5000+ … RUN copy jacoco.jar && bash jacocoagent.sh
15. • • tomcat catanila gc access.log … • stdout stderr • Web Console • mount + filebeat • • logrotate • xfs project quota Log Viewer
16. • Hickwall ( ) • Hickwall server -> kubelet API • kubelet API • cadvisor: /stats/xxx, • OOM • docker: cgroup notification
20. Harbor • HA Solution • One region One cluster
21. Harbor Cross-IDC Image Sync 1. Push image to harbor 2. Populate event to UI via Webhook 3. Retrieve slave info from Fedoro 4. Commit syncing job to Job services 5. Sync image to slaves Success Rate: 99.7% Total Image: 3500 / day SLA: < 20s
26. cont. I • • • • I • •
27. K8s • • • •C • • /D Stateless on StatefulSet
28. Mesos cluster K8s Mesos K8s group cluster
29. K8s-App "$%- $ Set Spec AzSet StatefulSet K8s Mesos ! Set )$ Spec $ AZ '&$+# * IDC ,(
30. #$ • %' IP • & # • ' • " !
31. • AZMesosK8S • stackstorm pipeline o < 10min o Mesos