Created
October 11, 2017 20:05
-
-
Save wabouhamad/6fe8c99a2cfe94c89dc1cb8ab85ff5ce to your computer and use it in GitHub Desktop.
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": "Pod", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "hello-openshift", | |
"creationTimestamp": null, | |
"labels": { | |
"name": "hello-openshift" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"name": "hello-openshift", | |
"image": "openshift/hello-openshift:v1.0.6", | |
"ports": [ | |
{ | |
"containerPort": 8080, | |
"protocol": "TCP" | |
} | |
], | |
"resources": { | |
"requests": { | |
"cpu" : "5m", | |
"memory": "25Mi" | |
}, | |
"limits": { | |
"cpu" : "5m", | |
"memory": "25Mi" | |
} | |
}, | |
"livenessProbe": { | |
"failureThreshold": 3, | |
"httpGet": { | |
"httpHeaders": [ | |
{ | |
"name": "X-Custom-Header", | |
"value": "Awesome" | |
} | |
], | |
"path": "/index.html", | |
"port": 8080, | |
"scheme": "HTTP" | |
}, | |
"initialDelaySeconds": 3, | |
"periodSeconds": 3, | |
"successThreshold": 1, | |
"timeoutSeconds": 1 | |
}, | |
"readinessProbe": { | |
"failureThreshold": 3, | |
"httpGet": { | |
"httpHeaders": [ | |
{ | |
"name": "X-Custom-Header", | |
"value": "Awesome" | |
} | |
], | |
"path": "/index.html", | |
"port": 8080, | |
"scheme": "HTTP" | |
}, | |
"initialDelaySeconds": 3, | |
"periodSeconds": 3, | |
"successThreshold": 1, | |
"timeoutSeconds": 1 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"imagePullPolicy": "IfNotPresent", | |
"capabilities": {}, | |
"securityContext": { | |
"capabilities": {}, | |
"privileged": false | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccount": "" | |
}, | |
"status": {} | |
} | |
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": "v1", | |
"kind": "ResourceQuota", | |
"metadata": { | |
"name": "quota" | |
}, | |
"spec": { | |
"hard": { | |
"memory": "1200Gi", | |
"cpu": "600", | |
"pods": "11000", | |
"services": "5", | |
"replicationcontrollers":"5", | |
"resourcequotas":"1" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment