Skip to content

Instantly share code, notes, and snippets.

@sandromello
Created August 24, 2016 12:03
Show Gist options
  • Save sandromello/a1fff93324ac2d319e27c7e6b730f375 to your computer and use it in GitHub Desktop.
Save sandromello/a1fff93324ac2d319e27c7e6b730f375 to your computer and use it in GitHub Desktop.
Minio Server Pod
{
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
"name": "minio",
"labels": {
"app": "minio"
}
},
"spec": {
"replicas": 1,
"selector": {
"app": "minio"
},
"template": {
"metadata": {
"labels": {
"app": "minio"
}
},
"spec": {
"volumes": [
{
"name": "objectstorage-keyfile",
"secret": {
"secretName": "objectstorage-keyfile"
}
}
],
"containers": [
{
"name": "minio",
"image": "quay.io/deis/minio:v2.2.0",
"command": [
"boot"
],
"args": [
"server /home/minio/"
],
"ports": [
{
"containerPort": 8082,
"protocol": "TCP"
}
],
"volumeMounts": [
{
"name": "objectstorage-keyfile",
"readOnly": true,
"mountPath": "/var/run/secrets/deis/minio/user"
}
],
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent"
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment