サイバーエージェントは今年で創業16年目を迎え、現在では連結役職員数2,700名を 超える規模に成長をしました。
めまぐるしく変わるインターネット市場において進化を続け、2013年度にはスマートフォン企業へと変貌をとげました。
グループ内では年間100以上のサービスを新たに立ち上げ、国内最大級の開発ラインを保有しています。
本セッションでは、こうした事業変換を経ても成果を出す組織風土のつくり方について、お話しします。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m[40m [0m | |
[40m [0m[40m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[41m [0m[40m [0m[40m [0m | |
[40m [0m[40m [0m[41m [0m[41m [0m[107m [0m[107m [0m[107m [0m[107m [0m[101m [0m[101m [0m[101m [0m[101m [0m[107m [0m[107m [0m[107m [0m[107m [0m[41m [0m[41m [0m[40m [0m[40m [0m | |
[40m [0m[40m [0m[107m [0m[107m [0m[40m [0m[40m [0m[40m [0m[40m [0m[101m [0m[101m [0m[101m [0m[101m [0m[40m [0m[40m [0m[40m [0m[40m [0m[107m [0m[107m [0m[40m [0m[40m [0m | |
[40m [0m[40m [0m[107m [0m[107m [0m[40m [0m[40m [0m[107m [0m[107m [0m[101m [0m[101m [0m[101m [0m[101m [0m[107m [0m[107m [0m[40m [0m[40m [0m[107m [0m[107m [0m[40m [0m[40m [0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ conftest test sample.yaml | |
FAIL - sample.yaml - sample in the Deployment makocchi/docker-nginx-hostname has an image, sample-deployment, using the latest tag | |
1 test, 0 passed, 0 warnings, 1 failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import data.lib.kubernetes | |
violation[msg] { | |
kubernetes.containers[container] | |
[image_name, "latest"] = kubernetes.split_image(container.image) | |
msg = kubernetes.format(sprintf("%s in the %s %s has an image, %s, using the latest tag", [container.name, kubernetes.kind, image_name, kubernetes.name])) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Check | |
on: [pull_request] | |
jobs: | |
validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: validate manifests in dir1 and dir2 |
$ kubeval invalid-deployment2.yaml
PASS - invalid-deployment2.yaml contains a valid Deployment
# --strict を付けることで WARN になる
$ kubeval --strict invalid-deployment2.yaml
WARN - invalid-deployment2.yaml contains an invalid Deployment - location: Additional property location is not allowed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: invalid-deployment | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: example | |
template: |
$ kubeval valid-deployment.yaml
PASS - valid-deployment.yaml contains a valid Deployment
$ echo $?
0
$ kubeval invalid-deployment.yaml
WARN - invalid-deployment.yaml contains an invalid Deployment - spec.replicas: Invalid type. Expected: [integer,null], given: string
WARN - invalid-deployment.yaml contains an invalid Deployment - port: Additional property port is not allowed
$ echo $?
1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: invalid-deployment | |
spec: | |
replicas: "1" | |
selector: | |
matchLabels: | |
app: example | |
template: |
NewerOlder