Created
June 6, 2018 02:54
-
-
Save liluo/72508e904f1ee160ba46c59a370b9040 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| "clusters": [ | |
| { | |
| "account": "g_k8s_dev0", | |
| "application": "treasureship", | |
| "capacity": { | |
| "desired": 1, | |
| "max": 3, | |
| "min": 2 | |
| }, | |
| "cloudProvider": "kubernetes", | |
| "containers": [ | |
| { | |
| "args": [ | |
| "puma" | |
| ], | |
| "command": [], | |
| "envFrom": [], | |
| "envVars": [ | |
| { | |
| "name": "TREASURE_SHIP_DATABASE_HOST", | |
| "value": "dev-mysql.cjuoanslnbis.us-east-1.rds.amazonaws.com" | |
| }, | |
| { | |
| "name": "TREASURE_SHIP_DATABASE_PORT", | |
| "value": 6693 | |
| }, | |
| { | |
| "name": "TREASURE_SHIP_DATABASE_USERNAME", | |
| "value": "treasure-ship" | |
| }, | |
| { | |
| "name": "TREASURE_SHIP_DATABASE_PASSWORD", | |
| "value": "probe.riot.venus.parasite.odyssey" | |
| }, | |
| { | |
| "name": "REDIS_URL", | |
| "value": "redis://dev-redis-single-001.2s8ceb.0001.use1.cache.amazonaws.com:6379/1" | |
| }, | |
| { | |
| "name": "REDIS_CACHE_URL", | |
| "value": "redis://dev-redis-single-001.2s8ceb.0001.use1.cache.amazonaws.com:6379/2" | |
| }, | |
| { | |
| "name": "REDIS_SIDEKIQ_URL", | |
| "value": "redis://dev-redis-single-001.2s8ceb.0001.use1.cache.amazonaws.com:6379/0" | |
| } | |
| ], | |
| "imageDescription": { | |
| "account": "lls-global-nprod", | |
| "fromTrigger": true, | |
| "imageId": "g-nprod-reg.llsops.com/backend/treasure-ship:develop-.*", | |
| "registry": "g-nprod-reg.llsops.com", | |
| "repository": "backend/treasure-ship", | |
| "tag": "develop-.*" | |
| }, | |
| "imagePullPolicy": "IFNOTPRESENT", | |
| "limits": { | |
| "cpu": "1200m", | |
| "memory": "1200Mi" | |
| }, | |
| "livenessProbe": { | |
| "failureThreshold": 3, | |
| "handler": { | |
| "execAction": { | |
| "commands": [] | |
| }, | |
| "httpGetAction": { | |
| "path": "/status", | |
| "port": 8080, | |
| "uriScheme": "HTTP" | |
| }, | |
| "tcpSocketAction": { | |
| "port": 80 | |
| }, | |
| "type": "HTTP" | |
| }, | |
| "initialDelaySeconds": 0, | |
| "periodSeconds": 100, | |
| "successThreshold": 1, | |
| "timeoutSeconds": 100 | |
| }, | |
| "name": "backend-treasure-ship", | |
| "ports": [ | |
| { | |
| "containerPort": 8080, | |
| "name": "http", | |
| "protocol": "TCP" | |
| } | |
| ], | |
| "readinessProbe": { | |
| "failureThreshold": 3, | |
| "handler": { | |
| "execAction": { | |
| "commands": [] | |
| }, | |
| "httpGetAction": { | |
| "path": "/status", | |
| "port": 8080, | |
| "uriScheme": "HTTP" | |
| }, | |
| "tcpSocketAction": { | |
| "port": 80 | |
| }, | |
| "type": "HTTP" | |
| }, | |
| "initialDelaySeconds": 0, | |
| "periodSeconds": 100, | |
| "successThreshold": 1, | |
| "timeoutSeconds": 100 | |
| }, | |
| "requests": { | |
| "cpu": "1000m", | |
| "memory": "1000Mi" | |
| }, | |
| "volumeMounts": [] | |
| } | |
| ], | |
| "deployment": { | |
| "deploymentStrategy": { | |
| "rollingUpdate": { | |
| "maxSurge": 1, | |
| "maxUnavailable": 1 | |
| }, | |
| "type": "RollingUpdate" | |
| }, | |
| "enabled": true, | |
| "minReadySeconds": 0, | |
| "revisionHistoryLimit": 1 | |
| }, | |
| "dnsPolicy": "ClusterFirst", | |
| "initContainers": [], | |
| "interestingHealthProviderNames": [ | |
| "KubernetesContainer", | |
| "KubernetesPod" | |
| ], | |
| "loadBalancers": [ | |
| "treasureship-http-lb" | |
| ], | |
| "namespace": "backend", | |
| "nodeSelector": {}, | |
| "podAnnotations": {}, | |
| "provider": "kubernetes", | |
| "region": "backend", | |
| "replicaSetAnnotations": {}, | |
| "scalingPolicy": { | |
| "cpuUtilization": { | |
| "target": 40 | |
| } | |
| }, | |
| "stack": "http", | |
| "strategy": "", | |
| "targetSize": 2, | |
| "terminationGracePeriodSeconds": 30, | |
| "useSourceCapacity": false, | |
| "volumeSources": [] | |
| }, | |
| { | |
| "account": "g_k8s_dev0", | |
| "application": "treasureship", | |
| "capacity": { | |
| "desired": 1, | |
| "max": 3, | |
| "min": 2 | |
| }, | |
| "cloudProvider": "kubernetes", | |
| "containers": [ | |
| { | |
| "args": [ | |
| "sidekiq" | |
| ], | |
| "command": [], | |
| "envFrom": [], | |
| "envVars": [ | |
| { | |
| "name": "TREASURE_SHIP_DATABASE_HOST", | |
| "value": "dev-mysql.cjuoanslnbis.us-east-1.rds.amazonaws.com" | |
| }, | |
| { | |
| "name": "TREASURE_SHIP_DATABASE_PORT", | |
| "value": 6693 | |
| }, | |
| { | |
| "name": "TREASURE_SHIP_DATABASE_USERNAME", | |
| "value": "treasure-ship" | |
| }, | |
| { | |
| "name": "TREASURE_SHIP_DATABASE_PASSWORD", | |
| "value": "probe.riot.venus.parasite.odyssey" | |
| }, | |
| { | |
| "name": "REDIS_URL", | |
| "value": "redis://dev-redis-single-001.2s8ceb.0001.use1.cache.amazonaws.com:6379/1" | |
| }, | |
| { | |
| "name": "REDIS_CACHE_URL", | |
| "value": "redis://dev-redis-single-001.2s8ceb.0001.use1.cache.amazonaws.com:6379/2" | |
| }, | |
| { | |
| "name": "REDIS_SIDEKIQ_URL", | |
| "value": "redis://dev-redis-single-001.2s8ceb.0001.use1.cache.amazonaws.com:6379/0" | |
| } | |
| ], | |
| "imageDescription": { | |
| "account": "lls-global-nprod", | |
| "fromTrigger": true, | |
| "imageId": "g-nprod-reg.llsops.com/backend/treasure-ship:develop-.*", | |
| "registry": "g-nprod-reg.llsops.com", | |
| "repository": "backend/treasure-ship", | |
| "tag": "deploy-.*" | |
| }, | |
| "imagePullPolicy": "IFNOTPRESENT", | |
| "limits": { | |
| "cpu": "1200m", | |
| "memory": "1200Mi" | |
| }, | |
| "name": "backend-treasure-ship", | |
| "ports": [], | |
| "requests": { | |
| "cpu": "1000m", | |
| "memory": "1000Mi" | |
| }, | |
| "volumeMounts": [] | |
| } | |
| ], | |
| "deployment": { | |
| "deploymentStrategy": { | |
| "rollingUpdate": { | |
| "maxSurge": 1, | |
| "maxUnavailable": 1 | |
| }, | |
| "type": "RollingUpdate" | |
| }, | |
| "enabled": true, | |
| "minReadySeconds": 0, | |
| "revisionHistoryLimit": 1 | |
| }, | |
| "dnsPolicy": "ClusterFirst", | |
| "initContainers": [], | |
| "interestingHealthProviderNames": [ | |
| "KubernetesContainer", | |
| "KubernetesPod" | |
| ], | |
| "namespace": "backend", | |
| "nodeSelector": {}, | |
| "podAnnotations": {}, | |
| "provider": "kubernetes", | |
| "region": "backend", | |
| "replicaSetAnnotations": {}, | |
| "scalingPolicy": { | |
| "cpuUtilization": { | |
| "target": 40 | |
| } | |
| }, | |
| "stack": "sidekiq", | |
| "strategy": "", | |
| "targetSize": 2, | |
| "terminationGracePeriodSeconds": 30, | |
| "useSourceCapacity": false, | |
| "volumeSources": [] | |
| } | |
| ], | |
| "name": "Deploy", | |
| "type": "deploy" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment