Skip to content

Instantly share code, notes, and snippets.

@pweil-
Created August 18, 2016 15:27
Show Gist options
  • Save pweil-/6b4bdb28d9a11ea9552465d668ea91df to your computer and use it in GitHub Desktop.
Save pweil-/6b4bdb28d9a11ea9552465d668ea91df to your computer and use it in GitHub Desktop.
Eclipse Che
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"metadata": {
"name": "che",
"namespace": "test",
"selfLink": "/oapi/v1/namespaces/test/deploymentconfigs/che",
"uid": "e3f4a486-6555-11e6-a815-54ee752009cb",
"resourceVersion": "549",
"generation": 1,
"creationTimestamp": "2016-08-18T15:10:25Z",
"labels": {
"run": "che"
}
},
"spec": {
"strategy": {
"type": "Rolling",
"rollingParams": {
"updatePeriodSeconds": 1,
"intervalSeconds": 1,
"timeoutSeconds": 600,
"maxUnavailable": "25%",
"maxSurge": "25%"
},
"resources": {}
},
"triggers": [
{
"type": "ConfigChange"
}
],
"replicas": 1,
"test": false,
"selector": {
"run": "che"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"run": "che"
}
},
"spec": {
"containers": [
{
"name": "che",
"image": "codenvy/che:4.5.1",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"volumeMounts": [
{
"name": "docker-socket",
"mountPath": "/var/run/docker.sock",
"readOnly": false
}
]
}
],
"restartPolicy": "Always",
"terminationGracePeriodSeconds": 30,
"dnsPolicy": "ClusterFirst",
"securityContext": {},
"volumes": [
{
"name": "docker-socket",
"hostPath": {
"path": "/var/run/docker.sock"
}
}
]
}
}
},
"status": {
"latestVersion": 1,
"observedGeneration": 1,
"replicas": 1,
"updatedReplicas": 1,
"unavailableReplicas": 1,
"details": {
"message": "caused by a config change",
"causes": [
{
"type": "ConfigChange"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment