Created
September 18, 2016 19:47
-
-
Save mjudeikis/dd8fe96bb93fed7e673b47f0b9d8c320 to your computer and use it in GitHub Desktop.
go-test-deployment
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
{ | |
"kind":"List", | |
"apiVersion":"v1", | |
"metadata":{ | |
}, | |
"items":[ | |
{ | |
"kind":"DeploymentConfig", | |
"apiVersion":"v1", | |
"metadata":{ | |
"name":"gotest", | |
"creationTimestamp":null | |
}, | |
"spec":{ | |
"strategy":{ | |
"type":"Rolling", | |
"rollingParams":{ | |
"updatePeriodSeconds":1, | |
"intervalSeconds":1, | |
"timeoutSeconds":120 | |
}, | |
"resources":{ | |
} | |
}, | |
"replicas":1, | |
"selector":{ | |
"name":"gotest" | |
}, | |
"template":{ | |
"metadata":{ | |
"creationTimestamp":null, | |
"labels":{ | |
"name":"gotest" | |
} | |
}, | |
"spec":{ | |
"containers":[ | |
{ | |
"name":"gotest", | |
"image":"gotest:latest", | |
"ports":[ | |
{ | |
"containerPort":8080, | |
"protocol":"TCP" | |
} | |
], | |
"resources":{ | |
}, | |
"terminationMessagePath":"/dev/termination-log", | |
"imagePullPolicy":"IfNotPresent", | |
"securityContext":{ | |
"capabilities":{ | |
}, | |
"privileged":false | |
} | |
} | |
], | |
"restartPolicy":"Always", | |
"dnsPolicy":"ClusterFirst" | |
} | |
} | |
}, | |
"status":{ | |
} | |
}, | |
{ | |
"kind":"ImageStream", | |
"apiVersion":"v1", | |
"metadata":{ | |
"name":"gotest", | |
"creationTimestamp":null, | |
"annotations":{ | |
"openshift.io/image.insecureRepository":"true" | |
} | |
}, | |
"spec":{ | |
"tags":[ | |
{ | |
"name":"v0.1", | |
"annotations":{ | |
"description":"Provides a Jenkins server", | |
"iconClass":"icon-jenkins", | |
"tags":"jenkins" | |
}, | |
"from":{ | |
"kind":"DockerImage", | |
"name":"/mangirdas/test-go-app:v0.2" | |
}, | |
"importPolicy":{ | |
"insecure":true | |
} | |
}, | |
{ | |
"name":"latest", | |
"from":{ | |
"kind":"ImageStreamTag", | |
"name":"v0.1" | |
}, | |
"importPolicy":{ | |
"insecure":true | |
} | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment