I am evaluating openshift origin for our deployment and as i am starting my questions might be too basic or obvious but i couldnt find anything on google.
We want to install Origin on one server initially and after 3 to 4 months will add second server and after again 3 months will add third.
This is part of bigger deployment so we have to follow this way.
So can we do deployment in this way and deploying initially on one server would hamper any services??
Do i suppose to start with ALL in One Server as mentioned in below URL? and do it extendable as i require??
https://docs.openshift.org/latest/getting_started/administrators.html
Edit1:
Openshift 3.10 (OKD) on CentOS with glusterfs
I changed my inventory file like below
openshift_storage_glusterfs_is_native=false
openshift_storage_glusterfs_storageclass=true
openshift_storage_glusterfs_heketi_is_native=true
openshift_storage_glusterfs_heketi_executor=ssh
openshift_storage_glusterfs_heketi_ssh_port=22
openshift_storage_glusterfs_heketi_ssh_user=root
openshift_storage_glusterfs_heketi_ssh_sudo=false
openshift_storage_glusterfs_heketi_ssh_keyfile="/root/.ssh/id_rsa"
Following error while installing one node glusterfs. I have 80GB disk and before starting installation i run wipefs -a
TASK [openshift_storage_glusterfs : Create heketi DB volume] ************************************************************
fatal: [MY001.local]: FAILED! =>
{
"changed":true,
"cmd":[
"oc",
"--config=/tmp/openshift-glusterfs-ansible-PuHRNV/admin.kubeconfig",
"rsh",
"--namespace=glusterfs",
"deploy-heketi-storage-1-dhbfv",
"heketi-cli",
"-s",
"http://localhost:8080",
"--user",
"admin",
"--secret",
"BwyRN5bSXW+OnUe1ulU3rVtwt0ISOXRqamO1rw2VVms=",
"setup-openshift-heketi-storage",
"--image",
"docker.io/heketi/heketi:latest",
"--listfile",
"/tmp/heketi-storage.json"
],
"delta":"0:00:00.429962",
"end":"2018-09-27 19:27:05.455025",
"msg":"non-zero return code",
"rc":255,
"start":"2018-09-27 19:27:05.025063",
"stderr":"Error: Failed to allocate new volume: No space\ncommand terminated with exit code 255",
"stderr_lines":[
"Error: Failed to allocate new volume: No space",
"command terminated with exit code 255"
],
"stdout":"",
"stdout_lines":[
]
}
While searching i found that this issue is due to one node and this behaviour can be override with below command, But how we can override this in openshift ansible script?
heketi-cli volume create --durability=none --size=1